-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[java-client] Add support for key hash range reading. #5928
Conversation
run java8 tests |
run cpp tests |
rerun java8 tests |
1 similar comment
rerun java8 tests |
run java8 tests |
run java8 tests |
2 similar comments
run java8 tests |
run java8 tests |
rerun java8 tests |
2 similar comments
rerun java8 tests |
rerun java8 tests |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
6c2851c
to
5608be9
Compare
retest this please |
1 similar comment
retest this please |
5608be9
to
8d297ed
Compare
run java8 tests |
run integration tests |
### Motivation Add support for sticky key hash range reader. Broker will only dispatch messages which hash of the message key contains by the specified key hash range. Multiple key hash ranges can be specified on a reader by following example: ```java pulsarClient.newReader() .topic(topic) .startMessageId(MessageId.earliest) .keyHashRange(Range.of(0, 10000), Range.of(20001, 30000)) .create(); ```
Master Issue: #4077
Motivation
Add support for sticky key hash range reader. Broker will only dispatch messages which hash of the message key contains by the specified key hash range.
Multiple key hash ranges can be specified on a reader by following example:
Verifying this change
New unit tests was added for cover this change
Does this pull request potentially affect one of the following parts:
If
yes
was chosen, please highlight the changesDocumentation