12 Spring Kafka

 

This chapter covers

  • Learning about Spring and when to use it with Kafka
  • Understanding dependency injection
  • Using Spring Kafka for building Kafka applications
  • Building Kafka Streams applications with Spring

In this chapter, you will learn about using another open source library, Spring, to build Kafka and Kafka Streams applications. But before we get into that, let’s give some quick background on what Spring is and why you’ll use it. Spring originates as an IoC (inversion of control) container developed initially by Rod Johnson.

The inversion of control principle means that the main program or application does not control where its dependencies are coming from. If you are familiar with Spring, you can skip this introduction and go directly to the next section, where we use Spring Kafka to build a Kafka producer and consumer application.

12.1 Introducing Spring

 
 
 

12.2 Using Spring to build Kafka-enabled applications

 
 

12.2.1 Spring Kafka application components

 
 
 
 

12.2.2 Enhanced application requirements

 

12.3 Spring Kafka Streams

 
 
 
 

Summary

 
 
 
sitemap

Unable to load book!

The book could not be loaded.

(try again in a couple of minutes)

manning.com homepage
test yourself with a liveTest