Chapter 2
Environment Setup on Window 10 Machine
Section 2
Creating Your First Kafka Streams Project – Windows.
We have already learnt to set up and install Kafka cluster for Windows system. Now it is time to create our first Kafka application and run it at least once to see if everything works perfectly.
We will start with a simple stream listener. The listener is a Kafka message consumer who will listen to a Kafka topic, read all incoming messages, and log it.
In this session, we are going to focus on the high-level structure. Kafka and Spring are highly configurable systems so every application will have a configuration file. The application’s configurations are defined in a hierarchy. The first hierarchy starts with the Spring Cloud stream configuration. Every Spring Cloud stream configuration comes under this level. We are going to define two configurations; the first one is known as input/output channels binding and the second one is known as the binder.