Class KinesisIO.RecordAggregation.Builder

  • Enclosing class:
    KinesisIO.RecordAggregation

    public abstract static class KinesisIO.RecordAggregation.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • maxBufferedTime

        public abstract KinesisIO.RecordAggregation.Builder maxBufferedTime​(org.joda.time.Duration interval)
        Buffer timeout for user records.

        Note: This is only attempted on a best effort basis. In case request latency is too high, timeouts can be delayed.

      • shardRefreshInterval

        public abstract KinesisIO.RecordAggregation.Builder shardRefreshInterval​(org.joda.time.Duration interval)
        Refresh interval for shards.

        This is used for shard aware record aggregation to assign all records hashed to a particular shard to the same explicit hash key. Set to Duration.ZERO to disable loading shards.