forked from apache/kvrocks
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathkvrocks2redis.conf
27 lines (20 loc) · 928 Bytes
/
kvrocks2redis.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
################################ GENERAL #####################################
# The value should be INFO, WARNING, ERROR, FATAL
# default is INFO
loglevel INFO
# By default kvrocks2redis does not run as a daemon. Use 'yes' if you need it.
# Note that kvrocks2redis will write a pid file in /var/run/kvrocks2redis.pid when daemonized.
daemonize no
# The working directory
#
# The kvrocks node db directory
# Note that you must specify a directory here, not a file name.
dir /tmp/kvrocks
# Sync kvrocks node. Use the node's Psync command to get the newest wal raw write_batch
#
# kvrocks <kvrocks_ip> <kvrocks_port> <kvrocks_auth>
kvrocks 127.0.0.1 6666 foobared
################################ NAMESPACE AND Sync Target Redis #####################################
# namespace.{namespace} <redis_ip> <redis_port> <auth> <db_number>
namespace.test 127.0.0.1 6379 foobared 1
namespace.__namespace 127.0.0.1 6379 foobared 0