Skip to content

[Suggestion] Stream - reset offset auto tracking for consumer #14124

Answered by acogoluegnes
unbearables asked this question in Ideas
Discussion options

You must be logged in to vote

Would you mind experimenting with the Client#storeOffset(String, String, long) and Client#queryOffset(String, String) methods?

You need to create a Client instance along the Environment, but that should be OK for development. You can then store offset 0 for the consumer (same stream and reference/name), make sure it has been written (by polling with queryOffset) and then start the consumer. We could then discuss a proper API if the experiment addresses your use case.

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
3 replies
@acogoluegnes
Comment options

@unbearables
Comment options

@acogoluegnes
Comment options

Answer selected by unbearables
Comment options

You must be logged in to vote
2 replies
@acogoluegnes
Comment options

@acogoluegnes
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
2 participants