Redis
RedisSinkConnector: From EventMesh to Redis topic queue
- start your Redis instance if needed and EventMesh Runtime.
- enable sinkConnector and check
sink-config.yml
. - start your
RedisConnectServer
, it will subscribe to the topic defined inpubSubConfig.subject
of EventMesh Runtime and send data toconnectorConfig.topic
in your Redis. - send a message to EventMesh with the topic defined in
pubSubConfig.subject
and then you will receive the message in Redis.
pubSubConfig:
# default port 10000
meshAddress: your.eventmesh.server:10000
subject: TopicTest
idc: FT
env: PRD
group: redisSink
appId: 5031
userName: redisSinkUser
passWord: redisPassWord
connectorConfig:
connectorName: redisSink
server: redis://127.0.0.1:6379
# the topic in redis
topic: SinkTopic
RedisSourceConnector: From Redis topic queue to EventMesh
- start your Redis instance if needed and EventMesh Runtime.
- enable sourceConnector and check
source-config.yml
(Basically the same assink-config.yml
) - start your
RedisConnectServer
, it will subscribe to the topic defined inconnectorConfig.topic
in your Redis and send data topubSubConfig.subject
of EventMesh Runtime. - send a CloudEvent message to the topic in Redis, and you will receive the message in EventMesh.