eolivelli commented on issue #12508:
URL: https://github.com/apache/pulsar/issues/12508#issuecomment-955665798


   > Another solution could be for the future returned by 
`reader.readNextAsync()` to always get triggered in a different thread, so that 
we don't block the IO thread.
   
   @merlimat this will work but is it only a workaround for my case. 
   When I have time I will send a patch, at least to unlock this case.
   
   But we should this to some longer term solutions because in theory we should 
not make any blocking call in getValue(), because reactive/non blocking 
frameworks may observe this unpredictable behaviour 


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to