Open baigang666 opened 1 year ago
This seems a python client issue to improve the exception hierarchy. But @baigang666 please provide a complete sample and describe in details what you expect - let maintainers guess what you mean will delay the issue to be handled or resolved.
Could you explain what's the BaseException
? Currently all exception classes derive from _pulsar.PulsarException
.
Search before asking
Version
3.1.0
Minimal reproduce step
def callback(self,res): self.logger.info(f"Message published,data={res}") producer = self.client.create_producer(topic, compression_type=pulsar.CompressionType.LZ4 ) producer.send_async(send_message, self.callback(one_data))
What did you expect to see?
mmm
What did you see instead?
mmmm
Anything else?
No response
Are you willing to submit a PR?