Skip to content

Commit

Permalink
Add more detailed conf description for producer queue related
Browse files Browse the repository at this point in the history
  • Loading branch information
Crazyokd committed Nov 20, 2024
1 parent 122678e commit e8f9ebd
Showing 1 changed file with 3 additions and 1 deletion.
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

0 comments on commit e8f9ebd

Please sign in to comment.