Package io.aiven.kafka.connect.s3
Class S3OutputStream
java.lang.Object
java.io.OutputStream
io.aiven.kafka.connect.s3.S3OutputStream
- All Implemented Interfaces:
Closeable,Flushable,AutoCloseable
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionS3OutputStream(String bucketName, String key, int partSize, com.amazonaws.services.s3.AmazonS3 client) S3OutputStream(String bucketName, String key, int partSize, com.amazonaws.services.s3.AmazonS3 client, String serverSideEncryptionAlgorithm) -
Method Summary
Methods inherited from class java.io.OutputStream
flush, nullOutputStream, write
-
Field Details
-
DEFAULT_PART_SIZE
public static final int DEFAULT_PART_SIZE- See Also:
-
-
Constructor Details
-
S3OutputStream
-
S3OutputStream
-
-
Method Details
-
write
- Specified by:
writein classOutputStream- Throws:
IOException
-
write
- Overrides:
writein classOutputStream- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classOutputStream- Throws:
IOException
-