Apache Kafka + Spring Cloud Task

Recently I was working on a piece of the project which required to perform a batch job, run application 1 time and once it successfully completed – terminate it. Spring Cloud Task fits perfect for this kind of requirement. Our usual stack of technologies is Spring Cloud Stream/Task and Apache Kafka. In my earlier posts, I showed you an example how to use Spring Cloud Stream + Apache Kafka. However, I never used Spring Cloud Task, so I start browsing for examples and… I found nothing. There is no example of Spring Cloud Task with Apache Kafka. At least I couldn’t find. So I dig into that and come up with a solution.
Continue reading “Apache Kafka + Spring Cloud Task”

Kafka CLI – Maximize

I was lucky to use Landoop Lenses for a few weeks on my current project. This is a user-friendly Kafka UI tool, comes with a ton of functionality. I was able to inspect and query topic messages, delete and create topics, check the status of consumer groups, look at Avro schema, quickly count messages in the topic, etc. Everything was a few clicks away. Well, this happy story ends here, sadly it was decommissioned recently.
Continue reading “Kafka CLI – Maximize”

Java Date few tips

One of the interesting challenges software developer experiences in his daily work life is – Time. Whenever it is related to project deadlines, benchmarking your application or Time in the application itself. In this post I will share with you few tips working with Date class in Java applications, specifically it’s limitations.
Continue reading “Java Date few tips”