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