These are my blogs
and also my life

13. Difference between `yyyy` and `YYYY` Java date pattern. What is week-based-year?
2022-01-09 java
No matter what application you are working on, it probably somewhere formats dates as String. If you not sure what is the difference between yyyy and ... Read More
12. Plain Kafka Consumer in Play Framework
2021-12-26 kafka play scala
Introduction I will describe how to use plain Kafka Consumer in Play Framework (Kafka Producer is out of the scope of this post). Please, be aware you ... Read More
11. How to model many possible business results?
2021-11-21 java clean-code pattern-matching
Introduction Method call often returns some result. For example let’s assume we have method which creates new object: Payment. Now imagine ... Read More
10. From Scala to Java. Encapsulate code with inner static classes, interfaces and enums.
2021-11-06 scala java clean-code
Using two languages causes you try to apply some concepts from one language to the other. Scala developers often say they started to commonly use ... Read More
9. Akka Cluster Sharding - case study
2021-10-17 linkshortener scala akka
Introduction In the previous posts I described concept of linkshortener service, how to implement it with Akka Persistence and how to prepare view ... Read More
8. Akka Projection - case study
2021-09-27 linkshortener scala akka
Motivation In the one of the previous posts I described how to use akka persistence on the example of linkshortener service. It explains how ... Read More
7. Docker multi-stage build
2021-09-19 linkshortener docker
Docker multi-state build allows you to use two (or more) FROM statements in single Dockerfile. Each FROM starts new build stage. The main feature is ... Read More
6. Akka persistence - case study
2021-09-04 linkshortener scala akka
Introduction In the previous post I described linkshortener service concept. This time I am describing how to implement it using akka-persistence. We ... Read More
5. Short tour around akka Effect and EventSourcedBehaviorTestKit
2021-08-22 scala akka test
Motivation On the last time I gave a chance to EventSourcedBehaviorTestKit to test my application. Unexpectedly one of my test failed with timeout ... Read More
4. Linkshortener with akka #1 - concept
2021-07-31 linkshortener concept networking api
Motivation All links I have added to tweets are quite long. It would be nice to short them a little. Moreover, Linkshortener is great service to keep ... Read More