Class StreamProcessorDescriptor.PolicyDescriptor

    • Field Detail

      • DEFAULT_DELAY

        public static final Duration DEFAULT_DELAY
      • DEFAULT_MAX_DELAY

        public static final Duration DEFAULT_MAX_DELAY
      • DEFAULT_BATCH_CAPACITY

        public static final Integer DEFAULT_BATCH_CAPACITY
      • DEFAULT_BATCH_THRESHOLD

        public static final Duration DEFAULT_BATCH_THRESHOLD
      • maxRetries

        public Integer maxRetries
      • continueOnFailure

        public Boolean continueOnFailure
      • skipFirstFailures

        public Integer skipFirstFailures
      • batchCapacity

        public Integer batchCapacity
      • batchThreshold

        public Duration batchThreshold
    • Constructor Detail

      • PolicyDescriptor

        public PolicyDescriptor()
    • Method Detail

      • getId

        public String getId()
        Description copied from interface: Descriptor
        The descriptor id, descriptors with same id are merged.

        To forbid multiple descriptors use UNIQUE_DESCRIPTOR_ID.

        To forbid merge use a unique value, non-overriden toString() for exemple.

        Specified by:
        getId in interface Descriptor
      • getSkipFirstFailures

        protected int getSkipFirstFailures()