Package org.springframework.kafka.config
Class CompositeKafkaStreamsCustomizer
java.lang.Object
org.springframework.kafka.config.CompositeKafkaStreamsCustomizer
- All Implemented Interfaces:
KafkaStreamsCustomizer
Composite
KafkaStreamsCustomizer
customizes KafkaStreams
by delegating
to a list of provided KafkaStreamsCustomizer
.- Since:
- 2.1.5
- Author:
- Nurettin Yilmaz, Artem Bilan
-
Constructor Summary
ConstructorDescriptionCompositeKafkaStreamsCustomizer
(List<KafkaStreamsCustomizer> kafkaStreamsCustomizers) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addKafkaStreamsCustomizers
(List<KafkaStreamsCustomizer> customizers) void
customize
(org.apache.kafka.streams.KafkaStreams kafkaStreams) Customize the instance ofKafkaStreams
afterStreamsBuilderFactoryBean
has applied its default configurations.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.kafka.config.KafkaStreamsCustomizer
initKafkaStreams
-
Constructor Details
-
CompositeKafkaStreamsCustomizer
public CompositeKafkaStreamsCustomizer() -
CompositeKafkaStreamsCustomizer
-
-
Method Details
-
customize
public void customize(org.apache.kafka.streams.KafkaStreams kafkaStreams) Description copied from interface:KafkaStreamsCustomizer
Customize the instance ofKafkaStreams
afterStreamsBuilderFactoryBean
has applied its default configurations.- Specified by:
customize
in interfaceKafkaStreamsCustomizer
- Parameters:
kafkaStreams
- the instantiated Kafka Streams instance
-
addKafkaStreamsCustomizers
-