Package org.springframework.kafka.config
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
ConstructorDescriptionConstruct an instance with the provided customizers. -
Method Summary
Modifier and TypeMethodDescriptionvoid
addKafkaStreamsCustomizers
(KafkaStreamsInfrastructureCustomizer... customizers) Add customizers.void
configureBuilder
(org.apache.kafka.streams.StreamsBuilder builder) Configure the builder.void
configureTopology
(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:KafkaStreamsInfrastructureCustomizer
Configure the builder.- Specified by:
configureBuilder
in interfaceKafkaStreamsInfrastructureCustomizer
- Parameters:
builder
- the builder.
-
configureTopology
public void configureTopology(org.apache.kafka.streams.Topology topology) Description copied from interface:KafkaStreamsInfrastructureCustomizer
Configure the topology.- Specified by:
configureTopology
in interfaceKafkaStreamsInfrastructureCustomizer
- Parameters:
topology
- the topology
-