congbobo184 opened a new pull request, #16519:
URL: https://github.com/apache/pulsar/pull/16519
### Motivation
In the actual scenario, because the transaction will timeout, the
transaction cannot block sending messages all the time. So we send messages
with txn need to throw TimeoutException
### Modifications
send messages with txn don't need set producer config `.sendTimeout(0,
TimeUnit.SECONDS)`
### Verifying this change
add send messages with txn throw TimeoutException test
### Does this pull request potentially affect one of the following parts:
*If `yes` was chosen, please highlight the changes*
- Dependencies (does it add or upgrade a dependency): (no)
- The public API: (no)
- The schema: (no)
- The default values of configurations: (no)
- The wire protocol: (no)
- The rest endpoints: (no)
- The admin cli options: (no)
- Anything that affects deployment: (no)
### Documentation
- Does this pull request introduces a new feature? (yes)
- If yes, how is the feature documented? (not applicable / docs / JavaDocs
/ not documented)
- If a feature is not applicable for documentation, explain why?
- If a feature is not documented yet in this PR, please create a follow-up
issue for adding the documentation
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]