Class KinesisShardSplitReaderBase.RecordBatch

  • Enclosing class:
    KinesisShardSplitReaderBase

    @Internal
    protected static class KinesisShardSplitReaderBase.RecordBatch
    extends Object
    Dataclass to store a batch of Kinesis records with metadata. Used to pass Kinesis records from the SplitReader implementation to the SplitReaderBase.
    • Constructor Detail

      • RecordBatch

        public RecordBatch​(List<software.amazon.awssdk.services.kinesis.model.Record> records,
                           long millisBehindLatest,
                           boolean completed)
    • Method Detail

      • getRecords

        public List<software.amazon.awssdk.services.kinesis.model.Record> getRecords()
      • getMillisBehindLatest

        public long getMillisBehindLatest()
      • isCompleted

        public boolean isCompleted()