Class AbstractConcurrentKafkaListenerContainerFactoryBuilder<K,V>

java.lang.Object
org.swisspush.kobuka.spring.AbstractConcurrentKafkaListenerContainerFactoryBuilder<K,V>
All Implemented Interfaces:
Cloneable, Builder<org.springframework.kafka.config.ConcurrentKafkaListenerContainerFactory<K,V>>
Direct Known Subclasses:
ConcurrentKafkaListenerContainerFactoryBuilder

@Generated("PojoBuilder") public abstract class AbstractConcurrentKafkaListenerContainerFactoryBuilder<K,V> extends Object implements Builder<org.springframework.kafka.config.ConcurrentKafkaListenerContainerFactory<K,V>>, Cloneable
  • Field Details

    • self

    • value$withContainerProperties$java$util$function$UnaryOperator

      protected UnaryOperator<ContainerPropertiesBuilder> value$withContainerProperties$java$util$function$UnaryOperator
    • isSet$withContainerProperties$java$util$function$UnaryOperator

      protected boolean isSet$withContainerProperties$java$util$function$UnaryOperator
    • value$consumerFactory$org$springframework$kafka$core$ConsumerFactory

      protected org.springframework.kafka.core.ConsumerFactory<? super K,? super V> value$consumerFactory$org$springframework$kafka$core$ConsumerFactory
    • isSet$consumerFactory$org$springframework$kafka$core$ConsumerFactory

      protected boolean isSet$consumerFactory$org$springframework$kafka$core$ConsumerFactory
    • value$autoStartup$java$lang$Boolean

      protected Boolean value$autoStartup$java$lang$Boolean
    • isSet$autoStartup$java$lang$Boolean

      protected boolean isSet$autoStartup$java$lang$Boolean
    • value$phase$int

      protected int value$phase$int
    • isSet$phase$int

      protected boolean isSet$phase$int
    • value$messageConverter$org$springframework$kafka$support$converter$MessageConverter

      protected org.springframework.kafka.support.converter.MessageConverter value$messageConverter$org$springframework$kafka$support$converter$MessageConverter
    • isSet$messageConverter$org$springframework$kafka$support$converter$MessageConverter

      protected boolean isSet$messageConverter$org$springframework$kafka$support$converter$MessageConverter
    • value$recordFilterStrategy$org$springframework$kafka$listener$adapter$RecordFilterStrategy

      protected org.springframework.kafka.listener.adapter.RecordFilterStrategy<? super K,? super V> value$recordFilterStrategy$org$springframework$kafka$listener$adapter$RecordFilterStrategy
    • isSet$recordFilterStrategy$org$springframework$kafka$listener$adapter$RecordFilterStrategy

      protected boolean isSet$recordFilterStrategy$org$springframework$kafka$listener$adapter$RecordFilterStrategy
    • value$ackDiscarded$java$lang$Boolean

      protected Boolean value$ackDiscarded$java$lang$Boolean
    • isSet$ackDiscarded$java$lang$Boolean

      protected boolean isSet$ackDiscarded$java$lang$Boolean
    • value$batchListener$java$lang$Boolean

      protected Boolean value$batchListener$java$lang$Boolean
    • isSet$batchListener$java$lang$Boolean

      protected boolean isSet$batchListener$java$lang$Boolean
    • value$replyTemplate$org$springframework$kafka$core$KafkaTemplate

      protected org.springframework.kafka.core.KafkaTemplate<?,?> value$replyTemplate$org$springframework$kafka$core$KafkaTemplate
    • isSet$replyTemplate$org$springframework$kafka$core$KafkaTemplate

      protected boolean isSet$replyTemplate$org$springframework$kafka$core$KafkaTemplate
    • value$errorHandler$org$springframework$kafka$listener$ErrorHandler

      protected org.springframework.kafka.listener.ErrorHandler value$errorHandler$org$springframework$kafka$listener$ErrorHandler
    • isSet$errorHandler$org$springframework$kafka$listener$ErrorHandler

      protected boolean isSet$errorHandler$org$springframework$kafka$listener$ErrorHandler
    • value$batchErrorHandler$org$springframework$kafka$listener$BatchErrorHandler

      protected org.springframework.kafka.listener.BatchErrorHandler value$batchErrorHandler$org$springframework$kafka$listener$BatchErrorHandler
    • isSet$batchErrorHandler$org$springframework$kafka$listener$BatchErrorHandler

      protected boolean isSet$batchErrorHandler$org$springframework$kafka$listener$BatchErrorHandler
    • value$commonErrorHandler$org$springframework$kafka$listener$CommonErrorHandler

      protected org.springframework.kafka.listener.CommonErrorHandler value$commonErrorHandler$org$springframework$kafka$listener$CommonErrorHandler
    • isSet$commonErrorHandler$org$springframework$kafka$listener$CommonErrorHandler

      protected boolean isSet$commonErrorHandler$org$springframework$kafka$listener$CommonErrorHandler
    • value$afterRollbackProcessor$org$springframework$kafka$listener$AfterRollbackProcessor

      protected org.springframework.kafka.listener.AfterRollbackProcessor<? super K,? super V> value$afterRollbackProcessor$org$springframework$kafka$listener$AfterRollbackProcessor
    • isSet$afterRollbackProcessor$org$springframework$kafka$listener$AfterRollbackProcessor

      protected boolean isSet$afterRollbackProcessor$org$springframework$kafka$listener$AfterRollbackProcessor
    • value$replyHeadersConfigurer$org$springframework$kafka$listener$adapter$ReplyHeadersConfigurer

      protected org.springframework.kafka.listener.adapter.ReplyHeadersConfigurer value$replyHeadersConfigurer$org$springframework$kafka$listener$adapter$ReplyHeadersConfigurer
    • isSet$replyHeadersConfigurer$org$springframework$kafka$listener$adapter$ReplyHeadersConfigurer

      protected boolean isSet$replyHeadersConfigurer$org$springframework$kafka$listener$adapter$ReplyHeadersConfigurer
    • value$missingTopicsFatal$boolean

      protected boolean value$missingTopicsFatal$boolean
    • isSet$missingTopicsFatal$boolean

      protected boolean isSet$missingTopicsFatal$boolean
    • value$recordInterceptor$org$springframework$kafka$listener$RecordInterceptor

      protected org.springframework.kafka.listener.RecordInterceptor<K,V> value$recordInterceptor$org$springframework$kafka$listener$RecordInterceptor
    • isSet$recordInterceptor$org$springframework$kafka$listener$RecordInterceptor

      protected boolean isSet$recordInterceptor$org$springframework$kafka$listener$RecordInterceptor
    • value$batchInterceptor$org$springframework$kafka$listener$BatchInterceptor

      protected org.springframework.kafka.listener.BatchInterceptor<K,V> value$batchInterceptor$org$springframework$kafka$listener$BatchInterceptor
    • isSet$batchInterceptor$org$springframework$kafka$listener$BatchInterceptor

      protected boolean isSet$batchInterceptor$org$springframework$kafka$listener$BatchInterceptor
    • value$batchToRecordAdapter$org$springframework$kafka$listener$adapter$BatchToRecordAdapter

      protected org.springframework.kafka.listener.adapter.BatchToRecordAdapter<K,V> value$batchToRecordAdapter$org$springframework$kafka$listener$adapter$BatchToRecordAdapter
    • isSet$batchToRecordAdapter$org$springframework$kafka$listener$adapter$BatchToRecordAdapter

      protected boolean isSet$batchToRecordAdapter$org$springframework$kafka$listener$adapter$BatchToRecordAdapter
    • value$containerCustomizer$org$springframework$kafka$config$ContainerCustomizer

      protected org.springframework.kafka.config.ContainerCustomizer<K,V,org.springframework.kafka.listener.ConcurrentMessageListenerContainer<K,V>> value$containerCustomizer$org$springframework$kafka$config$ContainerCustomizer
    • isSet$containerCustomizer$org$springframework$kafka$config$ContainerCustomizer

      protected boolean isSet$containerCustomizer$org$springframework$kafka$config$ContainerCustomizer
    • value$correlationHeaderName$java$lang$String

      protected String value$correlationHeaderName$java$lang$String
    • isSet$correlationHeaderName$java$lang$String

      protected boolean isSet$correlationHeaderName$java$lang$String
    • value$changeConsumerThreadName$boolean

      protected boolean value$changeConsumerThreadName$boolean
    • isSet$changeConsumerThreadName$boolean

      protected boolean isSet$changeConsumerThreadName$boolean
    • value$threadNameSupplier$java$util$function$Function

      protected Function<org.springframework.kafka.listener.MessageListenerContainer,String> value$threadNameSupplier$java$util$function$Function
    • isSet$threadNameSupplier$java$util$function$Function

      protected boolean isSet$threadNameSupplier$java$util$function$Function
    • value$concurrency$java$lang$Integer

      protected Integer value$concurrency$java$lang$Integer
    • isSet$concurrency$java$lang$Integer

      protected boolean isSet$concurrency$java$lang$Integer
  • Constructor Details

  • Method Details

    • withContainerProperties

      Sets the default value for the withContainerProperties property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • consumerFactory

      public ConcurrentKafkaListenerContainerFactoryBuilder<K,V> consumerFactory(org.springframework.kafka.core.ConsumerFactory<? super K,? super V> value)
      Sets the default value for the consumerFactory property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • autoStartup

      Sets the default value for the autoStartup property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • phase

      Sets the default value for the phase property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • messageConverter

      public ConcurrentKafkaListenerContainerFactoryBuilder<K,V> messageConverter(org.springframework.kafka.support.converter.MessageConverter value)
      Sets the default value for the messageConverter property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • recordFilterStrategy

      public ConcurrentKafkaListenerContainerFactoryBuilder<K,V> recordFilterStrategy(org.springframework.kafka.listener.adapter.RecordFilterStrategy<? super K,? super V> value)
      Sets the default value for the recordFilterStrategy property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • ackDiscarded

      Sets the default value for the ackDiscarded property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • batchListener

      Sets the default value for the batchListener property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • replyTemplate

      public ConcurrentKafkaListenerContainerFactoryBuilder<K,V> replyTemplate(org.springframework.kafka.core.KafkaTemplate<?,?> value)
      Sets the default value for the replyTemplate property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • errorHandler

      public ConcurrentKafkaListenerContainerFactoryBuilder<K,V> errorHandler(org.springframework.kafka.listener.ErrorHandler value)
      Sets the default value for the errorHandler property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • batchErrorHandler

      public ConcurrentKafkaListenerContainerFactoryBuilder<K,V> batchErrorHandler(org.springframework.kafka.listener.BatchErrorHandler value)
      Sets the default value for the batchErrorHandler property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • commonErrorHandler

      public ConcurrentKafkaListenerContainerFactoryBuilder<K,V> commonErrorHandler(org.springframework.kafka.listener.CommonErrorHandler value)
      Sets the default value for the commonErrorHandler property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • afterRollbackProcessor

      public ConcurrentKafkaListenerContainerFactoryBuilder<K,V> afterRollbackProcessor(org.springframework.kafka.listener.AfterRollbackProcessor<? super K,? super V> value)
      Sets the default value for the afterRollbackProcessor property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • replyHeadersConfigurer

      public ConcurrentKafkaListenerContainerFactoryBuilder<K,V> replyHeadersConfigurer(org.springframework.kafka.listener.adapter.ReplyHeadersConfigurer value)
      Sets the default value for the replyHeadersConfigurer property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • missingTopicsFatal

      public ConcurrentKafkaListenerContainerFactoryBuilder<K,V> missingTopicsFatal(boolean value)
      Sets the default value for the missingTopicsFatal property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • recordInterceptor

      public ConcurrentKafkaListenerContainerFactoryBuilder<K,V> recordInterceptor(org.springframework.kafka.listener.RecordInterceptor<K,V> value)
      Sets the default value for the recordInterceptor property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • batchInterceptor

      public ConcurrentKafkaListenerContainerFactoryBuilder<K,V> batchInterceptor(org.springframework.kafka.listener.BatchInterceptor<K,V> value)
      Sets the default value for the batchInterceptor property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • batchToRecordAdapter

      public ConcurrentKafkaListenerContainerFactoryBuilder<K,V> batchToRecordAdapter(org.springframework.kafka.listener.adapter.BatchToRecordAdapter<K,V> value)
      Sets the default value for the batchToRecordAdapter property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • containerCustomizer

      public ConcurrentKafkaListenerContainerFactoryBuilder<K,V> containerCustomizer(org.springframework.kafka.config.ContainerCustomizer<K,V,org.springframework.kafka.listener.ConcurrentMessageListenerContainer<K,V>> value)
      Sets the default value for the containerCustomizer property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • correlationHeaderName

      public ConcurrentKafkaListenerContainerFactoryBuilder<K,V> correlationHeaderName(String value)
      Sets the default value for the correlationHeaderName property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • changeConsumerThreadName

      public ConcurrentKafkaListenerContainerFactoryBuilder<K,V> changeConsumerThreadName(boolean value)
      Sets the default value for the changeConsumerThreadName property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • threadNameSupplier

      public ConcurrentKafkaListenerContainerFactoryBuilder<K,V> threadNameSupplier(Function<org.springframework.kafka.listener.MessageListenerContainer,String> value)
      Sets the default value for the threadNameSupplier property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • concurrency

      Sets the default value for the concurrency property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • clone

      @GwtIncompatible public Object clone()
      Returns a clone of this builder.
      Overrides:
      clone in class Object
      Returns:
      the clone
    • but

      @GwtIncompatible public ConcurrentKafkaListenerContainerFactoryBuilder<K,V> but()
      Returns a clone of this builder.
      Returns:
      the clone
    • build

      public org.springframework.kafka.config.ConcurrentKafkaListenerContainerFactory<K,V> build()
      Creates a new ConcurrentKafkaListenerContainerFactory based on this builder's settings.
      Specified by:
      build in interface Builder<K>
      Returns:
      the created ConcurrentKafkaListenerContainerFactory