shibd opened a new pull request, #955:
URL: https://github.com/apache/pulsar-client-go/pull/955
Master Issue: #927
### Motivation
#927
### Modifications
- Added `channel_cond` class to enhance `sync.cond` to support wait that can
accept context.
- Added the `memory_limit_controller` class.
- Producer adds memory limit relate logic.
### Verifying this change
- Added `channel_cond_test` to cover `channel_cond`
- Added `memory_limit_controller_test` to cover `mem_mory_limit_controller`
- Added `TestMemLimitRejectProducerMessages` and `TestMemLimitContextCancel
` to cover producer relate logic.
### 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: (no)
### Documentation
- Does this pull request introduce a new feature? (yes)
- If yes, how is the feature documented? (GoDocs)
--
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]