You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2022/09/10 11:33:02 UTC
[GitHub] [pulsar-client-reactive] lhotari opened a new issue, #6: Design API for Reactive client exceptions and possible translation
lhotari opened a new issue, #6:
URL: https://github.com/apache/pulsar-client-reactive/issues/6
The current adapter implementation wraps the Java client and throws the errors what the Java client throws.
Since the goal is to design a stable API which could be implemented with a native Reactive client later, it is necessary to document and standardize on the error handling and exception model which could be used both in the current adapter approach and later with the native client.
--
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-reactive] lhotari commented on issue #6: Design API for Reactive client exceptions and possible translation
Posted by GitBox <gi...@apache.org>.
lhotari commented on issue #6:
URL: https://github.com/apache/pulsar-client-reactive/issues/6#issuecomment-1346397819
#22 adds CorrelatedMessageSendingException which can be used to determine which input message spec didn't get sent. It's necessary to use sendManyCorrelated to pass a custom correlation key.
--
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-reactive] cbornet commented on issue #6: Design API for Reactive client exceptions and possible translation
Posted by "cbornet (via GitHub)" <gi...@apache.org>.
cbornet commented on issue #6:
URL: https://github.com/apache/pulsar-client-reactive/issues/6#issuecomment-1408470040
Discussed with @lhotari : we already depend on `pulsar-client-api` for a variety of classes (Message, MessageId, ...). So we can probably reuse the PulsarException classes, even when we'll do the native client.
#118 adds tests to verify that the exceptions generated by the driver are propagated without translation (except for ReactiveMessageSender::sendMany which wraps it into ReactiveMessageSendingException but that's documented).
--
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