Configuring the Zookeeper in CDL

Use the following sample configuration to define the Zookeeper in CDL:


config 
   cdl zookeeper data-storage-size data_storage_size_in_gb 
      log-storage-size log_storage_size_in_gb 
      replica number_of_replicas 
      enable-JMX-metrics boolean_value 
      enable-persistence boolean_value 
      end 

NOTES:

All the following parameters are optional.

  • cdl zookeeper data-storage-size data_storage_size_in_gb : Specifies the size of the Zookeeper data storage in gigabyte. The default value is 20 GB. Accepted value is an integer in the range of 1-64.

  • log-storage-size log_storage_size_in_gb : Specifies the size of the Zookeeper data log's storage in gigabyte. The default value is 20 GB. Accepted value is an integer in the range of 1-64.

  • replica num_replicas : Specifies the number of replicas that must be created. The default value is 3. Accepted value is an integer in the range of one to 16.

  • enable-JMX-metrics boolean_value : Specifies the status of the JMX metrics. The default value is true.

  • enable-persistence boolean_value : Specifies the status of the persistent storage for Zookeeper data. The default value is false .