Configuring Apache Kafka Wire Protocol Service

Describes the Apache Kafka Wire Protocol Service configuration files and instructions.

The following sections provide configuration information for DAG (Data Access Gateway) and Apache Kafka clients and applications:

Configuring Apache Kafka Wire Protocol Service

DAG packages include the following configuration files for Apache Kafka Wire Protocol Service:
kafka-server.conf
  • This file is stored in /opt/mapr/data-access-gateway/conf and loaded from the local file system.
  • This file contains node-specific options, such as the port number and security protocol. Set the options in this file on a per-node basis.
  • By default, the Apache Kafka Wire Protocol Service listens on port 9092.
  • If the DAG service instances are behind a firewall, the firewall rules must be configured to allow this traffic.

For a list of configurable parameters, see Apache Kafka Wire Protocol Service Settings.

kafka-cluster.conf
  • This file is stored in /opt/kafka-wire-protocol/default-cluster/conf and loaded from the distributed file system.
  • This file contains cluster-wide settings.
  • A template of this file is located in /opt/mapr/data-access-gateway/conf as kafka-cluster.conf.src.
  • You must copy the template file (kafka-cluster.conf.src) to the distributed file system under /opt/kafka-wire-protocol/default-cluster/conf and save it as kafka-cluster.conf.

Configuring Apache Kafka Clients and Applications

No special configuration is required on the client side; however, an application must modify the connection string (bootstrap server parameter) to point to the DAG hostname/IP (Apache Kafka Wire Protocol Service). This is similar to pointing to another Kafka cluster when using Apache Kafka.