use of io.confluent.connect.s3.storage.S3Storage in project kafka-connect-storage-cloud by confluentinc.
the class TopicPartitionWriterTest method setUp.
public void setUp() throws Exception {
super.setUp();
s3 = newS3Client(connectorConfig);
storage = new S3Storage(connectorConfig, url, S3_TEST_BUCKET_NAME, s3);
format = new AvroFormat(storage);
Format<S3SinkConnectorConfig, String> format = new AvroFormat(storage);
writerProvider = format.getRecordWriterProvider();
extension = writerProvider.getExtension();
}
Aggregations