3 #include <kafka/Project.h>
5 #include <kafka/ClientConfig.h>
8 namespace KAFKA_API {
namespace clients {
namespace producer {
31 static const constexpr
char*
ACKS =
"acks";
49 static const constexpr
char*
LINGER_MS =
"linger.ms";
Configuration for Kafka clients.
Definition: ClientConfig.h:14
Configuration for the Kafka Producer.
Definition: ProducerConfig.h:14
static constexpr const char * LINGER_MS
Delay in milliseconds to wait for messages in the producer queue, to accumulate before constructing m...
Definition: ProducerConfig.h:49
static constexpr const char * PARTITIONER
The default partitioner for a ProducerRecord (with no partition assigned).
Definition: ProducerConfig.h:97
static constexpr const char * REQUEST_TIMEOUT_MS
This value is only enforced by the brokers and relies on ACKS being non-zero.
Definition: ProducerConfig.h:82
static constexpr const char * TRANSACTIONAL_ID
It's used to identify the same transactional producer instance across process restarts.
Definition: ProducerConfig.h:114
static constexpr const char * MAX_IN_FLIGHT
Maximum number of in-flight requests per broker connection.
Definition: ProducerConfig.h:103
static constexpr const char * ENABLE_IDEMPOTENCE
When set to true, the producer will ensure that messages are succefully sent exactly once and in the ...
Definition: ProducerConfig.h:109
static constexpr const char * BATCH_NUM_MESSAGES
Maximum number of messages batched in one messageSet.
Definition: ProducerConfig.h:55
static constexpr const char * ACKS
The acks parameter controls how many partition replicas must receive the record before the producer c...
Definition: ProducerConfig.h:31
static constexpr const char * MESSAGE_TIMEOUT_MS
This value is enforced locally and limits the time a produced message waits for successful delivery.
Definition: ProducerConfig.h:75
static constexpr const char * MESSAGE_MAX_BYTES
Maximum Kafka protocol request message size.
Definition: ProducerConfig.h:68
static constexpr const char * TRANSACTION_TIMEOUT_MS
Th maximus amount of time in milliseconds that the transaction coordinator will wait for a trnsaction...
Definition: ProducerConfig.h:120
static constexpr const char * QUEUE_BUFFERING_MAX_MESSAGES
Maximum number of messages allowed on the producer queue.
Definition: ProducerConfig.h:37
static constexpr const char * BATCH_SIZE
Maximum size (in bytes) of all messages batched in one MessageSet (including protocol framing overhea...
Definition: ProducerConfig.h:61
static constexpr const char * QUEUE_BUFFERING_MAX_KBYTES
Maximum total message size sum allowed on the producer queue.
Definition: ProducerConfig.h:43