Class PipeSourceParametersDynamodbStreamParameters


  • public final class PipeSourceParametersDynamodbStreamParameters
    extends java.lang.Object
    • Method Detail

      • batchSize

        public java.util.Optional<java.lang.Integer> batchSize()
        Returns:
        Maximum number of records to include in each batch. Maximum value of 10000.
      • maximumBatchingWindowInSeconds

        public java.util.Optional<java.lang.Integer> maximumBatchingWindowInSeconds()
        Returns:
        Maximum length of a time to wait for events. Maximum value of 300.
      • maximumRecordAgeInSeconds

        public java.util.Optional<java.lang.Integer> maximumRecordAgeInSeconds()
        Returns:
        Discard records older than the specified age. The default value is -1, which sets the maximum age to infinite. When the value is set to infinite, EventBridge never discards old records. Maximum value of 604,800.
      • maximumRetryAttempts

        public java.util.Optional<java.lang.Integer> maximumRetryAttempts()
        Returns:
        Discard records after the specified number of retries. The default value is -1, which sets the maximum number of retries to infinite. When MaximumRetryAttempts is infinite, EventBridge retries failed records until the record expires in the event source. Maximum value of 10,000.
      • onPartialBatchItemFailure

        public java.util.Optional<java.lang.String> onPartialBatchItemFailure()
        Returns:
        Define how to handle item process failures. AUTOMATIC_BISECT halves each batch and retry each half until all the records are processed or there is one failed message left in the batch. Valid values: AUTOMATIC_BISECT.
      • parallelizationFactor

        public java.util.Optional<java.lang.Integer> parallelizationFactor()
        Returns:
        Number of batches to process concurrently from each shard. The default value is 1. Maximum value of 10.
      • startingPosition

        public java.lang.String startingPosition()
        Returns:
        Position in a stream from which to start reading. Valid values: TRIM_HORIZON, LATEST.