Apache Druid: a high performance real-time analytics database.
Go to file
Paul Rogers f4dcc52dac
Redesign QueryContext class (#13071)
We introduce two new configuration keys that refine the query context security model controlled by druid.auth.authorizeQueryContextParams. When that value is set to true then two other configuration options become available:

druid.auth.unsecuredContextKeys: The set of query context keys that do not require a security check. Use this for the "white-list" of key to allow. All other keys go through the existing context key security checks.
druid.auth.securedContextKeys: The set of query context keys that do require a security check. Use this when you want to allow all but a specific set of keys: only these keys go through the existing context key security checks.
Both are set using JSON list format:

druid.auth.securedContextKeys=["secretKey1", "secretKey2"]
You generally set one or the other values. If both are set, unsecuredContextKeys acts as exceptions to securedContextKeys.

In addition, Druid defines two query context keys which always bypass checks because Druid uses them internally:

sqlQueryId
sqlStringifyArrays
2022-10-15 11:02:11 +05:30
.github process: update PR template to include release notes (#13188) 2022-10-11 10:29:18 +08:00
.idea Revert Accidental Change to Druid.xml (#13190) 2022-10-06 14:42:35 -07:00
benchmarks Redesign QueryContext class (#13071) 2022-10-15 11:02:11 +05:30
cloud Bump up the version to 25.0.0 (#12975) 2022-08-29 11:27:38 +05:30
codestyle Add druid-multi-stage-query extension. (#12918) 2022-08-23 18:44:01 -07:00
core Redesign QueryContext class (#13071) 2022-10-15 11:02:11 +05:30
dev Make http options the default configurations (#13092) 2022-10-05 05:35:17 +05:30
distribution Move JDK11 ITs to cron stage (#13075) 2022-09-20 09:18:52 -07:00
docs Update nested-columns.md (#13227) 2022-10-14 16:15:46 -07:00
examples Make http options the default configurations (#13092) 2022-10-05 05:35:17 +05:30
extendedset Bump up the version to 25.0.0 (#12975) 2022-08-29 11:27:38 +05:30
extensions-contrib Redesign QueryContext class (#13071) 2022-10-15 11:02:11 +05:30
extensions-core Redesign QueryContext class (#13071) 2022-10-15 11:02:11 +05:30
helm/druid replaces hard-coded probe delays with helm values (#12805) 2022-07-26 14:04:06 +05:30
hll Bump up the version to 25.0.0 (#12975) 2022-08-29 11:27:38 +05:30
hooks Git hooks should fail on errors; pass args to git hooks (#12322) 2022-03-10 09:07:50 +09:00
indexing-hadoop Bump up the version to 25.0.0 (#12975) 2022-08-29 11:27:38 +05:30
indexing-service Adds Idle feature to `SeekableStreamSupervisor` for inactive stream (#13144) 2022-10-12 18:31:08 +05:30
integration-tests Redesign QueryContext class (#13071) 2022-10-15 11:02:11 +05:30
integration-tests-ex Redesign QueryContext class (#13071) 2022-10-15 11:02:11 +05:30
licenses Web console: making the cell filter menu more functional, removing the old query view, and updating d3 (#13169) 2022-10-07 12:44:40 -07:00
processing Redesign QueryContext class (#13071) 2022-10-15 11:02:11 +05:30
publications De-incubation cleanup in code, docs, packaging (#9108) 2020-01-03 12:33:19 -05:00
server Redesign QueryContext class (#13071) 2022-10-15 11:02:11 +05:30
services Redesign QueryContext class (#13071) 2022-10-15 11:02:11 +05:30
sql Redesign QueryContext class (#13071) 2022-10-15 11:02:11 +05:30
web-console Web console: making the cell filter menu more functional, removing the old query view, and updating d3 (#13169) 2022-10-07 12:44:40 -07:00
website Add inline descriptor Protobuf bytes decoder (#13192) 2022-10-11 13:37:28 -05:00
.asf.yaml Add .asf.yaml. (#9083) 2019-12-20 16:45:38 -08:00
.backportrc.json Add 0.18.0 to .backportrc.json to facilitate backport. (#9661) 2020-04-11 13:49:04 -07:00
.codecov.yml Use Codecov (#8388) 2019-08-28 08:49:30 -07:00
.dockerignore Add docker container for druid (#6896) 2019-02-08 12:12:28 +00:00
.gitignore Add CTA and fix typo (#13009) 2022-09-06 11:16:50 -07:00
.lgtm.yml be consistent about referring to the web console by its name (#13118) 2022-09-19 15:02:17 -07:00
.travis.yml Docs: fix doc search (#13164) 2022-10-03 16:48:13 -07:00
CONTRIBUTING.md process: update PR template to include release notes (#13188) 2022-10-11 10:29:18 +08:00
LABELS Add plain text README.txt, use relative link from README.md to build.md (#7611) 2019-05-09 21:29:26 -07:00
LICENSE support Aliyun OSS service as deep storage (#9898) 2020-07-01 22:20:53 -07:00
NOTICE Update year in the notice file and the release process instructions (#12622) 2022-08-23 18:17:18 +05:30
README.md be consistent about referring to the web console by its name (#13118) 2022-09-19 15:02:17 -07:00
README.template De-incubation cleanup in code, docs, packaging (#9108) 2020-01-03 12:33:19 -05:00
check_test_suite.py ignore licenses changes in check test script (#12964) 2022-08-25 12:31:28 -07:00
check_test_suite_test.py ignore licenses changes in check test script (#12964) 2022-08-25 12:31:28 -07:00
it.sh Building druid-it-tools and running for travis in it.sh (#12957) 2022-08-30 12:48:07 +05:30
licenses.yaml Dependency cleanup (#13194) 2022-10-10 20:34:38 +08:00
owasp-dependency-check-suppressions.xml Suppress Calcite CVE (#13119) 2022-09-23 16:23:26 +05:30
pom.xml Dependency cleanup (#13194) 2022-10-10 20:34:38 +08:00
upload.sh Adding licenses and enable apache-rat-plugin. (#6215) 2018-09-18 08:39:26 -07:00

README.md

Build Status Language grade: Java Coverage Status Docker Helm


Website | Twitter | Download | Get Started | Documentation | Community | Build | Contribute | License


Apache Druid

Druid is a high performance real-time analytics database. Druid's main value add is to reduce time to insight and action.

Druid is designed for workflows where fast queries and ingest really matter. Druid excels at powering UIs, running operational (ad-hoc) queries, or handling high concurrency. Consider Druid as an open source alternative to data warehouses for a variety of use cases. The design documentation explains the key concepts.

Getting started

You can get started with Druid with our local or Docker quickstart.

Druid provides a rich set of APIs (via HTTP and JDBC) for loading, managing, and querying your data. You can also interact with Druid via the built-in web console (shown below).

Load data

data loader Kafka

Load streaming and batch data using a point-and-click wizard to guide you through ingestion setup. Monitor one off tasks and ingestion supervisors.

Manage the cluster

management

Manage your cluster with ease. Get a view of your datasources, segments, ingestion tasks, and services from one convenient location. All powered by SQL systems tables, allowing you to see the underlying query for each view.

Issue queries

query view combo

Use the built-in query workbench to prototype DruidSQL and native queries or connect one of the many tools that help you make the most out of Druid.

Documentation

See the latest documentation for the documentation for the current official release. If you need information on a previous release, you can browse previous releases documentation.

Make documentation and tutorials updates in /docs using MarkDown and contribute them using a pull request.

Community

Visit the official project community page to read about getting involved in contributing to Apache Druid, and how we help one another use and operate Druid.

  • Druid users can find help in the druid-user mailing list on Google Groups, and have more technical conversations in #troubleshooting on Slack.
  • Druid development discussions take place in the druid-dev mailing list (dev@druid.apache.org). Subscribe by emailing dev-subscribe@druid.apache.org. For live conversations, join the #dev channel on Slack.

Check out the official community page for details of how to join the community Slack channels.

Find articles written by community members and a calendar of upcoming events on the project site - contribute your own events and articles by submitting a PR in the apache/druid-website-src repository.

Building from source

Please note that JDK 8 or JDK 11 is required to build Druid.

See the latest build guide for instructions on building Apache Druid from source.

Contributing

Please follow the community guidelines for contributing.

For instructions on setting up IntelliJ dev/intellij-setup.md

License

Apache License, Version 2.0