ksqlDB
ksqlDB is a purpose-built database for stream processing applications, ingesting data from Apache Kafka.Available on the Enterprise Premier plan.
Contact us for details.
Prerequisites
- Hostname for the ksqlDB server
- Username and password (or an API key) to connect to ksqlDB server
Confluent Cloud
If you are using Confluent Cloud, you need to generate an API key and use the API key name as your username and the API key secret as your password. You can generate an API key by installingconfluent-cli and running the
following commands in the command line:
Setup
Manual
Add the following to a.env file in your Cube project:
Environment Variables
| Environment Variable | Description | Possible Values | Required |
|---|---|---|---|
CUBEJS_DB_URL | The host URL for ksqlDB with port | A valid database host URL | ✅ |
CUBEJS_DB_USER | The username used to connect to the ksqlDB. API key for Confluent Cloud. | A valid port number | ✅ |
CUBEJS_DB_PASS | The password used to connect to the ksqlDB. API secret for Confluent Cloud. | A valid database name | ✅ |
CUBEJS_CONCURRENCY | The number of concurrent queries to the data source | A valid number | ❌ |