Cluster Rules
Cluster Rules
Cluster Rules are applied at the Kafka cluster level. They define global guardrails that apply to the entire cluster, regardless of which topic, consumer group, or client is involved.
These rules are configured as part of a Policy.
Broker Configuration
Controls which broker-level configurations can be altered and what default values are applied.
Allowed Broker Configs
A list of broker config keys that are permitted to be altered. Any key not in this list cannot be changed.
Default Broker Configs
Default key-value pairs applied to new topics if not explicitly specified at creation time.
Client ID
Require Client ID for connections — when enabled, all Kafka clients must provide a non-blank client.id when connecting. Connections without a client ID are rejected.
API Version Rules
Constrains the minimum and maximum Kafka API versions permitted per API key name.
| Field | Description |
|---|---|
| API Key Name | The Kafka API key to constrain (e.g., Produce, Fetch) |
| Min | Minimum permitted API version |
| Max | Maximum permitted API version |
Multiple API version rules can be added to cover different API keys.
Compression Rules
Restricts which compression codecs Kafka clients are permitted to use.
| Codec | Description |
|---|---|
none | No compression |
gzip | GZIP compression |
snappy | Snappy compression |
lz4 | LZ4 compression |
zstd | Zstandard compression |
Only the selected codecs are permitted. Requests using any other codec are treated as a violation.