Home > Software design >  How to create a spring boot application that uses Kafka producer and consumer with out auto wiring
How to create a spring boot application that uses Kafka producer and consumer with out auto wiring

Time:10-18

Can anyone help me how to create a library for Kafka messaging which is used by many other services

CodePudding user response:

The Spring Kafka documentation already covers this, but the same instructions apply if your weren't to use SpringBoot at all - create your own Properties and provide them to Kafka client constructors...

Also, Boot wired properties can easily be re-used in other libraries.

CodePudding user response:

enter image description here

  • Related