|
| 1 | +# |
| 2 | +# Licensed to Metamarkets Group Inc. (Metamarkets) under one |
| 3 | +# or more contributor license agreements. See the NOTICE file |
| 4 | +# distributed with this work for additional information |
| 5 | +# regarding copyright ownership. Metamarkets licenses this file |
| 6 | +# to you under the Apache License, Version 2.0 (the |
| 7 | +# "License"); you may not use this file except in compliance |
| 8 | +# with the License. You may obtain a copy of the License at |
| 9 | +# |
| 10 | +# http://www.apache.org/licenses/LICENSE-2.0 |
| 11 | +# |
| 12 | +# Unless required by applicable law or agreed to in writing, |
| 13 | +# software distributed under the License is distributed on an |
| 14 | +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| 15 | +# KIND, either express or implied. See the License for the |
| 16 | +# specific language governing permissions and limitations |
| 17 | +# under the License. |
| 18 | +# |
| 19 | + |
| 20 | +# |
| 21 | +# Extensions |
| 22 | +# |
| 23 | +druid.extensions.directory=/opt/druid/extensions |
| 24 | +druid.extensions.loadList=["druid-kafka-eight", "druid-histogram", "druid-datasketches", "druid-lookups-cached-global", "mysql-metadata-storage", "druid-kafka-indexing-service", "druid-stats", "kafka-emitter"] |
| 25 | + |
| 26 | +# |
| 27 | +# Logging |
| 28 | +# |
| 29 | +# Log all runtime properties on startup |
| 30 | +druid.startup.logging.logProperties=true |
| 31 | + |
| 32 | +# |
| 33 | +# Zookeeper |
| 34 | +# |
| 35 | +druid.zk.service.host=${ZOOKEEPER_HOST} |
| 36 | +druid.zk.paths.base=/druid |
| 37 | + |
| 38 | +# |
| 39 | +# Metadata storage |
| 40 | +# |
| 41 | +druid.metadata.storage.type=mysql |
| 42 | +druid.metadata.storage.connector.connectURI=jdbc:mysql://${MYSQL_HOST}:${MYSQL_PORT}/${MYSQL_DBNAME} |
| 43 | +druid.metadata.storage.connector.user=${MYSQL_USERNAME} |
| 44 | +druid.metadata.storage.connector.password=${MYSQL_PASSWORD} |
| 45 | + |
| 46 | +# |
| 47 | +# Deep storage |
| 48 | +# |
| 49 | +druid.storage.type=local |
| 50 | +druid.storage.storageDirectory=var/druid/segments |
| 51 | + |
| 52 | +# |
| 53 | +# Indexing service logs |
| 54 | +# |
| 55 | +druid.indexer.logs.type=file |
| 56 | +druid.indexer.logs.directory=var/druid/indexing-logs |
| 57 | + |
| 58 | +# |
| 59 | +# Service discovery |
| 60 | +# |
| 61 | +druid.selectors.indexing.serviceName=druid/overlord |
| 62 | +druid.selectors.coordinator.serviceName=druid/coordinator |
| 63 | + |
| 64 | +# |
| 65 | +# Monitoring |
| 66 | +# |
| 67 | +druid.emitter=kafka |
| 68 | +druid.emitter.kafka.bootstrap.servers=${KAFKA_BOOTSTRAP} |
| 69 | +druid.emitter.kafka.metric.topic=druid-metrics |
| 70 | +druid.emitter.kafka.alert.topic=druid-alerts |
| 71 | +druid.emitter.kafka.producer.config={"max.block.ms":10000} |
| 72 | +druid.emitter.kafka.clusterName=${ENVIRONMENT} |
| 73 | + |
| 74 | +# |
| 75 | +# Javascript post-processors |
| 76 | +# |
| 77 | +druid.javascript.enabled=true |
0 commit comments