Documentation
Druid

Druid

The driver for Druid is community-supported and is not supported by Cube or the vendor.

Prerequisites

Setup

Manual

Add the following to a .env file in your Cube project:

CUBEJS_DB_TYPE=druid
CUBEJS_DB_URL=https://my.druid.host:8082
CUBEJS_DB_USER=druid
CUBEJS_DB_PASS=**********

Environment Variables

Environment VariableDescriptionPossible ValuesRequired
CUBEJS_DB_URLThe URL for a databaseA valid database URL for Druid
CUBEJS_DB_USERThe username used to connect to the databaseA valid database username
CUBEJS_DB_PASSThe password used to connect to the databaseA valid database password
CUBEJS_DB_MAX_POOLThe maximum number of concurrent database connections to pool. Default is 8A valid number
CUBEJS_CONCURRENCYThe number of concurrent queries to the data sourceA valid number

SSL

Cube does not require any additional configuration to enable SSL as Druid connections are made over HTTPS.