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.subjectof EventMesh Runtime and send data toconnectorConfig.topicin your Redis. - send a message to EventMesh with the topic defined in
pubSubConfig.subjectand 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.topicin your Redis and send data topubSubConfig.subjectof EventMesh Runtime. - send a CloudEvent message to the topic in Redis, and you will receive the message in EventMesh.