Class ContainerPropertiesBuilder

java.lang.Object
org.swisspush.kobuka.spring.ContainerPropertiesBuilder
All Implemented Interfaces:
Cloneable, Builder<org.springframework.kafka.listener.ContainerProperties>

@Generated("PojoBuilder") public class ContainerPropertiesBuilder extends Object implements Builder<org.springframework.kafka.listener.ContainerProperties>, Cloneable
  • Field Details

    • self

    • value$factory$org$springframework$kafka$config$ConcurrentKafkaListenerContainerFactory

      protected org.springframework.kafka.config.ConcurrentKafkaListenerContainerFactory<?,?> value$factory$org$springframework$kafka$config$ConcurrentKafkaListenerContainerFactory
    • isSet$factory$org$springframework$kafka$config$ConcurrentKafkaListenerContainerFactory

      protected boolean isSet$factory$org$springframework$kafka$config$ConcurrentKafkaListenerContainerFactory
    • value$pollTimeout$long

      protected long value$pollTimeout$long
    • isSet$pollTimeout$long

      protected boolean isSet$pollTimeout$long
    • value$groupId$java$lang$String

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

      protected boolean isSet$groupId$java$lang$String
    • value$clientId$java$lang$String

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

      protected boolean isSet$clientId$java$lang$String
    • value$consumerRebalanceListener$org$apache$kafka$clients$consumer$ConsumerRebalanceListener

      protected org.apache.kafka.clients.consumer.ConsumerRebalanceListener value$consumerRebalanceListener$org$apache$kafka$clients$consumer$ConsumerRebalanceListener
    • isSet$consumerRebalanceListener$org$apache$kafka$clients$consumer$ConsumerRebalanceListener

      protected boolean isSet$consumerRebalanceListener$org$apache$kafka$clients$consumer$ConsumerRebalanceListener
    • value$commitCallback$org$apache$kafka$clients$consumer$OffsetCommitCallback

      protected org.apache.kafka.clients.consumer.OffsetCommitCallback value$commitCallback$org$apache$kafka$clients$consumer$OffsetCommitCallback
    • isSet$commitCallback$org$apache$kafka$clients$consumer$OffsetCommitCallback

      protected boolean isSet$commitCallback$org$apache$kafka$clients$consumer$OffsetCommitCallback
    • value$offsetAndMetadataProvider$org$springframework$kafka$listener$OffsetAndMetadataProvider

      protected org.springframework.kafka.listener.OffsetAndMetadataProvider value$offsetAndMetadataProvider$org$springframework$kafka$listener$OffsetAndMetadataProvider
    • isSet$offsetAndMetadataProvider$org$springframework$kafka$listener$OffsetAndMetadataProvider

      protected boolean isSet$offsetAndMetadataProvider$org$springframework$kafka$listener$OffsetAndMetadataProvider
    • value$syncCommits$boolean

      protected boolean value$syncCommits$boolean
    • isSet$syncCommits$boolean

      protected boolean isSet$syncCommits$boolean
    • value$commitLogLevel$org$springframework$kafka$support$LogIfLevelEnabled$Level

      protected org.springframework.kafka.support.LogIfLevelEnabled.Level value$commitLogLevel$org$springframework$kafka$support$LogIfLevelEnabled$Level
    • isSet$commitLogLevel$org$springframework$kafka$support$LogIfLevelEnabled$Level

      protected boolean isSet$commitLogLevel$org$springframework$kafka$support$LogIfLevelEnabled$Level
    • value$kafkaConsumerProperties$java$util$Properties

      protected Properties value$kafkaConsumerProperties$java$util$Properties
    • isSet$kafkaConsumerProperties$java$util$Properties

      protected boolean isSet$kafkaConsumerProperties$java$util$Properties
    • value$authExceptionRetryInterval$java$time$Duration

      protected Duration value$authExceptionRetryInterval$java$time$Duration
    • isSet$authExceptionRetryInterval$java$time$Duration

      protected boolean isSet$authExceptionRetryInterval$java$time$Duration
    • value$commitRetries$int

      protected int value$commitRetries$int
    • isSet$commitRetries$int

      protected boolean isSet$commitRetries$int
    • value$fixTxOffsets$boolean

      protected boolean value$fixTxOffsets$boolean
    • isSet$fixTxOffsets$boolean

      protected boolean isSet$fixTxOffsets$boolean
    • value$checkDeserExWhenKeyNull$boolean

      protected boolean value$checkDeserExWhenKeyNull$boolean
    • isSet$checkDeserExWhenKeyNull$boolean

      protected boolean isSet$checkDeserExWhenKeyNull$boolean
    • value$checkDeserExWhenValueNull$boolean

      protected boolean value$checkDeserExWhenValueNull$boolean
    • isSet$checkDeserExWhenValueNull$boolean

      protected boolean isSet$checkDeserExWhenValueNull$boolean
    • value$messageListener$java$lang$Object

      protected Object value$messageListener$java$lang$Object
    • isSet$messageListener$java$lang$Object

      protected boolean isSet$messageListener$java$lang$Object
    • value$ackMode$org$springframework$kafka$listener$ContainerProperties$AckMode

      protected org.springframework.kafka.listener.ContainerProperties.AckMode value$ackMode$org$springframework$kafka$listener$ContainerProperties$AckMode
    • isSet$ackMode$org$springframework$kafka$listener$ContainerProperties$AckMode

      protected boolean isSet$ackMode$org$springframework$kafka$listener$ContainerProperties$AckMode
    • value$ackCount$int

      protected int value$ackCount$int
    • isSet$ackCount$int

      protected boolean isSet$ackCount$int
    • value$ackTime$long

      protected long value$ackTime$long
    • isSet$ackTime$long

      protected boolean isSet$ackTime$long
    • value$listenerTaskExecutor$org$springframework$core$task$AsyncTaskExecutor

      protected org.springframework.core.task.AsyncTaskExecutor value$listenerTaskExecutor$org$springframework$core$task$AsyncTaskExecutor
    • isSet$listenerTaskExecutor$org$springframework$core$task$AsyncTaskExecutor

      protected boolean isSet$listenerTaskExecutor$org$springframework$core$task$AsyncTaskExecutor
    • value$shutdownTimeout$long

      protected long value$shutdownTimeout$long
    • isSet$shutdownTimeout$long

      protected boolean isSet$shutdownTimeout$long
    • value$syncCommitTimeout$java$time$Duration

      protected Duration value$syncCommitTimeout$java$time$Duration
    • isSet$syncCommitTimeout$java$time$Duration

      protected boolean isSet$syncCommitTimeout$java$time$Duration
    • value$idleEventInterval$java$lang$Long

      protected Long value$idleEventInterval$java$lang$Long
    • isSet$idleEventInterval$java$lang$Long

      protected boolean isSet$idleEventInterval$java$lang$Long
    • value$idleBeforeDataMultiplier$double

      protected double value$idleBeforeDataMultiplier$double
    • isSet$idleBeforeDataMultiplier$double

      protected boolean isSet$idleBeforeDataMultiplier$double
    • value$idlePartitionEventInterval$java$lang$Long

      protected Long value$idlePartitionEventInterval$java$lang$Long
    • isSet$idlePartitionEventInterval$java$lang$Long

      protected boolean isSet$idlePartitionEventInterval$java$lang$Long
    • value$transactionManager$org$springframework$transaction$PlatformTransactionManager

      protected org.springframework.transaction.PlatformTransactionManager value$transactionManager$org$springframework$transaction$PlatformTransactionManager
    • isSet$transactionManager$org$springframework$transaction$PlatformTransactionManager

      protected boolean isSet$transactionManager$org$springframework$transaction$PlatformTransactionManager
    • value$monitorInterval$int

      protected int value$monitorInterval$int
    • isSet$monitorInterval$int

      protected boolean isSet$monitorInterval$int
    • value$scheduler$org$springframework$scheduling$TaskScheduler

      protected org.springframework.scheduling.TaskScheduler value$scheduler$org$springframework$scheduling$TaskScheduler
    • isSet$scheduler$org$springframework$scheduling$TaskScheduler

      protected boolean isSet$scheduler$org$springframework$scheduling$TaskScheduler
    • value$noPollThreshold$float

      protected float value$noPollThreshold$float
    • isSet$noPollThreshold$float

      protected boolean isSet$noPollThreshold$float
    • value$logContainerConfig$boolean

      protected boolean value$logContainerConfig$boolean
    • isSet$logContainerConfig$boolean

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

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

      protected boolean isSet$missingTopicsFatal$boolean
    • value$idleBetweenPolls$long

      protected long value$idleBetweenPolls$long
    • isSet$idleBetweenPolls$long

      protected boolean isSet$idleBetweenPolls$long
    • value$micrometerEnabled$boolean

      protected boolean value$micrometerEnabled$boolean
    • isSet$micrometerEnabled$boolean

      protected boolean isSet$micrometerEnabled$boolean
    • value$observationEnabled$boolean

      protected boolean value$observationEnabled$boolean
    • isSet$observationEnabled$boolean

      protected boolean isSet$observationEnabled$boolean
    • value$micrometerTags$java$util$Map

      protected Map<String,String> value$micrometerTags$java$util$Map
    • isSet$micrometerTags$java$util$Map

      protected boolean isSet$micrometerTags$java$util$Map
    • value$consumerStartTimeout$java$time$Duration

      protected Duration value$consumerStartTimeout$java$time$Duration
    • isSet$consumerStartTimeout$java$time$Duration

      protected boolean isSet$consumerStartTimeout$java$time$Duration
    • value$subBatchPerPartition$java$lang$Boolean

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

      protected boolean isSet$subBatchPerPartition$java$lang$Boolean
    • value$assignmentCommitOption$org$springframework$kafka$listener$ContainerProperties$AssignmentCommitOption

      protected org.springframework.kafka.listener.ContainerProperties.AssignmentCommitOption value$assignmentCommitOption$org$springframework$kafka$listener$ContainerProperties$AssignmentCommitOption
    • isSet$assignmentCommitOption$org$springframework$kafka$listener$ContainerProperties$AssignmentCommitOption

      protected boolean isSet$assignmentCommitOption$org$springframework$kafka$listener$ContainerProperties$AssignmentCommitOption
    • value$deliveryAttemptHeader$boolean

      protected boolean value$deliveryAttemptHeader$boolean
    • isSet$deliveryAttemptHeader$boolean

      protected boolean isSet$deliveryAttemptHeader$boolean
    • value$eosMode$org$springframework$kafka$listener$ContainerProperties$EOSMode

      protected org.springframework.kafka.listener.ContainerProperties.EOSMode value$eosMode$org$springframework$kafka$listener$ContainerProperties$EOSMode
    • isSet$eosMode$org$springframework$kafka$listener$ContainerProperties$EOSMode

      protected boolean isSet$eosMode$org$springframework$kafka$listener$ContainerProperties$EOSMode
    • value$transactionDefinition$org$springframework$transaction$TransactionDefinition

      protected org.springframework.transaction.TransactionDefinition value$transactionDefinition$org$springframework$transaction$TransactionDefinition
    • isSet$transactionDefinition$org$springframework$transaction$TransactionDefinition

      protected boolean isSet$transactionDefinition$org$springframework$transaction$TransactionDefinition
    • value$adviceChain$org$aopalliance$aop$Advice$L

      protected org.aopalliance.aop.Advice[] value$adviceChain$org$aopalliance$aop$Advice$L
    • isSet$adviceChain$org$aopalliance$aop$Advice$L

      protected boolean isSet$adviceChain$org$aopalliance$aop$Advice$L
    • value$stopContainerWhenFenced$boolean

      protected boolean value$stopContainerWhenFenced$boolean
    • isSet$stopContainerWhenFenced$boolean

      protected boolean isSet$stopContainerWhenFenced$boolean
    • value$stopImmediate$boolean

      protected boolean value$stopImmediate$boolean
    • isSet$stopImmediate$boolean

      protected boolean isSet$stopImmediate$boolean
    • value$asyncAcks$boolean

      protected boolean value$asyncAcks$boolean
    • isSet$asyncAcks$boolean

      protected boolean isSet$asyncAcks$boolean
    • value$pauseImmediate$boolean

      protected boolean value$pauseImmediate$boolean
    • isSet$pauseImmediate$boolean

      protected boolean isSet$pauseImmediate$boolean
    • value$observationConvention$org$springframework$kafka$support$micrometer$KafkaListenerObservationConvention

      protected org.springframework.kafka.support.micrometer.KafkaListenerObservationConvention value$observationConvention$org$springframework$kafka$support$micrometer$KafkaListenerObservationConvention
    • isSet$observationConvention$org$springframework$kafka$support$micrometer$KafkaListenerObservationConvention

      protected boolean isSet$observationConvention$org$springframework$kafka$support$micrometer$KafkaListenerObservationConvention
  • Constructor Details

  • Method Details

    • factory

      public ContainerPropertiesBuilder factory(org.springframework.kafka.config.ConcurrentKafkaListenerContainerFactory<?,?> value)
      Sets the default value for the factory property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • pollTimeout

      public ContainerPropertiesBuilder pollTimeout(long value)
      Sets the default value for the pollTimeout property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • groupId

      public ContainerPropertiesBuilder groupId(String value)
      Sets the default value for the groupId property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • clientId

      public ContainerPropertiesBuilder clientId(String value)
      Sets the default value for the clientId property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • consumerRebalanceListener

      public ContainerPropertiesBuilder consumerRebalanceListener(org.apache.kafka.clients.consumer.ConsumerRebalanceListener value)
      Sets the default value for the consumerRebalanceListener property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • commitCallback

      public ContainerPropertiesBuilder commitCallback(org.apache.kafka.clients.consumer.OffsetCommitCallback value)
      Sets the default value for the commitCallback property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • offsetAndMetadataProvider

      public ContainerPropertiesBuilder offsetAndMetadataProvider(org.springframework.kafka.listener.OffsetAndMetadataProvider value)
      Sets the default value for the offsetAndMetadataProvider property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • syncCommits

      public ContainerPropertiesBuilder syncCommits(boolean value)
      Sets the default value for the syncCommits property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • commitLogLevel

      public ContainerPropertiesBuilder commitLogLevel(org.springframework.kafka.support.LogIfLevelEnabled.Level value)
      Sets the default value for the commitLogLevel property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • kafkaConsumerProperties

      public ContainerPropertiesBuilder kafkaConsumerProperties(Properties value)
      Sets the default value for the kafkaConsumerProperties property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • authExceptionRetryInterval

      public ContainerPropertiesBuilder authExceptionRetryInterval(Duration value)
      Sets the default value for the authExceptionRetryInterval property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • commitRetries

      public ContainerPropertiesBuilder commitRetries(int value)
      Sets the default value for the commitRetries property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • fixTxOffsets

      public ContainerPropertiesBuilder fixTxOffsets(boolean value)
      Sets the default value for the fixTxOffsets property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • checkDeserExWhenKeyNull

      public ContainerPropertiesBuilder checkDeserExWhenKeyNull(boolean value)
      Sets the default value for the checkDeserExWhenKeyNull property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • checkDeserExWhenValueNull

      public ContainerPropertiesBuilder checkDeserExWhenValueNull(boolean value)
      Sets the default value for the checkDeserExWhenValueNull property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • messageListener

      public ContainerPropertiesBuilder messageListener(Object value)
      Sets the default value for the messageListener property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • ackMode

      public ContainerPropertiesBuilder ackMode(org.springframework.kafka.listener.ContainerProperties.AckMode value)
      Sets the default value for the ackMode property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • ackCount

      public ContainerPropertiesBuilder ackCount(int value)
      Sets the default value for the ackCount property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • ackTime

      public ContainerPropertiesBuilder ackTime(long value)
      Sets the default value for the ackTime property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • listenerTaskExecutor

      public ContainerPropertiesBuilder listenerTaskExecutor(org.springframework.core.task.AsyncTaskExecutor value)
      Sets the default value for the listenerTaskExecutor property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • shutdownTimeout

      public ContainerPropertiesBuilder shutdownTimeout(long value)
      Sets the default value for the shutdownTimeout property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • syncCommitTimeout

      public ContainerPropertiesBuilder syncCommitTimeout(Duration value)
      Sets the default value for the syncCommitTimeout property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • idleEventInterval

      public ContainerPropertiesBuilder idleEventInterval(Long value)
      Sets the default value for the idleEventInterval property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • idleBeforeDataMultiplier

      public ContainerPropertiesBuilder idleBeforeDataMultiplier(double value)
      Sets the default value for the idleBeforeDataMultiplier property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • idlePartitionEventInterval

      public ContainerPropertiesBuilder idlePartitionEventInterval(Long value)
      Sets the default value for the idlePartitionEventInterval property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • transactionManager

      public ContainerPropertiesBuilder transactionManager(org.springframework.transaction.PlatformTransactionManager value)
      Sets the default value for the transactionManager property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • monitorInterval

      public ContainerPropertiesBuilder monitorInterval(int value)
      Sets the default value for the monitorInterval property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • scheduler

      public ContainerPropertiesBuilder scheduler(org.springframework.scheduling.TaskScheduler value)
      Sets the default value for the scheduler property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • noPollThreshold

      public ContainerPropertiesBuilder noPollThreshold(float value)
      Sets the default value for the noPollThreshold property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • logContainerConfig

      public ContainerPropertiesBuilder logContainerConfig(boolean value)
      Sets the default value for the logContainerConfig property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • missingTopicsFatal

      public ContainerPropertiesBuilder missingTopicsFatal(boolean value)
      Sets the default value for the missingTopicsFatal property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • idleBetweenPolls

      public ContainerPropertiesBuilder idleBetweenPolls(long value)
      Sets the default value for the idleBetweenPolls property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • micrometerEnabled

      public ContainerPropertiesBuilder micrometerEnabled(boolean value)
      Sets the default value for the micrometerEnabled property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • observationEnabled

      public ContainerPropertiesBuilder observationEnabled(boolean value)
      Sets the default value for the observationEnabled property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • micrometerTags

      public ContainerPropertiesBuilder micrometerTags(Map<String,String> value)
      Sets the default value for the micrometerTags property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • consumerStartTimeout

      public ContainerPropertiesBuilder consumerStartTimeout(Duration value)
      Sets the default value for the consumerStartTimeout property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • subBatchPerPartition

      public ContainerPropertiesBuilder subBatchPerPartition(Boolean value)
      Sets the default value for the subBatchPerPartition property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • assignmentCommitOption

      public ContainerPropertiesBuilder assignmentCommitOption(org.springframework.kafka.listener.ContainerProperties.AssignmentCommitOption value)
      Sets the default value for the assignmentCommitOption property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • deliveryAttemptHeader

      public ContainerPropertiesBuilder deliveryAttemptHeader(boolean value)
      Sets the default value for the deliveryAttemptHeader property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • eosMode

      public ContainerPropertiesBuilder eosMode(org.springframework.kafka.listener.ContainerProperties.EOSMode value)
      Sets the default value for the eosMode property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • transactionDefinition

      public ContainerPropertiesBuilder transactionDefinition(org.springframework.transaction.TransactionDefinition value)
      Sets the default value for the transactionDefinition property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • adviceChain

      public ContainerPropertiesBuilder adviceChain(org.aopalliance.aop.Advice... value)
      Sets the default value for the adviceChain property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • stopContainerWhenFenced

      public ContainerPropertiesBuilder stopContainerWhenFenced(boolean value)
      Sets the default value for the stopContainerWhenFenced property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • stopImmediate

      public ContainerPropertiesBuilder stopImmediate(boolean value)
      Sets the default value for the stopImmediate property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • asyncAcks

      public ContainerPropertiesBuilder asyncAcks(boolean value)
      Sets the default value for the asyncAcks property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • pauseImmediate

      public ContainerPropertiesBuilder pauseImmediate(boolean value)
      Sets the default value for the pauseImmediate property.
      Parameters:
      value - the default value
      Returns:
      this builder
    • observationConvention

      public ContainerPropertiesBuilder observationConvention(org.springframework.kafka.support.micrometer.KafkaListenerObservationConvention value)
      Sets the default value for the observationConvention 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 ContainerPropertiesBuilder but()
      Returns a clone of this builder.
      Returns:
      the clone
    • build

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