Druid extensions

Druid extensions are used to provide additional functionality at runtime, e.g. for data formats or different types of deep storage.

Default extensions

Some extensions are loaded by default:

  • druid-kafka-indexing-service

  • druid-datasketches

  • prometheus-emitter

  • druid-basic-security

  • druid-opa-authorizer

  • druid-hdfs-storage

Some extensions are loaded conditionally depending on the DruidCluster configuration:

  • postgresql-metadata-storage (when using PostgreSQL as metadata store)

  • mysql-metadata-storage (when using MySQL as metadata store)

  • druid-s3-extensions (when S3 is used as deep storage)

  • simple-client-sslcontext (when TLS is enabled)

Custom extensions

Druid can be configured load any number of additional extensions. Core extensions are already bundled with Druid but adding community extensions requires some extra steps.

spec:
  clusterConfig:
    additionalExtenions:
    - druid-avro-extensions
    - druid-google-extensions
    ...

Some extensions may require additional configuration which can be added using configuration and environment overrides.