Class AzureBlobWriter
java.lang.Object
io.aiven.kafka.connect.azure.sink.AzureBlobWriter
- All Implemented Interfaces:
AutoCloseable
-
Constructor Summary
ConstructorsConstructorDescriptionAzureBlobWriter(com.azure.storage.blob.BlobContainerClient containerClient, AzureBlobSinkConfig config, String filename) -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()voidwriteRecords(List<org.apache.kafka.connect.sink.SinkRecord> records)
-
Constructor Details
-
AzureBlobWriter
public AzureBlobWriter(com.azure.storage.blob.BlobContainerClient containerClient, AzureBlobSinkConfig config, String filename) throws IOException - Throws:
IOException
-
-
Method Details
-
writeRecords
- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Throws:
IOException
-