-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Expose ReachedEndOfTopic in Reader/Consumer API #9381
Conversation
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.
Could you please add a test for the new API?
@codelipenghui Added unit test, please take another look. |
/pulsarbot run-failure-checks |
1 similar comment
/pulsarbot run-failure-checks |
@codelipenghui Can you review it again? |
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.
Looks good to me, just left a minor comment.
pulsar-websocket/src/main/java/org/apache/pulsar/websocket/ConsumerHandler.java
Outdated
Show resolved
Hide resolved
/pulsarbot run-failure-checks |
1 similar comment
/pulsarbot run-failure-checks |
/pulsarbot run-failure-checks |
Fixes #2687
Motivation
Expose ReachedEndOfTopic in Reader/Consumer API
Modifications
Add a request of type
isEndOfTopic
to check if consumer/reader has reached end of topic and send response based on result.Does this pull request potentially affect one of the following parts:
Documentation