Repository navigation
feature #193: Pause/Resume ParallelConsumer - #198
Antony Stubbs (astubbs) merged 59 commits into
Conversation
You could add a test instance to the multi instance test class for that... |
|
Needs rebasing |
|
Thanks for the review. I incorporated all review comments. Only open points:
|
5be0137 to
84c7522
Compare
d3bd61d to
5320a25
Compare
3905c7c to
3dcb9d7
Compare
5320a25 to
9176a1f
Compare
cb0317d to
691eb19
Compare
PriorityQueue only provides a sorted `poll`, whereas TreeSet iterates in sorted order.
f8666a7 to
76c6fef
Compare
# Conflicts: # parallel-consumer-core/src/main/java/io/confluent/parallelconsumer/internal/AbstractParallelEoSStreamProcessor.java # parallel-consumer-core/src/main/java/io/confluent/parallelconsumer/state/PartitionState.java # parallel-consumer-core/src/test/resources/logback-test.xml
|
Apologies this took so long to get merged - timing of it's arrival with the big 0.5 refactors complicated matters. Glad it's in now! |
|
Heya Niels Oertel (@nioertel) , I just noticed we have the public pause and resume methods on the broker poller, but they don't appear to be called from anywhere? if we pause the controller - the poller will naturally pause itself when the buffers fill up. Did we make a mistake adding them in? I'm about to release 5.2.5, and had a note to audit the pausing and came across this. |
|
Hi Antony Stubbs (@astubbs), |
…cident (#522) Poller pausing happens naturally via back pressure if the controller is paused. See comment where removal was discussed, but some fragments were left in: #198 - #198 (comment)
This PR implements a pause/resume functionality for the ParallelConsumer (see #193)
Tasks: