public class RedisSink extends Object implements Sink<byte[]>
| Constructor and Description |
|---|
RedisSink() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
open(Map<String,Object> config,
SinkContext sinkContext) |
void |
write(org.apache.pulsar.functions.api.Record<byte[]> record) |
public void open(Map<String,Object> config, SinkContext sinkContext) throws Exception
public void write(org.apache.pulsar.functions.api.Record<byte[]> record)
throws Exception
public void close()
throws Exception
close in interface AutoCloseableExceptionCopyright © 2017–2021 Apache Software Foundation. All rights reserved.