kafka

Configures the Kafka for Geo Replication.

Privilege Level

Security Administrator, Administrator

Command Mode

Exec > Global Configuration

Syntax

cdl kafka { enable-JMX-metrics { false | true } | enable-persistence { false | true } | external-ip { ipv4_address port_number } | replica ha_instances | retention-size retention_size | retention data_retention_period | storage data_storage_size | log-level { debug | error | fatal | info | trace | warn } } 

replica ha_instances

Specify the number of HA instances to be created.

Must be an integer in the range of 1-16.

Default Value: 3.

Default Value: 2.

log-level

Specify the Kafka logging level. The logging levels include debug, error, fatal, info, trace, and warn. The changes specified here will trigger rolling restart of Zookeeper pods.

Must be one of the following:

  • fatal

  • error

  • warn

  • info

  • debug

  • trace

partition number_of_partitions

Specify the number of partitions per topic.

Must be an integer in the range of 1-1024.

Default Value: 1.

enable-JMX-metrics { false | true }

Specify to enable or disable JMX metrics.

Must be either "false" or "true".

Default Value: true.

enable-persistence { false | true }

Specify to enable or disable persistence for the Kafka data.

Must be either "false" or "true".

Default Value: false.

storage data_storage_size

Specify the Kafaka data storage size in GB.

Must be an integer in the range of 1-64.

Default Value: 20.

retention-time data_retention_period

Specify the data retention period in hours.

Must be an integer in the range of 1-168.

Default Value: 3.

retention-size retention_size

Specify the data retention size in MB.

Must be an integer in the range of 1024-1048576.

Default Value: 5120.

Usage Guidelines

Use this command to configure Kafka for Geo replication.