Configuration

This section describes how to configure the Kafka REST Proxy for MapR Event Store For Apache Kafka.

You can set these configuration parameters in the kafka-rest.properties file. MCS displays information about the Kafka REST Proxy for MapR Streams service. By default, the service runs on port 8082.

To install the Kafka REST Proxy, see Installing MapR Event Store For Apache Kafka Tools.

To configure the Kafka REST Proxy for MapR Event Store For Apache Kafka, edit the following file:

/opt/mapr/kafka-rest/kafka-rest-<version>/config/kafka-rest.properties

To view the Kafka REST Proxy for MapR Event Store For Apache Kafka log files, see the following location:

/opt/mapr/kafka-rest/kafka-rest-<version>/logs/kafka-rest.log
Note: After installation, Warden automatically detects the configuration and starts the service. To configure the Kafka REST Proxy for MapR Event Store For Apache Kafka, stop the service, configure the parameters, and restart the service. To stop and restart services, see maprcli node services. For example:
maprcli node services –name kafka-rest –action stop
https://<host>:8443/rest/node/services?name=kafka-rest&action=stop&nodes=<node_names>
where node_names is the node on which to perform the action; either a list of nodes, or a filter that matches a set of nodes .