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 in pubSubConfig.subject of EventMesh Runtime and send data to connectorConfig.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: redisPassWordconnectorConfig: 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 as sink-config.yml) - start your
RedisConnectServer, it will subscribe to the topic defined in connectorConfig.topic in your Redis and send data to pubSubConfig.subject of EventMesh Runtime. - send a CloudEvent message to the topic in Redis, and you will receive the message in EventMesh.