Class TestByteStateSource
java.lang.Object
org.apache.pulsar.tests.integration.io.TestByteStateSource
- All Implemented Interfaces:
AutoCloseable,org.apache.pulsar.io.core.Source<byte[]>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
VALUE_BASE64
- See Also:
-
-
Constructor Details
-
TestByteStateSource
public TestByteStateSource()
-
-
Method Details
-
open
public void open(Map<String, Object> config, org.apache.pulsar.io.core.SourceContext sourceContext) throws Exception- Specified by:
openin interfaceorg.apache.pulsar.io.core.Source<byte[]>- Throws:
Exception
-
read
- Specified by:
readin interfaceorg.apache.pulsar.io.core.Source<byte[]>- Throws:
Exception
-
close
- Specified by:
closein interfaceAutoCloseable- Throws:
Exception
-