Configuration

Kafka Toolkit > com.ibm.streamsx.kafka 1.5.0 > com.ibm.streamsx.kafka > Configuration

The operators use Kafka's Producer or Consumer API. As a consequence, you can specify all properties for the APIs to control the behavior of the operators. The producer for Apache Kafka 1.0 can be found here, the configs for the Apache Kafka Consumer can be found here.

Properties can be specified in different ways:
  • As an Application configuration

    You must specify the name of the App Config in the appConfigName parameter.

  • in a property file

    You must specify the filename in the propertiesFile parameter.

  • operator parameters clientId and groupId (KafkaConsumer operator only)
Kafka properties can be specified by using these mechanisms simultaneously. The precedence is
  • parameter
  • property file
  • application configuration. Please note that an application configuration with instance scope takes precedence over a configuration with same name at domain level.