Package org.swisspush.kobuka.spring
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 Summary
FieldsModifier and TypeFieldDescriptionprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected ContainerPropertiesBuilderprotected intprotected org.springframework.kafka.listener.ContainerProperties.AckModeprotected longprotected org.aopalliance.aop.Advice[]protected org.springframework.kafka.listener.ContainerProperties.AssignmentCommitOptionprotected booleanprotected Durationprotected booleanprotected booleanprotected Stringprotected org.apache.kafka.clients.consumer.OffsetCommitCallbackprotected org.springframework.kafka.support.LogIfLevelEnabled.Levelprotected intprotected org.apache.kafka.clients.consumer.ConsumerRebalanceListenerprotected Durationprotected booleanprotected org.springframework.kafka.listener.ContainerProperties.EOSModeprotected org.springframework.kafka.config.ConcurrentKafkaListenerContainerFactory<?,?> protected booleanprotected Stringprotected doubleprotected longprotected Longprotected Longprotected Propertiesprotected org.springframework.core.task.AsyncTaskExecutorprotected booleanprotected Objectprotected booleanprotected booleanprotected intprotected floatprotected org.springframework.kafka.support.micrometer.KafkaListenerObservationConventionprotected booleanprotected org.springframework.kafka.listener.OffsetAndMetadataProviderprotected booleanprotected longprotected org.springframework.scheduling.TaskSchedulerprotected longprotected booleanprotected booleanprotected Booleanprotected booleanprotected Durationprotected org.springframework.transaction.TransactionDefinitionprotected org.springframework.transaction.PlatformTransactionManager -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionackCount(int value) Sets the default value for the ackCount property.ackMode(org.springframework.kafka.listener.ContainerProperties.AckMode value) Sets the default value for the ackMode property.ackTime(long value) Sets the default value for the ackTime property.adviceChain(org.aopalliance.aop.Advice... value) Sets the default value for the adviceChain property.assignmentCommitOption(org.springframework.kafka.listener.ContainerProperties.AssignmentCommitOption value) Sets the default value for the assignmentCommitOption property.asyncAcks(boolean value) Sets the default value for the asyncAcks property.Sets the default value for the authExceptionRetryInterval property.org.springframework.kafka.listener.ContainerPropertiesbuild()Creates a newContainerPropertiesbased on this builder's settings.but()Returns a clone of this builder.checkDeserExWhenKeyNull(boolean value) Sets the default value for the checkDeserExWhenKeyNull property.checkDeserExWhenValueNull(boolean value) Sets the default value for the checkDeserExWhenValueNull property.Sets the default value for the clientId property.clone()Returns a clone of this builder.commitCallback(org.apache.kafka.clients.consumer.OffsetCommitCallback value) Sets the default value for the commitCallback property.commitLogLevel(org.springframework.kafka.support.LogIfLevelEnabled.Level value) Sets the default value for the commitLogLevel property.commitRetries(int value) Sets the default value for the commitRetries property.consumerRebalanceListener(org.apache.kafka.clients.consumer.ConsumerRebalanceListener value) Sets the default value for the consumerRebalanceListener property.consumerStartTimeout(Duration value) Sets the default value for the consumerStartTimeout property.deliveryAttemptHeader(boolean value) Sets the default value for the deliveryAttemptHeader property.eosMode(org.springframework.kafka.listener.ContainerProperties.EOSMode value) Sets the default value for the eosMode property.factory(org.springframework.kafka.config.ConcurrentKafkaListenerContainerFactory<?, ?> value) Sets the default value for the factory property.fixTxOffsets(boolean value) Sets the default value for the fixTxOffsets property.Sets the default value for the groupId property.idleBeforeDataMultiplier(double value) Sets the default value for the idleBeforeDataMultiplier property.idleBetweenPolls(long value) Sets the default value for the idleBetweenPolls property.idleEventInterval(Long value) Sets the default value for the idleEventInterval property.idlePartitionEventInterval(Long value) Sets the default value for the idlePartitionEventInterval property.Sets the default value for the kafkaConsumerProperties property.listenerTaskExecutor(org.springframework.core.task.AsyncTaskExecutor value) Sets the default value for the listenerTaskExecutor property.logContainerConfig(boolean value) Sets the default value for the logContainerConfig property.messageListener(Object value) Sets the default value for the messageListener property.micrometerEnabled(boolean value) Sets the default value for the micrometerEnabled property.micrometerTags(Map<String, String> value) Sets the default value for the micrometerTags property.missingTopicsFatal(boolean value) Sets the default value for the missingTopicsFatal property.monitorInterval(int value) Sets the default value for the monitorInterval property.noPollThreshold(float value) Sets the default value for the noPollThreshold property.observationConvention(org.springframework.kafka.support.micrometer.KafkaListenerObservationConvention value) Sets the default value for the observationConvention property.observationEnabled(boolean value) Sets the default value for the observationEnabled property.offsetAndMetadataProvider(org.springframework.kafka.listener.OffsetAndMetadataProvider value) Sets the default value for the offsetAndMetadataProvider property.pauseImmediate(boolean value) Sets the default value for the pauseImmediate property.pollTimeout(long value) Sets the default value for the pollTimeout property.scheduler(org.springframework.scheduling.TaskScheduler value) Sets the default value for the scheduler property.shutdownTimeout(long value) Sets the default value for the shutdownTimeout property.stopContainerWhenFenced(boolean value) Sets the default value for the stopContainerWhenFenced property.stopImmediate(boolean value) Sets the default value for the stopImmediate property.subBatchPerPartition(Boolean value) Sets the default value for the subBatchPerPartition property.syncCommits(boolean value) Sets the default value for the syncCommits property.syncCommitTimeout(Duration value) Sets the default value for the syncCommitTimeout property.transactionDefinition(org.springframework.transaction.TransactionDefinition value) Sets the default value for the transactionDefinition property.transactionManager(org.springframework.transaction.PlatformTransactionManager value) Sets the default value for the transactionManager property.Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.swisspush.kobuka.spring.internal.Builder
asSupplier, build
-
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
-
isSet$groupId$java$lang$String
protected boolean isSet$groupId$java$lang$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
-
isSet$kafkaConsumerProperties$java$util$Properties
protected boolean isSet$kafkaConsumerProperties$java$util$Properties -
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
-
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
-
isSet$syncCommitTimeout$java$time$Duration
protected boolean isSet$syncCommitTimeout$java$time$Duration -
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
-
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
-
isSet$micrometerTags$java$util$Map
protected boolean isSet$micrometerTags$java$util$Map -
value$consumerStartTimeout$java$time$Duration
-
isSet$consumerStartTimeout$java$time$Duration
protected boolean isSet$consumerStartTimeout$java$time$Duration -
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
-
ContainerPropertiesBuilder
public ContainerPropertiesBuilder()Creates a newContainerPropertiesBuilder.
-
-
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
Sets the default value for the pollTimeout property.- Parameters:
value- the default value- Returns:
- this builder
-
groupId
Sets the default value for the groupId property.- Parameters:
value- the default value- Returns:
- this builder
-
clientId
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
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
Sets the default value for the kafkaConsumerProperties property.- Parameters:
value- the default value- Returns:
- this builder
-
authExceptionRetryInterval
Sets the default value for the authExceptionRetryInterval property.- Parameters:
value- the default value- Returns:
- this builder
-
commitRetries
Sets the default value for the commitRetries property.- Parameters:
value- the default value- Returns:
- this builder
-
fixTxOffsets
Sets the default value for the fixTxOffsets property.- Parameters:
value- the default value- Returns:
- this builder
-
checkDeserExWhenKeyNull
Sets the default value for the checkDeserExWhenKeyNull property.- Parameters:
value- the default value- Returns:
- this builder
-
checkDeserExWhenValueNull
Sets the default value for the checkDeserExWhenValueNull property.- Parameters:
value- the default value- Returns:
- this builder
-
messageListener
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
Sets the default value for the ackCount property.- Parameters:
value- the default value- Returns:
- this builder
-
ackTime
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
Sets the default value for the shutdownTimeout property.- Parameters:
value- the default value- Returns:
- this builder
-
syncCommitTimeout
Sets the default value for the syncCommitTimeout property.- Parameters:
value- the default value- Returns:
- this builder
-
idleEventInterval
Sets the default value for the idleEventInterval property.- Parameters:
value- the default value- Returns:
- this builder
-
idleBeforeDataMultiplier
Sets the default value for the idleBeforeDataMultiplier property.- Parameters:
value- the default value- Returns:
- this builder
-
idlePartitionEventInterval
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
Sets the default value for the monitorInterval property.- Parameters:
value- the default value- Returns:
- this builder
-
scheduler
Sets the default value for the scheduler property.- Parameters:
value- the default value- Returns:
- this builder
-
noPollThreshold
Sets the default value for the noPollThreshold property.- Parameters:
value- the default value- Returns:
- this builder
-
logContainerConfig
Sets the default value for the logContainerConfig property.- Parameters:
value- the default value- Returns:
- this builder
-
missingTopicsFatal
Sets the default value for the missingTopicsFatal property.- Parameters:
value- the default value- Returns:
- this builder
-
idleBetweenPolls
Sets the default value for the idleBetweenPolls property.- Parameters:
value- the default value- Returns:
- this builder
-
micrometerEnabled
Sets the default value for the micrometerEnabled property.- Parameters:
value- the default value- Returns:
- this builder
-
observationEnabled
Sets the default value for the observationEnabled property.- Parameters:
value- the default value- Returns:
- this builder
-
micrometerTags
Sets the default value for the micrometerTags property.- Parameters:
value- the default value- Returns:
- this builder
-
consumerStartTimeout
Sets the default value for the consumerStartTimeout property.- Parameters:
value- the default value- Returns:
- this builder
-
subBatchPerPartition
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
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
Sets the default value for the adviceChain property.- Parameters:
value- the default value- Returns:
- this builder
-
stopContainerWhenFenced
Sets the default value for the stopContainerWhenFenced property.- Parameters:
value- the default value- Returns:
- this builder
-
stopImmediate
Sets the default value for the stopImmediate property.- Parameters:
value- the default value- Returns:
- this builder
-
asyncAcks
Sets the default value for the asyncAcks property.- Parameters:
value- the default value- Returns:
- this builder
-
pauseImmediate
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
Returns a clone of this builder. -
but
Returns a clone of this builder.- Returns:
- the clone
-
build
public org.springframework.kafka.listener.ContainerProperties build()Creates a newContainerPropertiesbased on this builder's settings.
-