KSQL Configuration Parameters

Set the KSQL configuration parameters in the /opt/mapr/ksql/ksql-<version>/config/ksql-server.properties file. For more information about configuration parameters, see KSQL Configuration Parameter Reference.
NOTE The default KSQL configuration parameters are stored in $KSQL_INSTALL_DIR/etc/ksql. The default value for KSQL_INSTALL_DIR is /opt/mapr/ksql/ksql-<version>/.

The following table describes some KSQL configuration parameters:

Parameters Description
listeners Set this parameter to your localhost when using KSQL in non-interactive (headless) mode. Set this parameter to an actual IP address when using KSQL in interactive (distributed) mode.

Default: 8084

ksql.default.stream (Optional, but Recommended) The default stream to consume from and send the messages to. The default stream is used if the topic name does not include the stream name. For example, if a message is sent to exampleTopic and this parameter is set to /exampleStream, then the message will be sent to /exampleStream:exampleTopic.