Package org.swisspush.kobuka.spring
Class AbstractDefaultKafkaConsumerFactoryBuilder<K,V>
java.lang.Object
org.swisspush.kobuka.spring.AbstractDefaultKafkaConsumerFactoryBuilder<K,V>
- All Implemented Interfaces:
Cloneable,Builder<org.springframework.kafka.core.DefaultKafkaConsumerFactory<K,V>>
- Direct Known Subclasses:
DefaultKafkaConsumerFactoryBuilder
@Generated("PojoBuilder")
public abstract class AbstractDefaultKafkaConsumerFactoryBuilder<K,V>
extends Object
implements Builder<org.springframework.kafka.core.DefaultKafkaConsumerFactory<K,V>>, Cloneable
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected DefaultKafkaConsumerFactoryBuilder<K,V> protected booleanprotected org.apache.kafka.common.serialization.Deserializer<K>protected org.apache.kafka.common.serialization.Deserializer<V> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbootstrapServersSupplier(Supplier<String> value) Sets the default value for the bootstrapServersSupplier property.build()Creates a newDefaultKafkaConsumerFactorybased on this builder's settings.but()Returns a clone of this builder.clone()Returns a clone of this builder.Sets the default value for the configs property.configureDeserializers(boolean value) Sets the default value for the configureDeserializers property.keyDeserializer(org.apache.kafka.common.serialization.Deserializer<K> value) Sets the default value for the keyDeserializer property.keyDeserializerSupplier(Supplier<org.apache.kafka.common.serialization.Deserializer<K>> value) Sets the default value for the keyDeserializerSupplier property.valueDeserializer(org.apache.kafka.common.serialization.Deserializer<V> value) Sets the default value for the valueDeserializer property.valueDeserializerSupplier(Supplier<org.apache.kafka.common.serialization.Deserializer<V>> value) Sets the default value for the valueDeserializerSupplier property.withListeners(List<org.springframework.kafka.core.ConsumerFactory.Listener<K, V>> value) Sets the default value for the withListeners property.withPostProcessors(List<org.springframework.kafka.core.ConsumerPostProcessor<K, V>> value) Sets the default value for the withPostProcessors 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$configs$java$util$Map
-
isSet$configs$java$util$Map
protected boolean isSet$configs$java$util$Map -
value$withListeners$java$util$List
-
isSet$withListeners$java$util$List
protected boolean isSet$withListeners$java$util$List -
value$withPostProcessors$java$util$List
-
isSet$withPostProcessors$java$util$List
protected boolean isSet$withPostProcessors$java$util$List -
value$bootstrapServersSupplier$java$util$function$Supplier
-
isSet$bootstrapServersSupplier$java$util$function$Supplier
protected boolean isSet$bootstrapServersSupplier$java$util$function$Supplier -
value$keyDeserializer$org$apache$kafka$common$serialization$Deserializer
protected org.apache.kafka.common.serialization.Deserializer<K> value$keyDeserializer$org$apache$kafka$common$serialization$Deserializer -
isSet$keyDeserializer$org$apache$kafka$common$serialization$Deserializer
protected boolean isSet$keyDeserializer$org$apache$kafka$common$serialization$Deserializer -
value$valueDeserializer$org$apache$kafka$common$serialization$Deserializer
protected org.apache.kafka.common.serialization.Deserializer<V> value$valueDeserializer$org$apache$kafka$common$serialization$Deserializer -
isSet$valueDeserializer$org$apache$kafka$common$serialization$Deserializer
protected boolean isSet$valueDeserializer$org$apache$kafka$common$serialization$Deserializer -
value$keyDeserializerSupplier$java$util$function$Supplier
-
isSet$keyDeserializerSupplier$java$util$function$Supplier
protected boolean isSet$keyDeserializerSupplier$java$util$function$Supplier -
value$valueDeserializerSupplier$java$util$function$Supplier
-
isSet$valueDeserializerSupplier$java$util$function$Supplier
protected boolean isSet$valueDeserializerSupplier$java$util$function$Supplier -
value$configureDeserializers$boolean
protected boolean value$configureDeserializers$boolean -
isSet$configureDeserializers$boolean
protected boolean isSet$configureDeserializers$boolean
-
-
Constructor Details
-
AbstractDefaultKafkaConsumerFactoryBuilder
public AbstractDefaultKafkaConsumerFactoryBuilder()Creates a newAbstractDefaultKafkaConsumerFactoryBuilder.
-
-
Method Details
-
configs
Sets the default value for the configs property.- Parameters:
value- the default value- Returns:
- this builder
-
withListeners
public DefaultKafkaConsumerFactoryBuilder<K,V> withListeners(List<org.springframework.kafka.core.ConsumerFactory.Listener<K, V>> value) Sets the default value for the withListeners property.- Parameters:
value- the default value- Returns:
- this builder
-
withPostProcessors
public DefaultKafkaConsumerFactoryBuilder<K,V> withPostProcessors(List<org.springframework.kafka.core.ConsumerPostProcessor<K, V>> value) Sets the default value for the withPostProcessors property.- Parameters:
value- the default value- Returns:
- this builder
-
bootstrapServersSupplier
Sets the default value for the bootstrapServersSupplier property.- Parameters:
value- the default value- Returns:
- this builder
-
keyDeserializer
public DefaultKafkaConsumerFactoryBuilder<K,V> keyDeserializer(org.apache.kafka.common.serialization.Deserializer<K> value) Sets the default value for the keyDeserializer property.- Parameters:
value- the default value- Returns:
- this builder
-
valueDeserializer
public DefaultKafkaConsumerFactoryBuilder<K,V> valueDeserializer(org.apache.kafka.common.serialization.Deserializer<V> value) Sets the default value for the valueDeserializer property.- Parameters:
value- the default value- Returns:
- this builder
-
keyDeserializerSupplier
public DefaultKafkaConsumerFactoryBuilder<K,V> keyDeserializerSupplier(Supplier<org.apache.kafka.common.serialization.Deserializer<K>> value) Sets the default value for the keyDeserializerSupplier property.- Parameters:
value- the default value- Returns:
- this builder
-
valueDeserializerSupplier
public DefaultKafkaConsumerFactoryBuilder<K,V> valueDeserializerSupplier(Supplier<org.apache.kafka.common.serialization.Deserializer<V>> value) Sets the default value for the valueDeserializerSupplier property.- Parameters:
value- the default value- Returns:
- this builder
-
configureDeserializers
Sets the default value for the configureDeserializers 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
Creates a newDefaultKafkaConsumerFactorybased on this builder's settings.
-