Kafka properties
When you configure a Kafka cluster, you can define advanced connection properties.
The following table lists common connection properties for the Kafka cluster that are supported and do not cause a configuration failure. The listed properties are not the complete list of available and supported properties. Some of the unlisted properties are unsupported and cause a configuration failure when defined.
| Property | Description |
|---|---|
auto.commit.interval.ms |
The frequency in milliseconds that the consumer offsets are committed to offset storage.
|
client.id |
Client identifier.
|
compression.codec |
The compression algorithm to compress message sets. The value applies to all topics.
|
fetch.max.bytes |
Maximum amount of data the broker can return for a Fetch request. The
consumer fetches messages in batches. When the first message batch in the first nonempty partition
of the Fetch request is larger than this value, the message batch is returned to
make sure that the consumer can progress. The maximum message batch size that the broker accepts is
defined with message.max.bytes. The value of fetch.max.bytes is
adjusted automatically to be at least message.max.bytes.
|
isolation.level |
Controls how to read transaction messages.
|
message.max.bytes |
Maximum request message size. Due to differing framing between protocol versions, the
producer cannot reliably enforce a strict maximum message limit at produce time and can exceed the
maximum size by one message in protocol ProduceRequests. The broker enforces the
topic max.message.bytes limit. See the Apache Kafka documentation.
|
receive.message.max.bytes |
Maximum response message size as a precaution to avoid memory exhaustion. This value must be
at least fetch.max.bytes + 512 to allow for protocol processing. The value is
adjusted automatically unless the configuration property is explicitly set.
|