This is an automated email from the ASF dual-hosted git repository.
gian pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-druid.git
The following commit(s) were added to refs/heads/master by this push:
new c028d18 update redis-cache documentation (#6109)
c028d18 is described below
commit c028d18d74a54a423531ba7cf5c9b98606c1869b
Author: pdeva <[email protected]>
AuthorDate: Thu Aug 9 13:44:59 2018 -0700
update redis-cache documentation (#6109)
* update redis-cache documentation
added clarifying info on setup and enablement
* added link
---
docs/content/development/extensions-contrib/redis-cache.md | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/docs/content/development/extensions-contrib/redis-cache.md
b/docs/content/development/extensions-contrib/redis-cache.md
index cd16925..b38d7cb 100644
--- a/docs/content/development/extensions-contrib/redis-cache.md
+++ b/docs/content/development/extensions-contrib/redis-cache.md
@@ -8,9 +8,14 @@ Druid Redis Cache
A cache implementation for Druid based on
[Redis](https://github.com/antirez/redis).
# Configuration
-Below are the configuration options known to this module:
+Below are the configuration options known to this module.
-|`runtime.properties`|Description|Default|Required|
+Note that just adding these properties does not enable the cache. You still
need to add the `druid.<nodetype>.cache.useCache` and
`druid.<nodetype>.cache.populateCache` properties for the nodes you want to
enable the cache on as described in the [cache configuration
docs](../../configuration/caching.html).
+
+A possible configuration would be to keep the properties below in your
`common.runtime.properties` file (present on all nodes) and then add
`druid.<nodetype>.cache.useCache` and `druid.<nodetype>.cache.populateCache` in
the `runtime.properties` file of the node types you want to enable caching on.
+
+
+|`common.runtime.properties`|Description|Default|Required|
|--------------------|-----------|-------|--------|
|`druid.cache.host`|Redis server host|None|yes|
|`druid.cache.port`|Redis server port|None|yes|
@@ -29,4 +34,4 @@ In addition to the normal cache metrics, the redis cache
implementation also rep
|Metric|Description|Normal value|
|------|-----------|------------|
-|`query/cache/redis/*/requests`|Count of requests to redis cache|whatever
request to redis will increase request count by 1|
\ No newline at end of file
+|`query/cache/redis/*/requests`|Count of requests to redis cache|whatever
request to redis will increase request count by 1|
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]