tongsucn opened a new pull request, #129:
URL: https://github.com/apache/pulsar-client-cpp/pull/129
Master Issue: apache/pulsar#7096
### Motivation
C++ client's `BinaryProtoLookupService` does not limit the times of client's
lookup redirection. It may result in broker overloading as described in
apache/pulsar#7096.
### Modifications
1. Added max. look redirection limit in
`BinaryProtoLookupService::findBroker`.
2. Added configuration to control max times of lookup redirection in both
`BinaryProtoLookupService` and `HTTPLookupService`.
3. Added configuration to control initial- and max-backoff interval in both
`ProducerImpl` and `ConsumerImpl`.
### Verifying this change
- [ ] Make sure that the change passes the CI checks.
### Test cases are on the way
This change added tests and can be verified as follows:
*(example:)*
- *Added integration tests for end-to-end deployment with large payloads
(10MB)*
- *Extended integration test for recovery after broker failure*
### Documentation
- [ ] `doc-required`
- [ ] `doc-not-needed`
- [ ] `doc`
- [x] `doc-complete`
--
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]