Skip to content

clarification on max_buffer_size vs max_queue_size #873

Answered by dasch
xiankaing asked this question in Q&A
Discussion options

You must be logged in to vote

The async producer in fact wraps a sync producer, so when producing async a message will first be placed in the queue (which is thread safe), then be picked up by a background thread and placed in the sync producer's buffer, and then flushed to Kafka at some point.

Replies: 1 comment

Comment options

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

This discussion was converted from issue #873 on December 30, 2020 15:15.