So you want to have dependency injection in your new Java playground, but don’t want to mess with XML from Spring Context? In this article you’ll find out how! 😃

Photo by John Baker on Unsplash

A Sneak Peak of the End

After following this guide, you’ll have a simple Java application, with compile-time generated dependency injection capabilities, along with a few more nice features from Micronaut, like the Configuration Properties and the AOP.

If you just want to see the final result, here is the repository:

So, without further ado, let’s dive into the tutorial:

1. Generating the project

I’ll use Gradle as my build tool so we can take advantage of the new Micronaut…

Today I was looking for a quick and dirty Apache Kafka setup for local development. After Kafka was up and running, I wanted a simple admin interface to manage Kafka. So I thought I’d share it with everyone who needs to setup Kafka quickly to test something out and don’t want to spend a lot of time on setting everything up.

Talk is easy, show me the code!

Before we get started, check if your machine meets the following requirements:

So, where is it? I’m in a hurry!!

Here you are!

docker-compose.yml with Zookeeper, Kafka and Kafdrop

But, but, how do I use it?

Worry not my fellow developer, its…

Luis Gustavo

Java Developer during the day, JavaScript enthusiast during the night.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store