- All Implemented Interfaces:
AutoCloseable, Sink<org.apache.pulsar.client.api.schema.GenericObject>
public class TestGenericObjectSink
extends Object
implements Sink<org.apache.pulsar.client.api.schema.GenericObject>
-
Constructor Summary
Constructors
-
Method Summary
void
void
void
write(Record<org.apache.pulsar.client.api.schema.GenericObject> record)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
TestGenericObjectSink
public TestGenericObjectSink()
-
Method Details
-
open
- Specified by:
open in interface Sink<org.apache.pulsar.client.api.schema.GenericObject>
- Throws:
Exception
-
write
public void write(Record<org.apache.pulsar.client.api.schema.GenericObject> record)
- Specified by:
write in interface Sink<org.apache.pulsar.client.api.schema.GenericObject>
-