gaoran10 opened a new pull request #7552:
URL: https://github.com/apache/pulsar/pull/7552
Fix #2664
# Motivation
Currently, the transaction components are all independent, the relationship
between transaction client and transaction server needs to be established.
The target of this PR is making the Pulsar client could send transaction
messages to the Pulsar broker.
### Modifications
1. Make the Pulsar client could generate a new transaction and get the txnID.
2. Make the Pulsar client could send transaction messages to transaction
buffer.
3. Append a committing marker in transaction buffer.
4. Append a committed marker in the topic partition.
5. Append a committed marker int the transaction buffer.
### Verifying this change
- [ ] Make sure that the change passes the CI checks.
This change added tests
### 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: (yes)
- The schema: (no)
- The default values of configurations: (no)
- The wire protocol: (yes)
- The rest endpoints: (no)
- The admin cli options: (no)
- Anything that affects deployment: (don't know)
### Documentation
- Does this pull request introduce a new feature? (yes)
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]