| <!DOCTYPE html> |
| <html lang="en"> |
| <head> |
| <meta charset="UTF-8" /> |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> |
| <meta name="description" content="Apache Druid"> |
| <meta name="keywords" content="druid,kafka,database,analytics,streaming,real-time,real time,apache,open source"> |
| <meta name="author" content="Apache Software Foundation"> |
| |
| <title>Druid | Apache Druid (incubating) extensions</title> |
| |
| <link rel="alternate" type="application/atom+xml" href="/feed"> |
| <link rel="shortcut icon" href="/img/favicon.png"> |
| |
| <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.7.2/css/all.css" integrity="sha384-fnmOCqbTlWIlj8LyTjo7mOUStjsKC4pOpQbqyi7RrhN7udi9RwhKkMHpvLbHG9Sr" crossorigin="anonymous"> |
| |
| <link href='//fonts.googleapis.com/css?family=Open+Sans+Condensed:300,700,300italic|Open+Sans:300italic,400italic,600italic,400,300,600,700' rel='stylesheet' type='text/css'> |
| |
| <link rel="stylesheet" href="/css/bootstrap-pure.css?v=1.1"> |
| <link rel="stylesheet" href="/css/base.css?v=1.1"> |
| <link rel="stylesheet" href="/css/header.css?v=1.1"> |
| <link rel="stylesheet" href="/css/footer.css?v=1.1"> |
| <link rel="stylesheet" href="/css/syntax.css?v=1.1"> |
| <link rel="stylesheet" href="/css/docs.css?v=1.1"> |
| |
| <script> |
| (function() { |
| var cx = '000162378814775985090:molvbm0vggm'; |
| var gcse = document.createElement('script'); |
| gcse.type = 'text/javascript'; |
| gcse.async = true; |
| gcse.src = (document.location.protocol == 'https:' ? 'https:' : 'http:') + |
| '//cse.google.com/cse.js?cx=' + cx; |
| var s = document.getElementsByTagName('script')[0]; |
| s.parentNode.insertBefore(gcse, s); |
| })(); |
| </script> |
| |
| |
| </head> |
| |
| <body> |
| <!-- Start page_header include --> |
| <script src="//ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script> |
| |
| <div class="top-navigator"> |
| <div class="container"> |
| <div class="left-cont"> |
| <a class="logo" href="/"><span class="druid-logo"></span></a> |
| </div> |
| <div class="right-cont"> |
| <ul class="links"> |
| <li class=""><a href="/technology">Technology</a></li> |
| <li class=""><a href="/use-cases">Use Cases</a></li> |
| <li class=""><a href="/druid-powered">Powered By</a></li> |
| <li class=""><a href="/docs/latest/design/">Docs</a></li> |
| <li class=""><a href="/community/">Community</a></li> |
| <li class="header-dropdown"> |
| <a>Apache</a> |
| <div class="header-dropdown-menu"> |
| <a href="https://www.apache.org/" target="_blank">Foundation</a> |
| <a href="https://www.apache.org/events/current-event" target="_blank">Events</a> |
| <a href="https://www.apache.org/licenses/" target="_blank">License</a> |
| <a href="https://www.apache.org/foundation/thanks.html" target="_blank">Thanks</a> |
| <a href="https://www.apache.org/security/" target="_blank">Security</a> |
| <a href="https://www.apache.org/foundation/sponsorship.html" target="_blank">Sponsorship</a> |
| </div> |
| </li> |
| <li class=" button-link"><a href="/downloads.html">Download</a></li> |
| </ul> |
| </div> |
| </div> |
| <div class="action-button menu-icon"> |
| <span class="fa fa-bars"></span> MENU |
| </div> |
| <div class="action-button menu-icon-close"> |
| <span class="fa fa-times"></span> MENU |
| </div> |
| </div> |
| |
| <script type="text/javascript"> |
| var $menu = $('.right-cont'); |
| var $menuIcon = $('.menu-icon'); |
| var $menuIconClose = $('.menu-icon-close'); |
| |
| function showMenu() { |
| $menu.fadeIn(100); |
| $menuIcon.fadeOut(100); |
| $menuIconClose.fadeIn(100); |
| } |
| |
| $menuIcon.click(showMenu); |
| |
| function hideMenu() { |
| $menu.fadeOut(100); |
| $menuIconClose.fadeOut(100); |
| $menuIcon.fadeIn(100); |
| } |
| |
| $menuIconClose.click(hideMenu); |
| |
| $(window).resize(function() { |
| if ($(window).width() >= 840) { |
| $menu.fadeIn(100); |
| $menuIcon.fadeOut(100); |
| $menuIconClose.fadeOut(100); |
| } |
| else { |
| $menu.fadeOut(100); |
| $menuIcon.fadeIn(100); |
| $menuIconClose.fadeOut(100); |
| } |
| }); |
| </script> |
| |
| <!-- Stop page_header include --> |
| |
| |
| <div class="container doc-container"> |
| |
| |
| |
| |
| <p> Looking for the <a href="/docs/0.22.1/">latest stable documentation</a>?</p> |
| |
| |
| <div class="row"> |
| <div class="col-md-9 doc-content"> |
| <p> |
| <a class="btn btn-default btn-xs visible-xs-inline-block visible-sm-inline-block" href="#toc">Table of Contents</a> |
| </p> |
| <!-- |
| ~ 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. |
| --> |
| |
| <h1 id="apache-druid-incubating-extensions">Apache Druid (incubating) extensions</h1> |
| |
| <p>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.</p> |
| |
| <p>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.</p> |
| |
| <h2 id="including-extensions">Including extensions</h2> |
| |
| <p>Please see <a href="../operations/including-extensions.html">here</a>.</p> |
| |
| <h2 id="core-extensions">Core extensions</h2> |
| |
| <p>Core extensions are maintained by Druid committers.</p> |
| |
| <table><thead> |
| <tr> |
| <th>Name</th> |
| <th>Description</th> |
| <th>Docs</th> |
| </tr> |
| </thead><tbody> |
| <tr> |
| <td>druid-avro-extensions</td> |
| <td>Support for data in Apache Avro data format.</td> |
| <td><a href="../development/extensions-core/avro.html">link</a></td> |
| </tr> |
| <tr> |
| <td>druid-basic-security</td> |
| <td>Support for Basic HTTP authentication and role-based access control.</td> |
| <td><a href="../development/extensions-core/druid-basic-security.html">link</a></td> |
| </tr> |
| <tr> |
| <td>druid-bloom-filter</td> |
| <td>Support for providing Bloom filters in druid queries.</td> |
| <td><a href="../development/extensions-core/bloom-filter.html">link</a></td> |
| </tr> |
| <tr> |
| <td>druid-caffeine-cache</td> |
| <td>A local cache implementation backed by Caffeine.</td> |
| <td><a href="../configuration/index.html#cache-configuration">link</a></td> |
| </tr> |
| <tr> |
| <td>druid-datasketches</td> |
| <td>Support for approximate counts and set operations with <a href="http://datasketches.github.io/">DataSketches</a>.</td> |
| <td><a href="../development/extensions-core/datasketches-extension.html">link</a></td> |
| </tr> |
| <tr> |
| <td>druid-hdfs-storage</td> |
| <td>HDFS deep storage.</td> |
| <td><a href="../development/extensions-core/hdfs.html">link</a></td> |
| </tr> |
| <tr> |
| <td>druid-histogram</td> |
| <td>Approximate histograms and quantiles aggregator. Deprecated, please use the <a href="../development/extensions-core/datasketches-quantiles.html">DataSketches quantiles aggregator</a> from the <code>druid-datasketches</code> extension instead.</td> |
| <td><a href="../development/extensions-core/approximate-histograms.html">link</a></td> |
| </tr> |
| <tr> |
| <td>druid-kafka-eight</td> |
| <td>Kafka ingest firehose (high level consumer) for realtime nodes(deprecated).</td> |
| <td><a href="../development/extensions-core/kafka-eight-firehose.html">link</a></td> |
| </tr> |
| <tr> |
| <td>druid-kafka-extraction-namespace</td> |
| <td>Kafka-based namespaced lookup. Requires namespace lookup extension.</td> |
| <td><a href="../development/extensions-core/kafka-extraction-namespace.html">link</a></td> |
| </tr> |
| <tr> |
| <td>druid-kafka-indexing-service</td> |
| <td>Supervised exactly-once Kafka ingestion for the indexing service.</td> |
| <td><a href="../development/extensions-core/kafka-ingestion.html">link</a></td> |
| </tr> |
| <tr> |
| <td>druid-kinesis-indexing-service</td> |
| <td>Supervised exactly-once Kinesis ingestion for the indexing service.</td> |
| <td><a href="../development/extensions-core/kinesis-ingestion.html">link</a></td> |
| </tr> |
| <tr> |
| <td>druid-kerberos</td> |
| <td>Kerberos authentication for druid processes.</td> |
| <td><a href="../development/extensions-core/druid-kerberos.html">link</a></td> |
| </tr> |
| <tr> |
| <td>druid-lookups-cached-global</td> |
| <td>A module for <a href="../querying/lookups.html">lookups</a> providing a jvm-global eager caching for lookups. It provides JDBC and URI implementations for fetching lookup data.</td> |
| <td><a href="../development/extensions-core/lookups-cached-global.html">link</a></td> |
| </tr> |
| <tr> |
| <td>druid-lookups-cached-single</td> |
| <td>Per lookup caching module to support the use cases where a lookup need to be isolated from the global pool of lookups</td> |
| <td><a href="../development/extensions-core/druid-lookups.html">link</a></td> |
| </tr> |
| <tr> |
| <td>druid-orc-extensions</td> |
| <td>Support for data in Apache Orc data format.</td> |
| <td><a href="../development/extensions-core/orc.html">link</a></td> |
| </tr> |
| <tr> |
| <td>druid-parquet-extensions</td> |
| <td>Support for data in Apache Parquet data format. Requires druid-avro-extensions to be loaded.</td> |
| <td><a href="../development/extensions-core/parquet.html">link</a></td> |
| </tr> |
| <tr> |
| <td>druid-protobuf-extensions</td> |
| <td>Support for data in Protobuf data format.</td> |
| <td><a href="../development/extensions-core/protobuf.html">link</a></td> |
| </tr> |
| <tr> |
| <td>druid-s3-extensions</td> |
| <td>Interfacing with data in AWS S3, and using S3 as deep storage.</td> |
| <td><a href="../development/extensions-core/s3.html">link</a></td> |
| </tr> |
| <tr> |
| <td>druid-ec2-extensions</td> |
| <td>Interfacing with AWS EC2 for autoscaling middle managers</td> |
| <td>UNDOCUMENTED</td> |
| </tr> |
| <tr> |
| <td>druid-stats</td> |
| <td>Statistics related module including variance and standard deviation.</td> |
| <td><a href="../development/extensions-core/stats.html">link</a></td> |
| </tr> |
| <tr> |
| <td>mysql-metadata-storage</td> |
| <td>MySQL metadata store.</td> |
| <td><a href="../development/extensions-core/mysql.html">link</a></td> |
| </tr> |
| <tr> |
| <td>postgresql-metadata-storage</td> |
| <td>PostgreSQL metadata store.</td> |
| <td><a href="../development/extensions-core/postgresql.html">link</a></td> |
| </tr> |
| <tr> |
| <td>simple-client-sslcontext</td> |
| <td>Simple SSLContext provider module to be used by Druid's internal HttpClient when talking to other Druid processes over HTTPS.</td> |
| <td><a href="../development/extensions-core/simple-client-sslcontext.html">link</a></td> |
| </tr> |
| </tbody></table> |
| |
| <h1 id="community-extensions">Community Extensions</h1> |
| |
| <div class="note caution"> |
| 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. |
| </div> |
| |
| <p>A number of community members have contributed their own extensions to Druid that are not packaged with the default Druid tarball. |
| If you'd like to take on maintenance for a community extension, please post on <a href="https://lists.apache.org/list.html?dev@druid.apache.org">dev@druid.apache.org</a> to let us know!</p> |
| |
| <p>All of these community extensions can be downloaded using <a href="../operations/pull-deps.html">pull-deps</a> while specifying a <code>-c</code> coordinate option to pull <code>org.apache.druid.extensions.contrib:{EXTENSION_NAME}:{DRUID_VERSION}</code>.</p> |
| |
| <table><thead> |
| <tr> |
| <th>Name</th> |
| <th>Description</th> |
| <th>Docs</th> |
| </tr> |
| </thead><tbody> |
| <tr> |
| <td>ambari-metrics-emitter</td> |
| <td>Ambari Metrics Emitter</td> |
| <td><a href="../development/extensions-contrib/ambari-metrics-emitter.html">link</a></td> |
| </tr> |
| <tr> |
| <td>druid-azure-extensions</td> |
| <td>Microsoft Azure deep storage.</td> |
| <td><a href="../development/extensions-contrib/azure.html">link</a></td> |
| </tr> |
| <tr> |
| <td>druid-cassandra-storage</td> |
| <td>Apache Cassandra deep storage.</td> |
| <td><a href="../development/extensions-contrib/cassandra.html">link</a></td> |
| </tr> |
| <tr> |
| <td>druid-cloudfiles-extensions</td> |
| <td>Rackspace Cloudfiles deep storage and firehose.</td> |
| <td><a href="../development/extensions-contrib/cloudfiles.html">link</a></td> |
| </tr> |
| <tr> |
| <td>druid-distinctcount</td> |
| <td>DistinctCount aggregator</td> |
| <td><a href="../development/extensions-contrib/distinctcount.html">link</a></td> |
| </tr> |
| <tr> |
| <td>druid-kafka-eight-simpleConsumer</td> |
| <td>Kafka ingest firehose (low level consumer)(deprecated).</td> |
| <td><a href="../development/extensions-contrib/kafka-simple.html">link</a></td> |
| </tr> |
| <tr> |
| <td>druid-rabbitmq</td> |
| <td>RabbitMQ firehose.</td> |
| <td><a href="../development/extensions-contrib/rabbitmq.html">link</a></td> |
| </tr> |
| <tr> |
| <td>druid-redis-cache</td> |
| <td>A cache implementation for Druid based on Redis.</td> |
| <td><a href="../development/extensions-contrib/redis-cache.html">link</a></td> |
| </tr> |
| <tr> |
| <td>druid-rocketmq</td> |
| <td>RocketMQ firehose.</td> |
| <td><a href="../development/extensions-contrib/rocketmq.html">link</a></td> |
| </tr> |
| <tr> |
| <td>druid-time-min-max</td> |
| <td>Min/Max aggregator for timestamp.</td> |
| <td><a href="../development/extensions-contrib/time-min-max.html">link</a></td> |
| </tr> |
| <tr> |
| <td>druid-google-extensions</td> |
| <td>Google Cloud Storage deep storage.</td> |
| <td><a href="../development/extensions-contrib/google.html">link</a></td> |
| </tr> |
| <tr> |
| <td>sqlserver-metadata-storage</td> |
| <td>Microsoft SqlServer deep storage.</td> |
| <td><a href="../development/extensions-contrib/sqlserver.html">link</a></td> |
| </tr> |
| <tr> |
| <td>graphite-emitter</td> |
| <td>Graphite metrics emitter</td> |
| <td><a href="../development/extensions-contrib/graphite.html">link</a></td> |
| </tr> |
| <tr> |
| <td>statsd-emitter</td> |
| <td>StatsD metrics emitter</td> |
| <td><a href="../development/extensions-contrib/statsd.html">link</a></td> |
| </tr> |
| <tr> |
| <td>kafka-emitter</td> |
| <td>Kafka metrics emitter</td> |
| <td><a href="../development/extensions-contrib/kafka-emitter.html">link</a></td> |
| </tr> |
| <tr> |
| <td>druid-thrift-extensions</td> |
| <td>Support thrift ingestion</td> |
| <td><a href="../development/extensions-contrib/thrift.html">link</a></td> |
| </tr> |
| <tr> |
| <td>druid-opentsdb-emitter</td> |
| <td>OpenTSDB metrics emitter</td> |
| <td><a href="../development/extensions-contrib/opentsdb-emitter.html">link</a></td> |
| </tr> |
| <tr> |
| <td>materialized-view-selection, materialized-view-maintenance</td> |
| <td>Materialized View</td> |
| <td><a href="../development/extensions-contrib/materialized-view.html">link</a></td> |
| </tr> |
| <tr> |
| <td>druid-moving-average-query</td> |
| <td>Support for <a href="https://en.wikipedia.org/wiki/Moving_average">Moving Average</a> and other Aggregate <a href="https://en.wikibooks.org/wiki/Structured_Query_Language/Window_functions">Window Functions</a> in Druid queries.</td> |
| <td><a href="../development/extensions-contrib/moving-average-query.html">link</a></td> |
| </tr> |
| </tbody></table> |
| |
| <h2 id="promoting-community-extension-to-core-extension">Promoting Community Extension to Core Extension</h2> |
| |
| <p>Please post on <a href="https://lists.apache.org/list.html?dev@druid.apache.org">dev@druid.apache.org</a> if you'd like an extension to be promoted to core. |
| If we see a community extension actively supported by the community, we can promote it to core based on community feedback.</p> |
| |
| <h1 id="creating-your-own-extensions">Creating your own Extensions</h1> |
| |
| <p>For information how to create your own extension, please see <a href="../development/modules.html">here</a>.</p> |
| |
| </div> |
| <div class="col-md-3"> |
| <div class="searchbox"> |
| <gcse:searchbox-only></gcse:searchbox-only> |
| </div> |
| <div id="toc" class="nav toc hidden-print"> |
| </div> |
| </div> |
| </div> |
| </div> |
| |
| <!-- Start page_footer include --> |
| <footer class="druid-footer"> |
| <div class="container"> |
| <div class="text-center"> |
| <p> |
| <a href="/technology">Technology</a> ·  |
| <a href="/use-cases">Use Cases</a> ·  |
| <a href="/druid-powered">Powered by Druid</a> ·  |
| <a href="/docs/latest/">Docs</a> ·  |
| <a href="/community/">Community</a> ·  |
| <a href="/downloads.html">Download</a> ·  |
| <a href="/faq">FAQ</a> |
| </p> |
| </div> |
| <div class="text-center"> |
| <a title="Join the user group" href="https://groups.google.com/forum/#!forum/druid-user" target="_blank"><span class="fa fa-comments"></span></a> ·  |
| <a title="Follow Druid" href="https://twitter.com/druidio" target="_blank"><span class="fab fa-twitter"></span></a> ·  |
| <a title="GitHub" href="https://github.com/apache/druid" target="_blank"><span class="fab fa-github"></span></a> |
| </div> |
| <div class="text-center license"> |
| Copyright © 2020 <a href="https://www.apache.org/" target="_blank">Apache Software Foundation</a>.<br> |
| Except where otherwise noted, licensed under <a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/">CC BY-SA 4.0</a>.<br> |
| Apache Druid, Druid, and the Druid logo are either registered trademarks or trademarks of The Apache Software Foundation in the United States and other countries. |
| </div> |
| </div> |
| </footer> |
| |
| <script async src="https://www.googletagmanager.com/gtag/js?id=UA-131010415-1"></script> |
| <script> |
| window.dataLayer = window.dataLayer || []; |
| function gtag(){dataLayer.push(arguments);} |
| gtag('js', new Date()); |
| gtag('config', 'UA-131010415-1'); |
| </script> |
| <script> |
| function trackDownload(type, url) { |
| ga('send', 'event', 'download', type, url); |
| } |
| </script> |
| <script src="//code.jquery.com/jquery.min.js"></script> |
| <script src="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script> |
| <script src="/assets/js/druid.js"></script> |
| <!-- stop page_footer include --> |
| |
| |
| <script> |
| $(function() { |
| $(".toc").load("/docs/0.15.1-incubating/toc.html"); |
| |
| // There is no way to tell when .gsc-input will be async loaded into the page so just try to set a placeholder until it works |
| var tries = 0; |
| var timer = setInterval(function() { |
| tries++; |
| if (tries > 300) clearInterval(timer); |
| var searchInput = $('input.gsc-input'); |
| if (searchInput.length) { |
| searchInput.attr('placeholder', 'Search'); |
| clearInterval(timer); |
| } |
| }, 100); |
| }); |
| </script> |
| </body> |
| </html> |