[improve] [replication] Replicate messages in batches to improve performance
Open
area/geo-replication
Stale
type/enhancement
- Dominant language
- Java
- Stars
- 15.3k
- Forks
- 3.8k
- Avg merge
- 1d 14h
- Merged PRs (30d)
- 160
Description
### Search before asking
- [X] I searched in the [issues](https://github.com/apache/pulsar/issues) and found nothing similar.
### Motivation
The replicator works like this:
- read messages with the cursor
- send messages to remote cluster one by one
### Solution
The replicator works like this:
- read messages with the cursor
- send messages in batches to improve performance( **Improve** )
### Alternatives
_No response_
### Anything else?
_No response_
### Are you willing to submit a PR?
- [ ] I'm willing to submit a PR!
Contributor guide
Assessment
This issue has not been assessed yet.