Skip to content

Does batching actually work? #255

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

You must be logged in to vote

Hi @MarkCWirt ! So it kind of depends on a few quirks of Kafka Connect:

  • Properties are defined differently in a few different places, so even though max.poll.records is a property, it might be set as CONNECT_CONSUMER_MAX_POLL_RECORDS (like in my docker compose file) or consumer.override.max.poll.records (like on Confluent). This also applies to fetch.min.bytes as you can imagine.
  • There's another property called fetch.max.wait.ms that can govern when polling happens, so I would make sure you're setting this as well.

The connector itself doesn't do batching/caching beyond the built-in Connect mechanisms, and those properties are what controls it. (A fuller listing could be found here)

Hop…

Replies: 2 comments 1 reply

Comment options

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

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

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