Skip to content

alexlod/kafka-headers-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

An example that shows how to work with headers in the producer, consumer, and Kafka Streams.

WARNING: this example is only meant to show how headers work. Lots of critical functionality is not included in these examples, for example shutdown hooks, error handling, etc.

How to run

  1. Open in IntelliJ
  2. Run HeaderProducer
  3. Run HeaderKafkaStreams
  4. Run HeaderConsumer

Observe the Log4j output and look at the code.

About

Kafka examples for using message headers.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages