Interface OutputStreamWriter
- All Known Implementing Classes:
AbstractJsonOutputStreamWriter
,JsonLinesOutputStreamWriter
public interface OutputStreamWriter
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
startWriting
(OutputStream outputStream) default void
stopWriting
(OutputStream outputStream) void
writeOneRecord
(OutputStream outputStream, org.apache.kafka.connect.sink.SinkRecord record) default void
writeRecordsSeparator
(OutputStream outputStream)
-
Method Details
-
startWriting
- Throws:
IOException
-
writeRecordsSeparator
- Throws:
IOException
-
writeOneRecord
void writeOneRecord(OutputStream outputStream, org.apache.kafka.connect.sink.SinkRecord record) throws IOException - Throws:
IOException
-
stopWriting
- Throws:
IOException
-