The maximum size in bytes of the last User Record that we can add to the Stream Record.
The maximum size in bytes of the last User Record that we can add to the Stream Record. This is very empiric becuase we don't have access to the size function of the aggregated record.
The maximum number of linear back-off retries before giving up and throwing an exception
The maximum number of linear back-off retries before giving up and throwing an exception
The maximum size of the aggregated record in bytes before the last record is added.
The maximum size of the aggregated record in bytes before the last record is added. Look above for explanation.
Send an iterator of byte[] to Kinesis.
Send an iterator of byte[] to Kinesis.
Example:
val it = List( Array[Byte](10, 11, 23), Array[Byte](6, 4, 13) ).toIterator val client = new AmazonKinesisClient(new ProfileCredentialsProvider("my-custom-profile")) KinesisWriter.write("test-stream", it, client)
The name of the Kinesis Stream where the data should go to
The iterator containing byte arrays
The Kinesis client responsible for sending the data to the Kinesis Streams
Send an iterator of byte[] to Kinesis.
Send an iterator of byte[] to Kinesis. It uses a default Kinesis client built using DefaultAWSCredentialsProviderChain and the default region.
Example:
val it = List( Array[Byte](10, 11, 23), Array[Byte](6, 4, 13) ).toIterator KinesisWriter.write("test-stream", it)
The name of the Kinesis Stream where the data should go to
The iterator containing byte arrays