Altair® Panopticon

 

Viewing and Managing Kafka Properties

The user-defined Kafka.properties  file contains properties for controlling the Kafka configurations in the Panopticon Streams.

Below is a sample properties file:

 

# Broker endpoints where we will discover the cluster broker members. If this # is set here, any results from ZooKeeper are ignored. # common producer and consumer settings #bootstrap.servers=localhost:9092 bootstrap.servers=localhost:9093 security.protocol=SASL_PLAINTEXT sasl.mechanism=PLAIN sasl.jaas.config= org.apache.kafka.common.security.plain.PlainLoginModule required username="dwchuser" password="dwchpwd"; #Global properties applied on any topic created topic.retention.ms=50000 topic.cleanup.policy=delete aggregate.cachingEnabled=true #Specific operator/node applicationId.operatorId.propertyname AggregationExample.Input.retention.ms=60000 AggregationExample.Output.retention.ms=30000 AggregationExample.Aggregation.cachingEnabled=false

When the Panopticon Streams server is started, it checks the AppData folder for the kafka.properties  file and loads the properties in the Kafka Properties box.

However, if the kafka.properties file is not available, the Kafka Properties box will display a blank Kafka Properties box:

If you opt to copy the kafka.properties  file to a different location, open the Streams.properties  file and set the attribute cep.kafka.properties  to the value of the file path along with the Kafka properties file name. For example:

cep.kafka.properties=c:\kafkafile\kafka.properties

   NOTE

·         The values in the Kafka Properties box is not editable on the System tab. Changes can be made in the actual kafka.properties  file. To reload the properties on the System tab, click Reload Configuration.

·         The kafka.properties file supports any Kafka configurations available on their documentation

·         The configurations made in the kafka.properties  will supersede any of the Kafka-related properties in the streams.properties file

·         Some of the configurations in the kafka.properties  file can be overridden by the settings made in the Panopticon Streams applications