Merge pull request #1549 from himanshug/example_router_config

adding router config to examples/config
This commit is contained in:
Xavier Léauté 2015-07-27 10:15:48 -07:00
commit ccd46088b2
3 changed files with 53 additions and 0 deletions

View File

@ -0,0 +1,26 @@
#
# Licensed to Metamarkets Group Inc. (Metamarkets) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. Metamarkets licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
#
# Note that, if you are starting a Middle Manager then you must
# uncomment following property in overlord/runtime.properties
# druid.indexer.runner.type=remote
druid.service=middleManager
druid.indexer.runner.javaOpts="-server -Xmx256m"

View File

@ -29,3 +29,7 @@ druid.indexer.runner.javaOpts="-server -Xmx256m"
# Please see our recommended production settings in the docs (http://druid.io/docs/latest/Production-Cluster-Configuration.html)
druid.indexer.fork.property.druid.processing.numThreads=1
druid.indexer.fork.property.druid.computation.buffer.size=100000000
# Uncomment following property if you are running Middle Manager
# druid.indexer.runner.type=remote

View File

@ -0,0 +1,23 @@
#
# Licensed to Metamarkets Group Inc. (Metamarkets) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. Metamarkets licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
#
druid.service=router
druid.router.defaultBrokerServiceName=broker
druid.router.coordinatorServiceName=coordinator