Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions docs/content/configuration/production-cluster.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ druid.cache.maxOperationQueueSize=1073741824
druid.cache.readBufferSize=10485760

# Indexing Service Service Discovery
druid.selectors.indexing.serviceName=druid:prod:overlord
druid.selectors.indexing.serviceName=druid:overlord

```

Expand Down Expand Up @@ -101,7 +101,7 @@ Runtime.properties:
```
druid.host=#{IP_ADDR}
druid.port=8080
druid.service=druid/prod/overlord
druid.service=druid/overlord

# Only required if you are autoscaling middle managers
druid.indexer.autoscale.doAutoscale=true
Expand Down Expand Up @@ -157,7 +157,7 @@ Runtime.properties:
```
druid.host=#{IP_ADDR}
druid.port=8080
druid.service=druid/prod/middlemanager
druid.service=druid/middlemanager

# Store task logs in deep storage
druid.indexer.logs.type=s3
Expand Down Expand Up @@ -221,7 +221,7 @@ Runtime.properties:
```
druid.host=#{IP_ADDR}
druid.port=8080
druid.service=druid/prod/coordinator
druid.service=druid/coordinator
```

### Historical Node
Expand Down Expand Up @@ -261,7 +261,7 @@ Runtime.properties:
```
druid.host=#{IP_ADDR}
druid.port=8080
druid.service=druid/prod/historical
druid.service=druid/historical

druid.historical.cache.useCache=true
druid.historical.cache.populateCache=true
Expand Down Expand Up @@ -318,7 +318,7 @@ Runtime.properties:
```
druid.host=#{IP_ADDR}
druid.port=8080
druid.service=druid/prod/broker
druid.service=druid/broker

druid.broker.http.numConnections=20
druid.broker.http.readTimeout=PT5M
Expand Down Expand Up @@ -372,7 +372,7 @@ Runtime.properties:
```
druid.host=#{IP_ADDR}
druid.port=8080
druid.service=druid/prod/realtime
druid.service=druid/realtime

druid.processing.buffer.sizeBytes=1073741824
druid.processing.numThreads=7
Expand Down
12 changes: 6 additions & 6 deletions docs/content/development/router.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,12 @@ Runtime.properties:
```
druid.host=#{IP_ADDR}:8080
druid.port=8080
druid.service=druid/prod/router
druid.service=druid/router

druid.processing.numThreads=1
druid.router.defaultBrokerServiceName=druid:prod:broker-cold
druid.router.coordinatorServiceName=druid:prod:coordinator
druid.router.tierToBrokerMap={"hot":"druid:prod:broker-hot","_default_tier":"druid:prod:broker-cold"}
druid.router.defaultBrokerServiceName=druid:broker-cold
druid.router.coordinatorServiceName=druid:coordinator
druid.router.tierToBrokerMap={"hot":"druid:broker-hot","_default_tier":"druid:broker-cold"}
druid.router.http.numConnections=50
druid.router.http.readTimeout=PT5M

Expand All @@ -69,11 +69,11 @@ The router module uses several of the default modules in [Configuration](../conf

|Property|Possible Values|Description|Default|
|--------|---------------|-----------|-------|
|`druid.router.defaultBrokerServiceName`|Any string.|The default broker to connect to in case service discovery fails.|"". Must be set.|
|`druid.router.defaultBrokerServiceName`|Any string.|The default broker to connect to in case service discovery fails.|druid/broker|
|`druid.router.tierToBrokerMap`|An ordered JSON map of tiers to broker names. The priority of brokers is based on the ordering.|Queries for a certain tier of data are routed to their appropriate broker.|{"_default": "<defaultBrokerServiceName>"}|
|`druid.router.defaultRule`|Any string.|The default rule for all datasources.|"_default"|
|`druid.router.rulesEndpoint`|Any string.|The coordinator endpoint to extract rules from.|"/druid/coordinator/v1/rules"|
|`druid.router.coordinatorServiceName`|Any string.|The service discovery name of the coordinator.|null. Must be set.|
|`druid.router.coordinatorServiceName`|Any string.|The service discovery name of the coordinator.|druid/coordinator|
|`druid.router.pollPeriod`|Any ISO8601 duration.|How often to poll for new rules.|PT1M|
|`druid.router.strategies`|An ordered JSON array of objects.|All custom strategies to use for routing.|[{"type":"timeBoundary"},{"type":"priority"}]|

Expand Down
8 changes: 4 additions & 4 deletions docs/content/tutorials/tutorial-the-druid-cluster.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ In the directory, there should be a `runtime.properties` file with the following
```
druid.host=localhost
druid.port=8081
druid.service=coordinator
druid.service=druid/coordinator

# The coordinator begins assignment operations after the start delay.
# We override the default here to start things up faster for examples.
Expand Down Expand Up @@ -167,7 +167,7 @@ In the directory we just created, we should have the file `runtime.properties` w
```
druid.host=localhost
druid.port=8083
druid.service=historical
druid.service=druid/historical

# We can only 1 scan segment in parallel with these configs.
# Our intermediate buffer is also very small so longer topNs will be slow.
Expand Down Expand Up @@ -200,7 +200,7 @@ In the directory, there should be a `runtime.properties` file with the following
```
druid.host=localhost
druid.port=8082
druid.service=broker
druid.service=druid/broker

druid.broker.cache.useCache=true
druid.broker.cache.populateCache=true
Expand Down Expand Up @@ -267,7 +267,7 @@ The configurations are located in `config/realtime/runtime.properties` and shoul
```
druid.host=localhost
druid.port=8084
druid.service=realtime
druid.service=druid/realtime

# We can only 1 scan segment in parallel with these configs.
# Our intermediate buffer is also very small so longer topNs will be slow.
Expand Down
4 changes: 2 additions & 2 deletions examples/config/_common/common.runtime.properties
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ druid.storage.storageDirectory=/tmp/druid/localStorage
druid.cache.type=local
druid.cache.sizeInBytes=10000000

# Indexing service discovery
druid.selectors.indexing.serviceName=overlord
# Indexing service discovery. Update this if you change your overlord's "druid.service".
# druid.selectors.indexing.serviceName=druid/overlord

# Monitoring (disabled for examples, if you enable SysMonitor, make sure to include sigar jar in your cp)
# druid.monitoring.monitors=["com.metamx.metrics.SysMonitor","com.metamx.metrics.JvmMonitor"]
Expand Down
4 changes: 2 additions & 2 deletions examples/config/broker/runtime.properties
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@
# limitations under the License.
#

# Default host: localhost. Default port: 8082. If you run each node type on its own node in production, you should override these values to be IP:8080
# Default host, port, service name.
#druid.host=localhost
#druid.port=8082
druid.service=broker
#druid.service=druid/broker

# We enable using the local query cache here
druid.broker.cache.useCache=true
Expand Down
4 changes: 2 additions & 2 deletions examples/config/coordinator/runtime.properties
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@
# limitations under the License.
#

# Default host: localhost. Default port: 8081. If you run each node type on its own node in production, you should override these values to be IP:8080
# Default host, port, service name.
#druid.host=localhost
#druid.port=8081
druid.service=coordinator
#druid.service=druid/coordinator

# The coordinator begins assignment operations after the start delay.
# We override the default here to start things up faster for examples.
Expand Down
4 changes: 2 additions & 2 deletions examples/config/historical/runtime.properties
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@
# limitations under the License.
#

# Default host: localhost. Default port: 8083. If you run each node type on its own node in production, you should override these values to be IP:8080
# Default host, port, service name.
#druid.host=localhost
#druid.port=8083
druid.service=historical
#druid.service=druid/historical


# Our intermediate buffer is also very small so longer topNs will be slow.
Expand Down
6 changes: 4 additions & 2 deletions examples/config/middleManager/runtime.properties
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@
# uncomment following property in overlord/runtime.properties
# druid.indexer.runner.type=remote

druid.service=middleManager
# Default host, port, service name.
#druid.host=localhost
#druid.port=8091
#druid.service=druid/middlemanager
druid.indexer.runner.javaOpts=-server -Xmx256m

4 changes: 2 additions & 2 deletions examples/config/overlord/runtime.properties
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@
# limitations under the License.
#

# Default host: localhost. Default port: 8090. If you run each node type on its own node in production, you should override these values to be IP:8080
# Default host, port, service name.
#druid.host=localhost
#druid.port=8090
druid.service=overlord
#druid.service=druid/overlord

# Run the overlord in local mode with a single peon to execute tasks
# This is not recommended for production.
Expand Down
4 changes: 2 additions & 2 deletions examples/config/realtime/runtime.properties
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@
# limitations under the License.
#

# Default host: localhost. Default port: 8084. If you run each node type on its own node in production, you should override these values to be IP:8080
# Default host, port, service name.
#druid.host=localhost
#druid.port=8084
druid.service=realtime
#druid.service=druid/realtime

# We can only 1 scan segment in parallel with these configs.
# Our intermediate buffer is also very small so longer topNs will be slow.
Expand Down
8 changes: 5 additions & 3 deletions examples/config/router/runtime.properties
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@
# under the License.
#

druid.service=router
druid.router.defaultBrokerServiceName=broker
druid.router.coordinatorServiceName=coordinator
# Default service name.
#druid.service=druid/router

# Default broker, coordinator locators.
#druid.router.defaultBrokerServiceName=druid:broker
#druid.router.coordinatorServiceName=druid:coordinator