Package io.aiven.kafka.connect.s3
Class S3ObjectWriter
java.lang.Object
io.aiven.kafka.connect.s3.S3ObjectWriter
- All Implemented Interfaces:
AutoCloseable
-
Constructor Summary
ConstructorsConstructorDescriptionS3ObjectWriter(software.amazon.awssdk.services.s3.S3Client client, S3SinkConfig config, String fullKey) -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()voidwriteRecords(List<org.apache.kafka.connect.sink.SinkRecord> records)
-
Constructor Details
-
S3ObjectWriter
public S3ObjectWriter(software.amazon.awssdk.services.s3.S3Client client, S3SinkConfig config, String fullKey) throws IOException - Throws:
IOException
-
-
Method Details
-
writeRecords
- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Throws:
IOException
-