Class EventWriterConfig

  • All Implemented Interfaces:
    java.io.Serializable

    public class EventWriterConfig
    extends java.lang.Object
    implements java.io.Serializable
    See Also:
    Serialized Form
    • Method Detail

      • getInitialBackoffMillis

        public int getInitialBackoffMillis()
        Initial backoff in milli seconds used in the retry logic of the writer. The default value is 1ms.
        Returns:
        Initial backoff in milli seconds used in the retry logic of the writer.
      • getMaxBackoffMillis

        public int getMaxBackoffMillis()
        Maximum backoff in milli seconds used in the retry logic of the writer. The default value is 20000.
        Returns:
        Maximum backoff in milli seconds used in the retry logic of the writer.
      • getRetryAttempts

        public int getRetryAttempts()
        Maximum retry attempts performed by the writer before throwing a RetriesExhaustedException. The default value is 10.
        Returns:
        Maximum retry attempts performed by the writer before throwing a RetriesExhaustedException.
      • getBackoffMultiple

        public int getBackoffMultiple()
        Backoff multiplier used in the retry logic of the writer. The default value is 10.
        Returns:
        Backoff multiplier used in the retry logic of the writer.
      • isEnableConnectionPooling

        public boolean isEnableConnectionPooling()
        Enable or disable connection pooling for writer. The default value is false.
        Returns:
        Enable or disable connection pooling for writer.
      • getTransactionTimeoutTime

        public long getTransactionTimeoutTime()
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • canEqual

        protected boolean canEqual​(java.lang.Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object