From 0.4.7
, zero system support native RedisClient
that has been provided by vert.x, you can read current tutorial
to check the details about how to configure redis client in zero system.
Be sure the extension up.god.file name existing in lime
node:
zero:
lime: redis
vertx:
instance:
- name: vx-zero
options:
# Fix block 2000 limit issue.
maxEventLoopExecuteTime: 30000000000
redis: io.vertx.mod.plugin.redis.RedisInfix
redis:
host: 0.0.0.0
port: 6379
Just like vertx-mysql.yml
configuration, here all the redis
node keys are native supported by vert.x, you can
provide all the native configuration keys to redis
in zero system.
Here are the redis standalong configuration part and in forward tutorials we'll introduce the client usage in zero system.