Skip to content

Storing streams offsets using Consumer#store(long) is not working (silently) #78

Answered by acogoluegnes
aaltihami asked this question in Q&A
Discussion options

You must be logged in to vote

The following line is wrong:

context().consumer().store(OffsetSpecification.next().getOffset());

It should be:

context().consumer().store(context.offset());

Replies: 3 comments 8 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by acogoluegnes
Comment options

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

@aaltihami
Comment options

@acogoluegnes
Comment options

@acogoluegnes
Comment options

@aaltihami
Comment options

Comment options

You must be logged in to vote
1 reply
@aaltihami
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
invalid This doesn't seem right
2 participants
Converted from issue

This discussion was converted from issue #77 on March 07, 2022 14:52.