Spring for Apache Kafka


Gary Russell , Artem Bilan


Copies of this document may be made for your own use and for distribution to others, provided that you do not charge any fee for such copies and further provided that each copy contains this Copyright Notice, whether distributed in print or electronically.

Table of Contents

1. Preface
2. Introduction
2.1. Quick Tour for the impatient
2.1.1. Introduction
Very, Very Quick
With Java Configuration
3. Reference
3.1. Using Spring for Apache Kafka
3.1.1. Sending Messages
3.1.2. Receiving Messages
Message Listener Containers
@KafkaListener Annotation
Filtering Messages
Retrying Deliveries
3.1.3. Serialization/Deserialization and Message Conversion
Detecting Idle Asynchronous Consumers
3.2. Testing Applications
3.2.1. Introduction
3.2.2. JUnit
3.2.3. Hamcrest Matchers
3.2.4. AssertJ Conditions
3.2.5. Example
4. Spring Integration
4.1. Spring Integration Kafka
4.1.1. Introduction
4.1.2. Outbound Channel Adapter
4.1.3. Message Driven Channel Adapter:
5. Other Resources
A. Change History