mirror of
https://github.com/apache/druid.git
synced 2025-03-07 09:49:16 +00:00
* Docusaurus build framework + ingestion doc refresh. * stick to npm instead of yarn * fix typos * restore some _bin * Adjustments. * detect and fix redirect anchors * update anchor lint * Web-console: remove specific column filters (#8343) * add clear filter * update tool kit * remove usless check * auto run * add % * Fix resource leak (#8337) * Fix resource leak * Patch comments * Enable Spotbugs NP_NONNULL_RETURN_VIOLATION (#8234) * Fixes from PR review. * Fix more anchors. * Preamble nix. * Fix more anchors, headers * clean up placeholder page * add to website lint to travis config * better broken link checking * travis fix * Fixed more broken links * better redirects * unfancy catch * fix LGTM error * link fixes * fix md issues * Addl fixes
2.4 KiB
2.4 KiB
id | title |
---|---|
kafka-emitter | Kafka Emitter |
To use this Apache Druid (incubating) extension, make sure to include kafka-emitter
extension.
Introduction
This extension emits Druid metrics to Apache Kafka directly with JSON format.
Currently, Kafka has not only their nice ecosystem but also consumer API readily available.
So, If you currently use Kafka, It's easy to integrate various tool or UI
to monitor the status of your Druid cluster with this extension.
Configuration
All the configuration parameters for the Kafka emitter are under druid.emitter.kafka
.
property | description | required? | default |
---|---|---|---|
druid.emitter.kafka.bootstrap.servers |
Comma-separated Kafka broker. ([hostname:port],[hostname:port]... ) |
yes | none |
druid.emitter.kafka.metric.topic |
Kafka topic name for emitter's target to emit service metric. | yes | none |
druid.emitter.kafka.alert.topic |
Kafka topic name for emitter's target to emit alert. | yes | none |
druid.emitter.kafka.producer.config |
JSON formatted configuration which user want to set additional properties to Kafka producer. | no | none |
druid.emitter.kafka.clusterName |
Optional value to specify name of your druid cluster. It can help make groups in your monitoring environment. | no | none |
Example
druid.emitter.kafka.bootstrap.servers=hostname1:9092,hostname2:9092
druid.emitter.kafka.metric.topic=druid-metric
druid.emitter.kafka.alert.topic=druid-alert
druid.emitter.kafka.producer.config={"max.block.ms":10000}