Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add more detailed conf description for producer queue related #242

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion include/kafka/ProducerConfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,14 @@ class ProducerConfig: public Config

/**
* Maximum number of messages allowed on the producer queue.
* This queue is shared by all topics and partitions. A value of 0 disables this limit.
* Default value: 100000
*/
static const constexpr char* QUEUE_BUFFERING_MAX_MESSAGES = "queue.buffering.max.messages";

/**
* Maximum total message size sum allowed on the producer queue.
* This queue is shared by all topics and partitions. This property has higher priority than queue.buffering.max.messages.
* Default value: 0x100000 (1GB)
*/
static const constexpr char* QUEUE_BUFFERING_MAX_KBYTES = "queue.buffering.max.kbytes";
Expand Down Expand Up @@ -114,7 +116,7 @@ class ProducerConfig: public Config
static const constexpr char* TRANSACTIONAL_ID = "transactional.id";

/**
* Th maximus amount of time in milliseconds that the transaction coordinator will wait for a trnsaction status update from the producer before proactively ablrting the ongoing transaction.
* Th maximus amount of time in milliseconds that the transaction coordinator will wait for a trnsaction status update from the producer before proactively aborting the ongoing transaction.
* Default value: 60000
*/
static const constexpr char* TRANSACTION_TIMEOUT_MS = "transaction.timeout.ms";
Expand Down