This section describes how to configure Kafaka for the CDL.
-
Open the NF Ops Center console and navigate to the datastore CLI.
-
Use the following configuration.
configure
cdl kafka replica num_replicas
enable-JMX-metrics boolean_value
external-ip ip_address port_number
retention-time retention_period
retention-size retention_size
end
exit
Note |
-
cdl kafka replica
num_replicas : Specifies the number of replicas to be created. The default value is 3. num_replicas must be in the range of 1 to 16.
-
enable-JMX-metrics
boolean_value : Specifies the status of the JMX metrics. The default value is true.
-
external-ip
ip_address port_number : Specifies the external IPs to expose to the Kafka service. Configure this command when you have set the enable-geo-replication parameter to true . You are required to define an external ip address and port number for each instance of the Kafka replica. For example, if the cdl kafka replica parameter is set to 3, then you must define three external ip addresses and port numbers.
-
retention-time
retention_period : Specifies the duration (in hours) for which the data must be retained. The default value is 3. retention_period must be in the range of 1 to 168.
-
retention-size
retention_size : Specifies the data retention size in MB. The default value is 5120 MB.
|