public class TestGenericObjectSink extends Object implements Sink<org.apache.pulsar.client.api.schema.GenericObject>
| Constructor and Description |
|---|
TestGenericObjectSink() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
open(Map<String,Object> config,
SinkContext sourceContext) |
void |
write(Record<org.apache.pulsar.client.api.schema.GenericObject> record) |
public void open(Map<String,Object> config, SinkContext sourceContext) throws Exception
public void write(Record<org.apache.pulsar.client.api.schema.GenericObject> record)
public void close()
throws Exception
close in interface AutoCloseableExceptionCopyright © 2017–2022 Apache Software Foundation. All rights reserved.