Skip to content

Issue : fetch.max.wait.ms setting of kafka connect not working as expected with CH sink connector #400

Closed Answered by Paultagoras
rapsvenkat asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @rapsvenkat!

So fetch.max.wait.ms works in conjunction with fetch.min.bytes

Kafka Connect will keep waiting for the minimum bytes you specify (fetch.min.bytes) until the timeout is reached (fetch.max.wait.ms) - if you wanted it to be a more regular cadence, you could try setting fetch.min.bytes to some comically high value (then it would always trigger via timeout)

If you ONLY set fetch.min.bytes it would still trigger every 500ms (the default value of fetch.max.wait.ms), and if you ONLY set fetch.max.wait.ms it would trigger as soon as data shows up (the default value of fetch.min.bytes is 1 byte).

This is all out-of-the-box functionality of Kafka Connect, so we don't have special set…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Paultagoras
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