Anton Arsentyev
Anton Arsentyev

Reputation: 371

Spring Kafka error handling - v1.1.x

How to deal with error handling in version 1.1.x?

As I see it was introduced in version 2.0...

Upvotes: 6

Views: 6335

Answers (1)

Gary Russell
Gary Russell

Reputation: 174494

In 1.x you can add an ErrorHandler implementation to the listener container (or container factory if you are using @KafkaListener annotations).

The 2.0 feature was added to make it easier to configure if you want a different error handler for each listener when using annotations.

Upvotes: 7

Related Questions