Unfortunately, the functionality you are looking for is not available in S3Emitter for Amazon Kinesis at the moment, but just works as a buffer that is flushed based on the amount of input data, see respectively. comment :
This IEmitter implementation is used to store files from a Kinesis stream in S3. [...] When the buffer is full , this method emits a class that adds the contents of the buffer to S3 as a single file. The file name generated from the first and last sequence numbers of the entries contained in this file is a divided dash . [...] [emphasis mine]
In addition, Kinesis does not have a first-level date concept for events (respectively data records), but only refers to sequence numbers, so you need to add them accordingly. data processing at the application level, see the "Data Recording" section of Amazon Kinesis Terminology :
Data records are data units that are stored in an Amazon Kinesis stream. Data records consist of a sequence number, a partition key, and a data block , which is an uninterpreted immutable sequence of bytes. Amazon Kinesis does not validate, interpret, or modify data in a block in any way . [...] [emphasis mine]
Steffen opel
source share