This topic describes how to use package managers to download and install KSQL from the MEP repository.
KSQL is included in MEP repositories beginning with MEP 6.0.0. For instructions on setting up the MEP repository, see Step 10: Install Ecosystem Components Manually.
The default KSQL configuration parameters are stored in
/opt/mapr/ksql/ksql-<version>/etc/ksql.
| Mode | Description |
|---|---|
| Interactive Mode | This mode is non-secure and allows developers to write KSQL queries interactively using the KSQL CLI. |
| Non-interactive Mode | This mode is more secure than the Interactive mode and is designed for KSQL query production deployment. Since the queries are known ahead of time, you can run non-interactive queries with more restrictive permissions. |
Installation steps are the same for both modes. Run the following commands as
root or using sudo.
You can install the mapr-ksql package on as many or as few nodes as you
want. Installing on multiple nodes can increase availability of the service.
On Ubuntu:
apt-get install mapr-ksql
On RedHat/ CentOS:
yum install mapr-ksql
On SUSE:
zypper install mapr-ksql
/opt/mapr/ksql/ksql-<version>./opt/mapr/ksql/ksql-[version]/bin/ksql-server-start /opt/mapr/ksql/ksql-<version>/etc/ksql/ksql-server.propertieshttp://localhost:8084/info. For
example:curl http://localhost:8084/info{"KsqlServerInfo":{"version":"(version)"}}To configure KSQL, see KSQL Configuration.