public class S3ManifestEmitter extends S3Emitter
When the buffer is full, this Emitter:
NOTE: the Amazon S3 bucket and Amazon Redshift cluster must be in the same region.
s3Bucket, s3client, s3Endpoint| Constructor and Description |
|---|
S3ManifestEmitter(KinesisConnectorConfiguration configuration) |
| Modifier and Type | Method and Description |
|---|---|
List<byte[]> |
emit(UnmodifiableBuffer<byte[]> buffer)
Invoked when the buffer is full.
|
void |
fail(List<byte[]> records)
This method defines how to handle a set of records that cannot successfully be emitted.
|
void |
shutdown()
This method is called when the KinesisConnectorRecordProcessor is shutdown.
|
getS3FileName, getS3URIpublic S3ManifestEmitter(KinesisConnectorConfiguration configuration)
public List<byte[]> emit(UnmodifiableBuffer<byte[]> buffer) throws IOException
IEmitteremit in interface IEmitter<byte[]>emit in class S3Emitterbuffer - The full buffer of recordsIOException - A failure was reached that is not recoverable, no retry will occur and the fail
method will be calledpublic void fail(List<byte[]> records)
IEmitterCopyright © 2016. All rights reserved.