Class CompositeKafkaStreamsInfrastructureCustomizer
java.lang.Object
org.springframework.kafka.config.CompositeKafkaStreamsInfrastructureCustomizer
- All Implemented Interfaces:
KafkaStreamsInfrastructureCustomizer
public class CompositeKafkaStreamsInfrastructureCustomizer
extends Object
implements KafkaStreamsInfrastructureCustomizer
Composite
KafkaStreamsInfrastructureCustomizer customizes
KafkaStreams by delegating to a list of provided
KafkaStreamsInfrastructureCustomizer.- Since:
- 2.4.1
- Author:
- Gary Russell
-
Constructor Summary
ConstructorsConstructorDescriptionConstruct an instance with the provided customizers. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddKafkaStreamsCustomizers(KafkaStreamsInfrastructureCustomizer... customizers) Add customizers.voidconfigureBuilder(org.apache.kafka.streams.StreamsBuilder builder) Configure the builder.voidconfigureTopology(org.apache.kafka.streams.Topology topology) Configure the topology.
-
Constructor Details
-
CompositeKafkaStreamsInfrastructureCustomizer
public CompositeKafkaStreamsInfrastructureCustomizer(KafkaStreamsInfrastructureCustomizer... customizers) Construct an instance with the provided customizers.- Parameters:
customizers- the customizers;
-
-
Method Details
-
addKafkaStreamsCustomizers
Add customizers.- Parameters:
customizers- the customizers.
-
configureBuilder
public void configureBuilder(org.apache.kafka.streams.StreamsBuilder builder) Description copied from interface:KafkaStreamsInfrastructureCustomizerConfigure the builder.- Specified by:
configureBuilderin interfaceKafkaStreamsInfrastructureCustomizer- Parameters:
builder- the builder.
-
configureTopology
public void configureTopology(org.apache.kafka.streams.Topology topology) Description copied from interface:KafkaStreamsInfrastructureCustomizerConfigure the topology.- Specified by:
configureTopologyin interfaceKafkaStreamsInfrastructureCustomizer- Parameters:
topology- the topology
-