lawal
lawal

Reputation: 992

spring-integration-kafka annotation support & example

Although new to spring, I'm usually able to get started with a spring projects fairly well with annotations only. The official examples uses xml without mentioning where they will be placed etc.

Is there any sample project on reading from a kafka topic? Preferably by using annotation to set the zk & kafka configuration properties.

Upvotes: 2

Views: 4831

Answers (1)

Artem Bilan
Artem Bilan

Reputation: 121560

Please, take a look to the Spring Integration Java DSL project and here is a KafkaTests to demonstrate how to be for your case.

Plus here you are Josh Long's article: https://spring.io/blog/2015/04/15/using-apache-kafka-for-integration-and-data-processing-pipelines-with-spring

Upvotes: 2

Related Questions