Skip to content

Commit

Permalink
Fix Event Consumption ToC
Browse files Browse the repository at this point in the history
  • Loading branch information
garyrussell committed Feb 14, 2022
1 parent 7007c6b commit 93d6089
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spring-kafka-docs/src/main/asciidoc/kafka.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -2937,7 +2937,7 @@ Receiving such an event lets you stop the containers, thus waking the consumer s

Starting with version 2.6.2, if a container has published a `ListenerContainerIdleEvent`, it will publish a `ListenerContainerNoLongerIdleEvent` when a record is subsequently received.

====== Event Consumption
===== Event Consumption

You can capture these events by implementing `ApplicationListener` -- either a general listener or one narrowed to only receive this specific event.
You can also use `@EventListener`, introduced in Spring Framework 4.2.
Expand Down

0 comments on commit 93d6089

Please sign in to comment.