2018-12-13 14:47:20 -05:00
---
layout: doc_page
title: "Druid extensions"
---
2018-11-13 12:38:37 -05:00
<!--
~ Licensed to the Apache Software Foundation (ASF) under one
~ or more contributor license agreements. See the NOTICE file
~ distributed with this work for additional information
~ regarding copyright ownership. The ASF licenses this file
~ to you under the Apache License, Version 2.0 (the
~ "License"); you may not use this file except in compliance
~ with the License. You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing,
~ software distributed under the License is distributed on an
~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
~ KIND, either express or implied. See the License for the
~ specific language governing permissions and limitations
~ under the License.
-->
2016-02-29 20:43:35 -05:00
# Druid extensions
Druid implements an extension system that allows for adding functionality at runtime. Extensions
are commonly used to add support for deep storages (like HDFS and S3), metadata stores (like MySQL
and PostgreSQL), new aggregators, new input formats, and so on.
Production clusters will generally use at least two extensions; one for deep storage and one for a
metadata store. Many clusters will also use additional extensions.
## Including extensions
2016-11-08 17:56:52 -05:00
Please see [here ](../operations/including-extensions.html ).
2016-02-29 20:43:35 -05:00
## Core extensions
Core extensions are maintained by Druid committers.
|Name|Description|Docs|
|----|-----------|----|
2016-03-22 16:54:49 -04:00
|druid-avro-extensions|Support for data in Apache Avro data format.|[link](../development/extensions-core/avro.html)|
2018-01-05 17:23:13 -05:00
|druid-basic-security|Support for Basic HTTP authentication and role-based access control.|[link](../development/extensions-core/druid-basic-security.html)|
2018-09-26 19:04:26 -04:00
|druid-bloom-filter|Support for providing Bloom filters in druid queries.|[link](../development/extensions-core/bloom-filter.html)|
2016-07-06 18:42:54 -04:00
|druid-caffeine-cache|A local cache implementation backed by Caffeine.|[link](../development/extensions-core/caffeine-cache.html)|
2018-03-21 21:19:27 -04:00
|druid-datasketches|Support for approximate counts and set operations with [DataSketches ](http://datasketches.github.io/ ).|[link](../development/extensions-core/datasketches-extension.html)|
2016-03-22 16:54:49 -04:00
|druid-hdfs-storage|HDFS deep storage.|[link](../development/extensions-core/hdfs.html)|
|druid-histogram|Approximate histograms and quantiles aggregator.|[link](../development/extensions-core/approximate-histograms.html)|
2019-02-18 14:50:08 -05:00
|druid-kafka-eight|Kafka ingest firehose (high level consumer) for realtime nodes(deprecated).|[link](../development/extensions-core/kafka-eight-firehose.html)|
2016-03-22 16:54:49 -04:00
|druid-kafka-extraction-namespace|Kafka-based namespaced lookup. Requires namespace lookup extension.|[link](../development/extensions-core/kafka-extraction-namespace.html)|
2016-09-21 15:40:04 -04:00
|druid-kafka-indexing-service|Supervised exactly-once Kafka ingestion for the indexing service.|[link](../development/extensions-core/kafka-ingestion.html)|
2018-12-21 14:49:24 -05:00
|druid-kinesis-indexing-service|Supervised exactly-once Kinesis ingestion for the indexing service.|[link](../development/extensions-core/kinesis-ingestion.html)|
2017-02-02 15:55:21 -05:00
|druid-kerberos|Kerberos authentication for druid nodes.|[link](../development/extensions-core/druid-kerberos.html)|
2016-06-29 15:51:52 -04:00
|druid-lookups-cached-global|A module for [lookups ](../querying/lookups.html ) providing a jvm-global eager caching for lookups. It provides JDBC and URI implementations for fetching lookup data.|[link](../development/extensions-core/lookups-cached-global.html)|
2016-09-16 16:45:54 -04:00
|druid-lookups-cached-single| Per lookup caching module to support the use cases where a lookup need to be isolated from the global pool of lookups |[link](../development/extensions-core/druid-lookups.html)|
2018-11-06 00:33:42 -05:00
|druid-parquet-extensions|Support for data in Apache Parquet data format. Requires druid-avro-extensions to be loaded.|[link](../development/extensions-core/parquet.html)|
2017-05-30 16:11:58 -04:00
|druid-protobuf-extensions| Support for data in Protobuf data format.|[link](../development/extensions-core/protobuf.html)|
2016-03-22 16:54:49 -04:00
|druid-s3-extensions|Interfacing with data in AWS S3, and using S3 as deep storage.|[link](../development/extensions-core/s3.html)|
2016-08-04 20:32:58 -04:00
|druid-stats|Statistics related module including variance and standard deviation.|[link](../development/extensions-core/stats.html)|
2016-03-22 16:54:49 -04:00
|mysql-metadata-storage|MySQL metadata store.|[link](../development/extensions-core/mysql.html)|
|postgresql-metadata-storage|PostgreSQL metadata store.|[link](../development/extensions-core/postgresql.html)|
2017-07-06 20:40:12 -04:00
|simple-client-sslcontext|Simple SSLContext provider module to be used by internal HttpClient talking to other nodes over HTTPS.|[link](../development/extensions-core/simple-client-sslcontext.html)|
2016-02-29 20:43:35 -05:00
# Community Extensions
2016-08-16 18:00:18 -04:00
< div class = "note caution" >
2016-11-08 17:56:52 -05:00
Community extensions are not maintained by Druid committers, although we accept patches from community members using these extensions. They may not have been as extensively tested as the core extensions.
2016-08-16 18:00:18 -04:00
< / div >
2016-11-08 17:56:52 -05:00
A number of community members have contributed their own extensions to Druid that are not packaged with the default Druid tarball.
2018-04-30 14:25:45 -04:00
If you'd like to take on maintenance for a community extension, please post on [dev@druid.apache.org ](https://lists.apache.org/list.html?dev@druid.apache.org ) to let us know!
2016-11-08 17:56:52 -05:00
2018-08-30 12:56:26 -04:00
All of these community extensions can be downloaded using *pull-deps* with the coordinate org.apache.druid.extensions.contrib:EXTENSION_NAME:LATEST_DRUID_STABLE_VERSION.
2016-02-29 20:43:35 -05:00
|Name|Description|Docs|
|----|-----------|----|
2016-12-19 14:12:47 -05:00
|ambari-metrics-emitter|Ambari Metrics Emitter |[link](../development/extensions-contrib/ambari-metrics-emitter.html)|
2016-03-22 16:54:49 -04:00
|druid-azure-extensions|Microsoft Azure deep storage.|[link](../development/extensions-contrib/azure.html)|
|druid-cassandra-storage|Apache Cassandra deep storage.|[link](../development/extensions-contrib/cassandra.html)|
|druid-cloudfiles-extensions|Rackspace Cloudfiles deep storage and firehose.|[link](../development/extensions-contrib/cloudfiles.html)|
2016-03-28 20:29:41 -04:00
|druid-distinctcount|DistinctCount aggregator|[link](../development/extensions-contrib/distinctcount.html)|
2019-02-18 14:50:08 -05:00
|druid-kafka-eight-simpleConsumer|Kafka ingest firehose (low level consumer)(deprecated).|[link](../development/extensions-contrib/kafka-simple.html)|
2016-07-26 12:42:56 -04:00
|druid-orc-extensions|Support for data in Apache Orc data format.|[link](../development/extensions-contrib/orc.html)|
2016-03-22 16:54:49 -04:00
|druid-rabbitmq|RabbitMQ firehose.|[link](../development/extensions-contrib/rabbitmq.html)|
2017-08-24 10:53:51 -04:00
|druid-redis-cache|A cache implementation for Druid based on Redis.|[link](../development/extensions-contrib/redis-cache.html)|
2016-03-22 16:54:49 -04:00
|druid-rocketmq|RocketMQ firehose.|[link](../development/extensions-contrib/rocketmq.html)|
2016-11-15 02:00:21 -05:00
|druid-time-min-max|Min/Max aggregator for timestamp.|[link](../development/extensions-contrib/time-min-max.html)|
2016-11-16 03:36:45 -05:00
|druid-google-extensions|Google Cloud Storage deep storage.|[link](../development/extensions-contrib/google.html)|
2016-11-08 17:56:52 -05:00
|sqlserver-metadata-storage|Microsoft SqlServer deep storage.|[link](../development/extensions-contrib/sqlserver.html)|
2016-03-22 16:54:49 -04:00
|graphite-emitter|Graphite metrics emitter|[link](../development/extensions-contrib/graphite.html)|
2016-06-10 19:27:16 -04:00
|statsd-emitter|StatsD metrics emitter|[link](../development/extensions-contrib/statsd.html)|
2017-04-04 17:07:43 -04:00
|kafka-emitter|Kafka metrics emitter|[link](../development/extensions-contrib/kafka-emitter.html)|
2016-12-13 13:05:15 -05:00
|druid-thrift-extensions|Support thrift ingestion |[link](../development/extensions-contrib/thrift.html)|
2018-02-13 16:10:22 -05:00
|druid-opentsdb-emitter|OpenTSDB metrics emitter |[link](../development/extensions-contrib/opentsdb-emitter.html)|
2016-02-29 20:43:35 -05:00
## Promoting Community Extension to Core Extension
2018-04-30 14:25:45 -04:00
Please post on [dev@druid.apache.org ](https://lists.apache.org/list.html?dev@druid.apache.org ) if you'd like an extension to be promoted to core.
2016-11-08 17:56:52 -05:00
If we see a community extension actively supported by the community, we can promote it to core based on community feedback.
2016-05-19 17:01:06 -04:00
# Creating your own Extensions
For information how to create your own extension, please see [here ](../development/modules.html ).