@Generated(value="PojoBuilder") public abstract class AbstractConcurrentKafkaListenerContainerFactoryBuilder<K,V> extends Object implements Builder<org.springframework.kafka.config.ConcurrentKafkaListenerContainerFactory<K,V>>, Cloneable
| Constructor and Description |
|---|
AbstractConcurrentKafkaListenerContainerFactoryBuilder()
Creates a new
AbstractConcurrentKafkaListenerContainerFactoryBuilder. |
| Modifier and Type | Method and Description |
|---|---|
ConcurrentKafkaListenerContainerFactoryBuilder<K,V> |
ackDiscarded(Boolean value)
Sets the default value for the ackDiscarded property.
|
ConcurrentKafkaListenerContainerFactoryBuilder<K,V> |
afterRollbackProcessor(org.springframework.kafka.listener.AfterRollbackProcessor<? super K,? super V> value)
Sets the default value for the afterRollbackProcessor property.
|
ConcurrentKafkaListenerContainerFactoryBuilder<K,V> |
autoStartup(Boolean value)
Sets the default value for the autoStartup property.
|
ConcurrentKafkaListenerContainerFactoryBuilder<K,V> |
batchErrorHandler(org.springframework.kafka.listener.BatchErrorHandler value)
Sets the default value for the batchErrorHandler property.
|
ConcurrentKafkaListenerContainerFactoryBuilder<K,V> |
batchInterceptor(org.springframework.kafka.listener.BatchInterceptor<K,V> value)
Sets the default value for the batchInterceptor property.
|
ConcurrentKafkaListenerContainerFactoryBuilder<K,V> |
batchListener(Boolean value)
Sets the default value for the batchListener property.
|
ConcurrentKafkaListenerContainerFactoryBuilder<K,V> |
batchToRecordAdapter(org.springframework.kafka.listener.adapter.BatchToRecordAdapter<K,V> value)
Sets the default value for the batchToRecordAdapter property.
|
org.springframework.kafka.config.ConcurrentKafkaListenerContainerFactory<K,V> |
build()
Creates a new
ConcurrentKafkaListenerContainerFactory based on this builder's settings. |
ConcurrentKafkaListenerContainerFactoryBuilder<K,V> |
but()
Returns a clone of this builder.
|
Object |
clone()
Returns a clone of this builder.
|
ConcurrentKafkaListenerContainerFactoryBuilder<K,V> |
commonErrorHandler(org.springframework.kafka.listener.CommonErrorHandler value)
Sets the default value for the commonErrorHandler property.
|
ConcurrentKafkaListenerContainerFactoryBuilder<K,V> |
concurrency(Integer value)
Sets the default value for the concurrency property.
|
ConcurrentKafkaListenerContainerFactoryBuilder<K,V> |
consumerFactory(org.springframework.kafka.core.ConsumerFactory<? super K,? super V> value)
Sets the default value for the consumerFactory property.
|
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.
|
ConcurrentKafkaListenerContainerFactoryBuilder<K,V> |
errorHandler(org.springframework.kafka.listener.ErrorHandler value)
Sets the default value for the errorHandler property.
|
ConcurrentKafkaListenerContainerFactoryBuilder<K,V> |
messageConverter(org.springframework.kafka.support.converter.MessageConverter value)
Sets the default value for the messageConverter property.
|
ConcurrentKafkaListenerContainerFactoryBuilder<K,V> |
missingTopicsFatal(boolean value)
Sets the default value for the missingTopicsFatal property.
|
ConcurrentKafkaListenerContainerFactoryBuilder<K,V> |
phase(int value)
Sets the default value for the phase property.
|
ConcurrentKafkaListenerContainerFactoryBuilder<K,V> |
recordFilterStrategy(org.springframework.kafka.listener.adapter.RecordFilterStrategy<? super K,? super V> value)
Sets the default value for the recordFilterStrategy property.
|
ConcurrentKafkaListenerContainerFactoryBuilder<K,V> |
recordInterceptor(org.springframework.kafka.listener.RecordInterceptor<K,V> value)
Sets the default value for the recordInterceptor property.
|
ConcurrentKafkaListenerContainerFactoryBuilder<K,V> |
recoveryCallback(org.springframework.retry.RecoveryCallback<? extends Object> value)
Sets the default value for the recoveryCallback property.
|
ConcurrentKafkaListenerContainerFactoryBuilder<K,V> |
replyHeadersConfigurer(org.springframework.kafka.listener.adapter.ReplyHeadersConfigurer value)
Sets the default value for the replyHeadersConfigurer property.
|
ConcurrentKafkaListenerContainerFactoryBuilder<K,V> |
replyTemplate(org.springframework.kafka.core.KafkaTemplate<?,?> value)
Sets the default value for the replyTemplate property.
|
ConcurrentKafkaListenerContainerFactoryBuilder<K,V> |
retryTemplate(org.springframework.retry.support.RetryTemplate value)
Sets the default value for the retryTemplate property.
|
ConcurrentKafkaListenerContainerFactoryBuilder<K,V> |
statefulRetry(boolean value)
Sets the default value for the statefulRetry property.
|
ConcurrentKafkaListenerContainerFactoryBuilder<K,V> |
withContainerProperties(UnaryOperator<ContainerPropertiesBuilder> value)
Sets the default value for the withContainerProperties property.
|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitasSupplier, buildprotected ConcurrentKafkaListenerContainerFactoryBuilder<K,V> self
protected UnaryOperator<ContainerPropertiesBuilder> value$withContainerProperties$java$util$function$UnaryOperator
protected boolean isSet$withContainerProperties$java$util$function$UnaryOperator
protected org.springframework.kafka.core.ConsumerFactory<? super K,? super V> value$consumerFactory$org$springframework$kafka$core$ConsumerFactory
protected boolean isSet$consumerFactory$org$springframework$kafka$core$ConsumerFactory
protected Boolean value$autoStartup$java$lang$Boolean
protected boolean isSet$autoStartup$java$lang$Boolean
protected int value$phase$int
protected boolean isSet$phase$int
protected org.springframework.kafka.support.converter.MessageConverter value$messageConverter$org$springframework$kafka$support$converter$MessageConverter
protected boolean isSet$messageConverter$org$springframework$kafka$support$converter$MessageConverter
protected org.springframework.kafka.listener.adapter.RecordFilterStrategy<? super K,? super V> value$recordFilterStrategy$org$springframework$kafka$listener$adapter$RecordFilterStrategy
protected boolean isSet$recordFilterStrategy$org$springframework$kafka$listener$adapter$RecordFilterStrategy
protected Boolean value$ackDiscarded$java$lang$Boolean
protected boolean isSet$ackDiscarded$java$lang$Boolean
protected org.springframework.retry.support.RetryTemplate value$retryTemplate$org$springframework$retry$support$RetryTemplate
protected boolean isSet$retryTemplate$org$springframework$retry$support$RetryTemplate
protected org.springframework.retry.RecoveryCallback<? extends Object> value$recoveryCallback$org$springframework$retry$RecoveryCallback
protected boolean isSet$recoveryCallback$org$springframework$retry$RecoveryCallback
protected boolean value$statefulRetry$boolean
protected boolean isSet$statefulRetry$boolean
protected Boolean value$batchListener$java$lang$Boolean
protected boolean isSet$batchListener$java$lang$Boolean
protected org.springframework.kafka.core.KafkaTemplate<?,?> value$replyTemplate$org$springframework$kafka$core$KafkaTemplate
protected boolean isSet$replyTemplate$org$springframework$kafka$core$KafkaTemplate
protected org.springframework.kafka.listener.ErrorHandler value$errorHandler$org$springframework$kafka$listener$ErrorHandler
protected boolean isSet$errorHandler$org$springframework$kafka$listener$ErrorHandler
protected org.springframework.kafka.listener.BatchErrorHandler value$batchErrorHandler$org$springframework$kafka$listener$BatchErrorHandler
protected boolean isSet$batchErrorHandler$org$springframework$kafka$listener$BatchErrorHandler
protected org.springframework.kafka.listener.CommonErrorHandler value$commonErrorHandler$org$springframework$kafka$listener$CommonErrorHandler
protected boolean isSet$commonErrorHandler$org$springframework$kafka$listener$CommonErrorHandler
protected org.springframework.kafka.listener.AfterRollbackProcessor<? super K,? super V> value$afterRollbackProcessor$org$springframework$kafka$listener$AfterRollbackProcessor
protected boolean isSet$afterRollbackProcessor$org$springframework$kafka$listener$AfterRollbackProcessor
protected org.springframework.kafka.listener.adapter.ReplyHeadersConfigurer value$replyHeadersConfigurer$org$springframework$kafka$listener$adapter$ReplyHeadersConfigurer
protected boolean isSet$replyHeadersConfigurer$org$springframework$kafka$listener$adapter$ReplyHeadersConfigurer
protected boolean value$missingTopicsFatal$boolean
protected boolean isSet$missingTopicsFatal$boolean
protected org.springframework.kafka.listener.RecordInterceptor<K,V> value$recordInterceptor$org$springframework$kafka$listener$RecordInterceptor
protected boolean isSet$recordInterceptor$org$springframework$kafka$listener$RecordInterceptor
protected org.springframework.kafka.listener.BatchInterceptor<K,V> value$batchInterceptor$org$springframework$kafka$listener$BatchInterceptor
protected boolean isSet$batchInterceptor$org$springframework$kafka$listener$BatchInterceptor
protected org.springframework.kafka.listener.adapter.BatchToRecordAdapter<K,V> value$batchToRecordAdapter$org$springframework$kafka$listener$adapter$BatchToRecordAdapter
protected boolean isSet$batchToRecordAdapter$org$springframework$kafka$listener$adapter$BatchToRecordAdapter
protected org.springframework.kafka.config.ContainerCustomizer<K,V,org.springframework.kafka.listener.ConcurrentMessageListenerContainer<K,V>> value$containerCustomizer$org$springframework$kafka$config$ContainerCustomizer
protected boolean isSet$containerCustomizer$org$springframework$kafka$config$ContainerCustomizer
protected Integer value$concurrency$java$lang$Integer
protected boolean isSet$concurrency$java$lang$Integer
public AbstractConcurrentKafkaListenerContainerFactoryBuilder()
AbstractConcurrentKafkaListenerContainerFactoryBuilder.public ConcurrentKafkaListenerContainerFactoryBuilder<K,V> withContainerProperties(UnaryOperator<ContainerPropertiesBuilder> value)
value - the default valuepublic ConcurrentKafkaListenerContainerFactoryBuilder<K,V> consumerFactory(org.springframework.kafka.core.ConsumerFactory<? super K,? super V> value)
value - the default valuepublic ConcurrentKafkaListenerContainerFactoryBuilder<K,V> autoStartup(Boolean value)
value - the default valuepublic ConcurrentKafkaListenerContainerFactoryBuilder<K,V> phase(int value)
value - the default valuepublic ConcurrentKafkaListenerContainerFactoryBuilder<K,V> messageConverter(org.springframework.kafka.support.converter.MessageConverter value)
value - the default valuepublic ConcurrentKafkaListenerContainerFactoryBuilder<K,V> recordFilterStrategy(org.springframework.kafka.listener.adapter.RecordFilterStrategy<? super K,? super V> value)
value - the default valuepublic ConcurrentKafkaListenerContainerFactoryBuilder<K,V> ackDiscarded(Boolean value)
value - the default valuepublic ConcurrentKafkaListenerContainerFactoryBuilder<K,V> retryTemplate(org.springframework.retry.support.RetryTemplate value)
value - the default valuepublic ConcurrentKafkaListenerContainerFactoryBuilder<K,V> recoveryCallback(org.springframework.retry.RecoveryCallback<? extends Object> value)
value - the default valuepublic ConcurrentKafkaListenerContainerFactoryBuilder<K,V> statefulRetry(boolean value)
value - the default valuepublic ConcurrentKafkaListenerContainerFactoryBuilder<K,V> batchListener(Boolean value)
value - the default valuepublic ConcurrentKafkaListenerContainerFactoryBuilder<K,V> replyTemplate(org.springframework.kafka.core.KafkaTemplate<?,?> value)
value - the default valuepublic ConcurrentKafkaListenerContainerFactoryBuilder<K,V> errorHandler(org.springframework.kafka.listener.ErrorHandler value)
value - the default valuepublic ConcurrentKafkaListenerContainerFactoryBuilder<K,V> batchErrorHandler(org.springframework.kafka.listener.BatchErrorHandler value)
value - the default valuepublic ConcurrentKafkaListenerContainerFactoryBuilder<K,V> commonErrorHandler(org.springframework.kafka.listener.CommonErrorHandler value)
value - the default valuepublic ConcurrentKafkaListenerContainerFactoryBuilder<K,V> afterRollbackProcessor(org.springframework.kafka.listener.AfterRollbackProcessor<? super K,? super V> value)
value - the default valuepublic ConcurrentKafkaListenerContainerFactoryBuilder<K,V> replyHeadersConfigurer(org.springframework.kafka.listener.adapter.ReplyHeadersConfigurer value)
value - the default valuepublic ConcurrentKafkaListenerContainerFactoryBuilder<K,V> missingTopicsFatal(boolean value)
value - the default valuepublic ConcurrentKafkaListenerContainerFactoryBuilder<K,V> recordInterceptor(org.springframework.kafka.listener.RecordInterceptor<K,V> value)
value - the default valuepublic ConcurrentKafkaListenerContainerFactoryBuilder<K,V> batchInterceptor(org.springframework.kafka.listener.BatchInterceptor<K,V> value)
value - the default valuepublic ConcurrentKafkaListenerContainerFactoryBuilder<K,V> batchToRecordAdapter(org.springframework.kafka.listener.adapter.BatchToRecordAdapter<K,V> value)
value - the default valuepublic ConcurrentKafkaListenerContainerFactoryBuilder<K,V> containerCustomizer(org.springframework.kafka.config.ContainerCustomizer<K,V,org.springframework.kafka.listener.ConcurrentMessageListenerContainer<K,V>> value)
value - the default valuepublic ConcurrentKafkaListenerContainerFactoryBuilder<K,V> concurrency(Integer value)
value - the default value@GwtIncompatible public Object clone()
@GwtIncompatible public ConcurrentKafkaListenerContainerFactoryBuilder<K,V> but()
Copyright © 2022. All rights reserved.