GitHub user tisonkun added a comment to the discussion: Why don't 
org.apache.pulsar.client.api.Producer and org.apache.pulsar.client.api.Consumer 
provide an isClose method?

> I have to add another wrapper for TypedMessageBuilder, which is too 
> troublesome.

You mean you'd like to know if the producer is closed in the message build 
context? If so, maybe a demo repo can help. It more likes an application design 
issue.

GitHub link: 
https://github.com/apache/pulsar/discussions/20510#discussioncomment-6121145

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to