-
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
Reading position manipulation #135
Comments
actually the replay feature only works with a "timestamp". The main reason is that rolling back to a specific messageId would be impossible to do on a partitioned topic. |
The application may provide messageIds for each partition, but timestamp already meets most of the replay cases in application, :-) |
apache#135) * First cut of Python Instance that just parses the arguments and starts a server to process incoming requests * Add license header
@merlimat @DongbinNie |
Closing due to lack of activity. Feel free to reopen. |
…imes (apache#137) Fix IllegalArgumentException for KafkaConsumer#offsetsForTimes under kafka versions of 2.1.0 , 2.2.0 and 2.3.0
Reading position manipulation, that the reading position can be adjusted backward or forward.
[Andrew]
You can skip and rewind via the admin client.
[merlimat]
In general we've tried to stay away from that because it clashes a bit with pub/sub model. What would be the use case for these manipulations? And what the interactions would look like?
[DongbinNie]
There's various circumstance needing to replay the messages, such as re-building the search indexes on restarting.
I didn't noticed it can be skipped and rewinded via the admin client, com.yahoo.pulsar.client.admin.PersistentTopics.resetCursor(String, String, long), maybe We can also reset the cursor based on message id.
The text was updated successfully, but these errors were encountered: