Package org.springframework.kafka.config
Class CompositeKafkaStreamsInfrastructureCustomizer
- java.lang.Object
-
- org.springframework.kafka.config.CompositeKafkaStreamsInfrastructureCustomizer
-
- All Implemented Interfaces:
KafkaStreamsInfrastructureCustomizer
public class CompositeKafkaStreamsInfrastructureCustomizer extends java.lang.Object implements KafkaStreamsInfrastructureCustomizer
CompositeKafkaStreamsInfrastructureCustomizer
customizesKafkaStreams
by delegating to a list of providedKafkaStreamsInfrastructureCustomizer
.- Since:
- 2.4.1
- Author:
- Gary Russell
-
-
Constructor Summary
Constructors Constructor Description CompositeKafkaStreamsInfrastructureCustomizer(KafkaStreamsInfrastructureCustomizer... customizers)
Construct an instance with the provided customizers.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
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 Detail
-
CompositeKafkaStreamsInfrastructureCustomizer
public CompositeKafkaStreamsInfrastructureCustomizer(KafkaStreamsInfrastructureCustomizer... customizers)
Construct an instance with the provided customizers.- Parameters:
customizers
- the customizers;
-
-
Method Detail
-
addKafkaStreamsCustomizers
public void addKafkaStreamsCustomizers(KafkaStreamsInfrastructureCustomizer... customizers)
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
-
-