Class KafkaAppender.Builder<B extends KafkaAppender.Builder<B>>

Type Parameters:
B - The type to build
All Implemented Interfaces:
Enclosing class:

public static class KafkaAppender.Builder<B extends KafkaAppender.Builder<B>> extends AbstractAppender.Builder<B> implements Builder<KafkaAppender>
Builds KafkaAppender instances.
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • build

      public KafkaAppender build()
      Description copied from interface: Builder
      Builds the object after all configuration has been set. This will use default values for any unspecified attributes for the object.
      Specified by:
      build in interface Builder<B extends KafkaAppender.Builder<B>>
      the configured instance.
    • getRetryCount

      public Integer getRetryCount()
    • getTopic

      public String getTopic()
    • isSendEventTimestamp

      public boolean isSendEventTimestamp()
    • isSyncSend

      public boolean isSyncSend()
    • setKey

      public B setKey(String key)
    • setRetryCount

      @Deprecated public B setRetryCount(String retryCount)
    • setRetryCount

      public B setRetryCount(int retryCount)
    • setSendEventTimestamp

      public B setSendEventTimestamp(boolean sendEventTimestamp)
    • setSyncSend

      public B setSyncSend(boolean syncSend)
    • setTopic

      public B setTopic(String topic)