You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Processing time of method handleReceivedRecord is less than 500ms. I understand this consumer is slow and needs to be fixed (because of concurrency).
However, in my test I produce just about 3000 records in 1 minute to the topic the above consumer is consuming from. Initially it consumes fine but after some time I see consumer is not consuming anymore. There is no error log or similar.
In the logs I see such messages:
Rebalance during back pressure, re-pausing new assignments
Rebalancing; waiting for 104 records in pipeline
and I have to restart consumer instance to fix this. It is also worth to mention that when I disable scaling up of consumers it works fine.
Expected Behavior
Consuming records from topic should not stop.
Actual Behavior
Consuming records from topic is stuck and restart is required.
Your Environment
Reactor Core: 3.5.10
Reactor Kafka: 1.3.18
JVM version (java -version): 21.0.2
The text was updated successfully, but these errors were encountered:
I am seeing similar behavior in 1.3.23. It seems to happen intermittently. I think this happens after a rebalance?
It looks like the partitions have been paused and never resumed. I added an endpoint that allows me to see paused partitions. When consumption stops I can see that the partitions are paused. If I use another endpoint to force them to resume the consumption starts again.
@abialas, can you reproduce consistently or is it an intermittent problem like I am seeing.
I have a simple but slow consumer which consumes 1 record at time:
Processing time of method
handleReceivedRecord
is less than 500ms. I understand this consumer is slow and needs to be fixed (because of concurrency).However, in my test I produce just about 3000 records in 1 minute to the topic the above consumer is consuming from. Initially it consumes fine but after some time I see consumer is not consuming anymore. There is no error log or similar.
In the logs I see such messages:
and I have to restart consumer instance to fix this. It is also worth to mention that when I disable scaling up of consumers it works fine.
Expected Behavior
Consuming records from topic should not stop.
Actual Behavior
Consuming records from topic is stuck and restart is required.
Your Environment
java -version
): 21.0.2The text was updated successfully, but these errors were encountered: