Skip to content

Kafka input - reset offset to beginning? #7714

Answered by agup006
Milan0x4d asked this question in Q&A
Discussion options

You must be logged in to vote

@Milan0x4d it looks like from rdkafka that the setting enabled still takes into account if an offset store is set. Potentially you can set the store to off and it wiill work as expected?

Action to take when there is no initial offset in offset store or the desired offset is out of range: 'smallest','earliest' - automatically reset the offset to the smallest offset, 'largest','latest' - automatically reset the offset to the largest offset, 'error' - trigger an error (ERR__AUTO_OFFSET_RESET) which is retrieved by consuming messages and checking 'message->err'.
Type: enum value

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

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

Answer selected by Milan0x4d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants