layout: doc_page

Broker Node Configuration

For general Broker Node information, see here.

Runtime Configuration

The broker module uses several of the default modules in Configuration and has the following set of configurations as well:

PropertyPossible ValuesDescriptionDefault
druid.broker.cache.typelocal, memcachedThe type of cache to use for queries.local
druid.broker.balancer.typerandom, connectionCountDetermines how the broker balances connections to historical nodes. random choose randomly, connectionCount picks the node with the fewest number of active connections torandom

Local Cache

PropertyDescriptionDefault
druid.broker.cache.sizeInBytesMaximum cache size in bytes. Zero disables caching.0
druid.broker.cache.initialSizeInitial size of the hashtable backing the cache.500000
druid.broker.cache.logEvictionCountIf non-zero, log cache eviction every logEvictionCount items.0

Memcache

PropertyDescriptionDefault
druid.broker.cache.expirationMemcached expiration time.2592000 (30 days)
druid.broker.cache.timeoutMaximum time in milliseconds to wait for a response from Memcached.500
druid.broker.cache.hostsCommand separated list of Memcached hosts <host:port>.none
druid.broker.cache.maxObjectSizeMaximum object size in bytes for a Memcached object.52428800 (50 MB)
druid.broker.cache.memcachedPrefixKey prefix for all keys in Memcached.druid