Environment Variable Glossary

A glossary of all configuration options available to kPow

Env Var

Default

Type

Comment

PORT

3000

long

The kPow server port (will serve HTTPS traffic if so configured)

ENABLE_GZIP

true

bool

Whether to enable gzip compression for kPow's static resources (JSON, CSS etc)

NUM_PARTITIONS

12

long

The number of partitions for kPow's internal consumer groups

REPLICATION_FACTOR

3

long

The replication factor of kPow's internal consumer groups

REQUEST_TIMEOUT_MS

30000

long

The request.timeout.ms settting for kPow's internal consumer groups

MAX_PRODUCE_REQUEST_SIZE

1000000

long

The max.produce.request.size setting for kPow's internal producers

SNAPSHOT_PARALLELISM

3

long

The level of parallelism configured for when kPow captures telemetry for snapshots. Increase OPEARTR internal parallelism for larger clusters

SNAPSHOT_DEBUG

false

bool

Add additional logging messages to help debug snapshotting

PROMETHEUS_EGRESS

false

bool

Enable Prometheus endpoints for metrics and offsets egress

PROMETHEUS_LABEL_ENV

true

bool

Include your ENVIRONMENT_NAME as 'env' label on Prometheus metrics

CUSTOM_SERDES

string

eg: io.operatr.SerdeOne,io.operatr.SerdeTwoComma separated names of custom serdes found on the classpath

DEFAULT_KEY_SERDES

string

The default key serde to use when inspecting data, eg: AVRO

DEFAULT_VALUE_SERDES

string

The default key value to use when inspecting data, eg: JSON

AVAILABLE_KEY_SERDES

string

The list of key serdes to present when inspecting data, eg: JSON,String,Transit / JSON

AVAILABLE_VALUE_SERDES

string

The list of key serdes to present when inspecting data, eg: JSON,String,io.operatr.SerdeOne

AUTH_PROVIDER_TYPE

enum

The OPENID provider configured for SSO, eg: github, jetty,okta

See: User Authentication

AUTH_LANDING_URI

string

The absolute URL to redirect to after successful OKTA login. Eg: https://staging.operatr.z-corp.com

OKTA_ORGANISATION

string

The name of your Okta organisation, eg: my-corp

OPENID_AUTH_URI

string

For GitHub: https://github.com/login/oauth/authorize

For GitHub enterprise: [Server URL]/login/oauth/authorize

OPENID_API_URI

string

For GitHub:

https://api.github.com/user

For GitHub enterprise: [Server URL]/api/v3/user

OPENID_TOKEN_URI

string

For GitHub: https://github.com/login/oauth/access_token

For GitHub enterprise: [Server URL]/login/oauth/access_token

OPENID_CLIENT_ID

string

The 'Client ID' found in your configured OpenID App

OPENID_CLIENT_SECRET

string

The 'Client Secret' found in your configured OpenID App

SAML_RELYING_PARTY_IDENTIFIER

string

You Operatr Application ID

SAML_ACS_URL

string

The Assertion Consumer Service URL

SAML_METADATA_FILE

string

The SAML Metadata File from your provider

SAML_CERT

string

SAML Certificate (Optional)

SAML_SESSION_S

3600

long

The duration in seconds before re-authenticating SAML credentials

DEBUG_SAML

false

bool

Enable SAML debug logging in application logs

JETTY_AUTH_METHOD

form

enum

Configure if using Jetty authentication

Either: formorbasic

JETTY_AUTH_TYPE

jaas

enum

HASH_USER_FILE

string

RIEMANN_HOST

string

The Riemann host for metrics egress

RIEMANN_PORT

string

The Riemann port for metrics egress

ENABLE_HTTPS

false

bool

Serve kPow content via HTTPS

HTTPS_KEYSTORE_LOCATION

string

eg: /ssl/https.keystore.jks

HTTPS_KEYSTORE_TYPE

string

Type of SSL Keystore, eg JKS

HTTPS_KEYSTORE_PASSWORD

string

SSL Keystore password

HTTPS_TRUSTSTORE_LOCATION

string

eg, /ssl/https.truststore.jks

HTTPS_TRUSTSTORE_TYPE

string

Type of SSL Truststore type, eg JKS

HTTPS_TRUSTSTORE_PASSWORD

string

SSL Truststore password

RBAC_CONFIGURATION_FILE

string

The path to your Operatr RBAC Configuration (optional, expects SSO enabled)

LIVE_MODE_ENABLED

true

bool

Allow your users to switch to Live Mode

LIVE_MODE_PERIOD_MS

60000

long

Live Mode will prompt you to continue after this period

LIVE_MODE_INTERVAL_MS

3500

long

The amount of time between Live Mode snapshots

LIVE_MODE_MAX_CONCURRENT_USERS

2

long

The maximum number of concurrent Live Mode user sessions

SAMPLER_TIMEOUT_MS

7000

long

The end-to-end timeout for a data inspect query

SAMPLER_CONSUMER_THREADS

6

long

The level of parallelism for a data inspect query

DATA_POLICY_CONFIGURATION_FILE

string

The path to your kPow Data Policy Configuration

SLACK_WEBHOOK_URL

string

Send Audit Log messages to Slack

SLACK_WEBHOOK_AUDIT_LOG

true

bool

CONNECT_TIMEOUT_MS

5000

long

The timeout value in ms for all HTTP requests made to a Kafka Connect cluster

SHOW_SPLASH

true

bool

Turn off the initial page splash scre