diff --git a/docs/src/main/asciidoc/overview.adoc b/docs/src/main/asciidoc/overview.adoc index fc4217f07..541193c02 100644 --- a/docs/src/main/asciidoc/overview.adoc +++ b/docs/src/main/asciidoc/overview.adoc @@ -218,7 +218,7 @@ Note that this property is only applicable for pollable consumers. Default: not set. resetOffsets:: Whether to reset offsets on the consumer to the value provided by startOffset. -Must be false if a `KafkaRebalanceListener` is provided; see <>. +Must be false if a `KafkaBindingRebalanceListener` is provided; see <>. See <> for more information about this property. + Default: `false`. @@ -805,10 +805,10 @@ public void in(@Header(KafkaHeaders.RECEIVED_MESSAGE_KEY) byte[] key, ==== [[rebalance-listener]] -=== Using a KafkaRebalanceListener +=== Using a KafkaBindingRebalanceListener Applications may wish to seek topics/partitions to arbitrary offsets when the partitions are initially assigned, or perform other operations on the consumer. -Starting with version 2.1, if you provide a single `KafkaRebalanceListener` bean in the application context, it will be wired into all Kafka consumer bindings. +Starting with version 2.1, if you provide a single `KafkaBindingRebalanceListener` bean in the application context, it will be wired into all Kafka consumer bindings. ==== [source, java]