Open guizmaii opened 2 years ago
is it because of this synchronized
:
?? 🤔
@guizmaii What shall we do with this one year old issue?
@svroonland I'm still waiting for an answer/to understand why we need this and if we should keep these usages of blocking I'd prefer to leave it open if that's ok for you
I suppose it was originally written that way as a precaution and probably after some actual experience of blocking in some circumstances.
AFAIK, and seeing that the Kafka AdminClient is using Java Futures (
KafkaFuture
implementingjava.util.concurrent.Future
and being based onCompletionStage
since Kafka 3.1 or 3.2), why are all the calls made with this client wrapped in aeffectBlocking
?Random example took from the code of zio-kafka: