What I Learned in Week-14, 2020

What I Learned in Week-14, 2020

It’s been tough time for everyone due to the Corona virus situation. Staying at home for weeks and weeks is not easy, but it is very necessary thing to do so that we don’t spread the virus.

However, if I look on the bright side I used to spend minimum 3 hours for office commute everyday. Now I am using that time for various other activities including learning some new things.

Imposing Code Structure Guidelines using ArchUnit

Imposing Code Structure Guidelines using ArchUnit

While building the software, we all agree, as a team, to follow a set of guidelines which are typically considered as best practices. But during the development, developers might violate those guidelines unknowingly or ignorance. Typically, we rely upon code reviews or code quality checking tools like SonarQube, PMD, etc. to check for such violations. But some of the guidelines could be opinionated decisions which might not be able to automate using SonarQube, PMD etc.

What I Learned in Week-11, 2020

What I Learned in Week-11, 2020

I come across many blog posts from various sources like Twitter, StackOverflow, etc., and some of them are very helpful. Also, in day-to-day work I learn a few new things, explore some new tools. Usually I keep track of this information using Browser Bookmarks and Pocket.

I thought maybe this information could be useful for others too. So, I am going to share it weekly on my blog.

Kafka Tutorial - Java Producer and Consumer

Kafka Tutorial - Java Producer and Consumer

Kafka, depending on how you use it, can be seen as a Message Broker, Event Store, or a Streaming Platform, etc. Kafka became a preferred technology for many modern applications because of various reasons, like:

  • Kafka can be used as an Event Store if you are using an event-driven microservices architecture.
  • Kafka can be used as a Message Broker to enable communication across multiple applications.
  • Kafka can be used as a streaming platform for processing events in real-time. etc. etc.

SpringBoot Best Practices

SpringBoot Best Practices

I have been working with SpringBoot for many years, and over time, I have worked with many Spring Boot-based codebases. There are a few common mistakes that I observe in projects that use Spring Boot. So, I thought of writing down a few good practices that can be followed while using Spring Boot.