Saat ini, Konektor Flink Redis tidak tersedia tetapi dapat diimplementasikan dengan memperluas kelas RichSinkFunction/SinkFunction.
public class RedisSink extends RichSinkFunction<String> {
@Override
public void open(Configuration parameters) throws Exception {
//open redis connection
}
@Override
public void invoke(String map) throws Exception {
//sink data to redis
}
@Override
public void close() throws Exception {
super.close();
}
}