Class KinesisShardSplit

  • All Implemented Interfaces:
    org.apache.flink.api.connector.source.SourceSplit

    @Internal
    public final class KinesisShardSplit
    extends Object
    implements org.apache.flink.api.connector.source.SourceSplit
    Contains information about the kinesis stream and shard. Serves as a communication mechanism between the KinesisStreamsSourceEnumerator and the SplitReader. Information provided here should be immutable. This class is stored in state, so any changes need to be backwards compatible.
    • Method Detail

      • splitId

        public String splitId()
        Specified by:
        splitId in interface org.apache.flink.api.connector.source.SourceSplit
      • getStreamArn

        public String getStreamArn()
      • getShardId

        public String getShardId()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object