diff --git a/spring-integration-kafka/src/main/java/org/springframework/integration/kafka/inbound/KafkaMessageSource.java b/spring-integration-kafka/src/main/java/org/springframework/integration/kafka/inbound/KafkaMessageSource.java index 9a3da386bb..5f90e6adc3 100644 --- a/spring-integration-kafka/src/main/java/org/springframework/integration/kafka/inbound/KafkaMessageSource.java +++ b/spring-integration-kafka/src/main/java/org/springframework/integration/kafka/inbound/KafkaMessageSource.java @@ -70,6 +70,11 @@ import org.springframework.util.Assert; * from the subsequent offsets will be redelivered - even if they were * processed successfully. Applications should therefore implement * idempotency. + *
+ * Starting with version 2.2.5, this source implements {@link Pausable} which
+ * allows you to pause and resume the {@link Consumer}. While the consumer is
+ * paused, you must continue to call {@link #receive()} within
+ * {@code max.poll.interval.ms}, to prevent a rebalance.
*
* @param