lhotari commented on issue #212:
URL: 
https://github.com/apache/pulsar-client-reactive/issues/212#issuecomment-2891346322

   > It works better (I mean it fails less often), but it still fails sometimes.
   
   @vroyer In your test code you have `pipeline.untilConsumingStarted()` alone. 
You would have to change that to `pipeline.untilConsumingStarted().block()` to 
fix your test case. 
   A similar change should be performed for stopping, 
`pipeline.untilConsumingStopped().block()`.
   
   > Why don't you use a pulsar ConsumerEventListener to catch when the 
consumer becomes effectively active/inactive ?
   
   There shouldn't be a need to use ConsumerEventListener in this case.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to