Class RedisSink

java.lang.Object
org.apache.pulsar.io.redis.sink.RedisSink
All Implemented Interfaces:
AutoCloseable, Sink<byte[]>

public class RedisSink extends Object implements Sink<byte[]>
A Simple Redis sink, which stores the key/value records from Pulsar in redis. Note that records from Pulsar with null keys or values will be ignored. This class expects records from Pulsar to have a key and value that are stored as bytes or a string.