Browse code

modules: readme files regenerated - db_redis ... [skip ci]

Kamailio Dev authored on 20/01/2022 11:31:24
Showing 1 changed files
... ...
@@ -178,6 +178,11 @@ allid,time_hires&cid:callid
178 178
    running Kamailio with this module loaded:
179 179
      * hiredis - available at https://github.com/redis/hiredis
180 180
 
181
+   The following library is an optional dependency to support redis
182
+   cluster protocol:
183
+     * hiredis-cluster - available at
184
+       https://github.com/Nordix/hiredis-cluster
185
+
181 186
 4. Parameters
182 187
 
183 188
    4.1. schema_path (string)
... ...
@@ -227,6 +232,10 @@ modparam("db_redis", "verbosity", 0)
227 232
    'redis://[username]@host:port/database'. Username is optional. The
228 233
    database portion must be a valid Redis database number.
229 234
 
235
+   For cluster support you need to set the "db_url" modparam with a comma
236
+   separated list of cluster hosts: 'redis://host1:port1,host2:port2/'.
237
+   The database portion is not supported in cluster mode.
238
+
230 239
    Example 1.4. Usage
231 240
 ...
232 241
 loadmodule "db_redis.so"