-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Milestone
Description
If individual partitions are paused (by @RetryableTopic or by users), they will be resumed by a rebalance.
While this is not really a problem for @RetryableTopic, because the partition will be automatically paused again, but it is a problem for user-paused partitions.
We already handle this case when the whole container is paused, we need something similar for paused partitions.
Lines 3272 to 3276 in 0278465
| if (ListenerConsumer.this.consumerPaused) { | |
| ListenerConsumer.this.consumer.pause(partitions); | |
| ListenerConsumer.this.logger.warn("Paused consumer resumed by Kafka due to rebalance; " | |
| + "consumer paused again, so the initial poll() will never return any records"); | |
| } |