You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by "baigang666 (via GitHub)" <gi...@apache.org> on 2023/06/07 05:28:04 UTC
[GitHub] [pulsar-client-python] baigang666 opened a new issue, #132: exceptions must derive from BaseException
baigang666 opened a new issue, #132:
URL: https://github.com/apache/pulsar-client-python/issues/132
### Search before asking
- [X] I searched in the [issues](https://github.com/apache/pulsar/issues) and found nothing similar.
### 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?
- [X] I'm willing to submit a PR!
--
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-unsubscribe@pulsar.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [pulsar-client-python] BewareMyPower commented on issue #132: exceptions must derive from BaseException
Posted by "BewareMyPower (via GitHub)" <gi...@apache.org>.
BewareMyPower commented on issue #132:
URL: https://github.com/apache/pulsar-client-python/issues/132#issuecomment-1579964436
Could you explain what's the `BaseException`? Currently all exception classes derive from `_pulsar.PulsarException`.
--
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-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [pulsar-client-python] tisonkun commented on issue #132: exceptions must derive from BaseException
Posted by "tisonkun (via GitHub)" <gi...@apache.org>.
tisonkun commented on issue #132:
URL: https://github.com/apache/pulsar-client-python/issues/132#issuecomment-1579929431
This seems a python client issue to improve the exception hierarchy. But @baigang666 please previous 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.
--
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-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org