Set KSQL configuration and security parameters in the
ksql-server.properties file.
ksql.default.stream parameter is optional, but
recommended. This parameter sets 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 is sent to
/exampleStream:exampleTopic.Set the following properties in the /opt/mapr/ksql/ksql-<version>/config/ksql-server.properties
file:
ksql.command.topic.suffix=commands
ksql.service.id=app2
listeners=http://localhost:8084
ksql.default.stream=/sample-stream
KSQL_INSTALL_DIR/bin/ksql-server-start
$/opt/mapr/ksql/ksql-<version>/config/ksql-server.propertie --queries-file some-queries-file.sqlksql-server.properties file to run KSQL in interactive (distributed)
mode:ksql.command.topic.suffix=commands
ksql.service.id=app2
listeners=http://192.168.121.73:8084
ksql.default.stream=/sample-streamlisteners parameter to an actual IP address.