You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixes#172
### Motivation
Add a new batch message container named `keyBasedBatchContainer` to support batching message in key_shared subscription mode.
### Modifications
- add `BatchBuilder` interface, add `FlushBatches` and `IsMultiBatches` func
- change old `BatchBuilder` struct to `batchContainer`
- add `keyBasedBatchContainer`
- add tests
### Verifying this change
This change added tests and can be verified as follows:
- *Added integration tests for key based batch producer with multiple consumer in KeyShared mode*
- *Added integration tests for message ordering with key based batch producer and KeyShared consumer*
Is your feature request related to a problem? Please describe.
If users want to enable batch in key_shared subscription type, we need to support
key based batcher
feature.Describe the solution you'd like
Support
key based batcher
in go client, reference to: apache/pulsar#4435The text was updated successfully, but these errors were encountered: