-
Notifications
You must be signed in to change notification settings - Fork 1
/
environment_broker
63 lines (46 loc) · 3.27 KB
/
environment_broker
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
DRUID_LOG4J=<?xml version="1.0" encoding="UTF-8"?><Configuration status="WARN"><Appenders><Console name="Console" target="SYSTEM_OUT"><PatternLayout pattern="%d{ISO8601} %p [%t] %c - %m%n" /></Console></Appenders><Loggers><Root level="info"><AppenderRef ref="Console" /></Root><Logger name="org.apache.druid.server.QueryLifecycle" level="info" additivity="false"><Appender-ref ref="Console" /></Logger><Logger name="org.apache.druid.server.coordinator" level="info" additivity="false"><Appender-ref ref="Console" /></Logger><Logger name="org.apache.druid.segment" level="info" additivity="false"><Appender-ref ref="Console" /></Logger><Logger name="org.apache.druid.initialization" level="info" additivity="false"><Appender-ref ref="Console" /></Logger><Logger name="org.skife.config" level="warn" additivity="false"><Appender-ref ref="Console" /></Logger><Logger name="com.sun.jersey.guice" level="warn" additivity="false"><Appender-ref ref="Console" /></Logger></Loggers></Configuration>
druid_extensions_loadList=["druid-basic-security", "druid-bloom-filter", "druid-datasketches", "druid-hdfs-storage", "druid-histogram", "druid-parquet-extensions", "druid-kafka-extraction-namespace", "druid-kafka-indexing-service", "druid-kinesis-indexing-service", "druid-lookups-cached-global", "druid-lookups-cached-single", "druid-orc-extensions", "druid-stats", "druid-time-min-max", "druid-redis-cache", "kafka-emitter", "postgresql-metadata-storage", "druid-lookups-cached-global" ]
# Logging
# Log all runtime properties on startup. Disable to avoid logging properties on startup:
druid_startup_logging_logProperties=true
# Zookeeper
druid_zk_service_host=zookeeper
druid_zk_paths_base=/druid
# For PostgreSQL:
druid_metadata_storage_type=postgresql
druid_metadata_storage_connector_connectURI=jdbc:postgresql://postgres:5432/druid
druid_metadata_storage_connector_user=druid
druid_metadata_storage_connector_password=druid
# Deep storage with HDFS
druid_storage_type=hdfs
druid_indexer_logs_type=hdfs
druid_storage_storageDirectory=/opt/shared/segments
druid_indexer_logs_directory=/opt/shared/indexing-logs
# Monitoring
druid_monitoring_monitors=["org.apache.druid.java.util.metrics.JvmMonitor"]
druid_emitter=noop
druid_emitter_logging_logLevel=info
# SQL
druid_sql_enable=true
# Lookups
druid_lookup_enableLookupSyncOnStartup=false
#################### Common Functions Done #####################
# Java tuning
druid_indexer_runner_javaOptsArray=["-server", "-Xms8g", "-Xmx8g", "-XX:MaxDirectMemorySize=5g", "-XX:+ExitOnOutOfMemoryError", "-XX:+UseG1GC", "-Duser.timezone=UTC", "-Dfile.encoding=UTF-8", "-Djava.io.tmpdir=var/tmp", "-Djava.util.logging.manager=org.apache.logging.log4j.jul.LogManager"]
# HTTP server settings
druid_server_http_numThreads=60
# HTTP client settings
druid_broker_http_numConnections=50
druid_broker_http_maxQueuedBytes=10MiB
# Processing threads and buffers
druid_processing_buffer_sizeBytes=500MiB
druid_processing_numMergeBuffers=4
druid_processing_numThreads=1
druid_processing_tmpDir=var/druid/processing
# Query cache disabled -- push down caching and merging instead
druid_broker_cache_useCache=false
druid_broker_cache_populateCache=false
# Segment storage
druid_segmentCache_locations=[{"path":"var/druid/segment-cache","maxSize":"60g"}]
# Extras
druid_auth_allowUnauthenticatedHttpOptions=true