File tree Expand file tree Collapse file tree 1 file changed +1
-8
lines changed
spring-kafka/src/main/java/org/springframework/kafka/annotation Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Original file line number Diff line number Diff line change 16
16
17
17
package org .springframework .kafka .annotation ;
18
18
19
- import java .util .HashSet ;
20
- import java .util .Set ;
21
-
22
19
import org .springframework .beans .factory .ObjectProvider ;
23
20
import org .springframework .beans .factory .UnsatisfiedDependencyException ;
24
21
import org .springframework .beans .factory .annotation .Qualifier ;
@@ -72,11 +69,7 @@ public StreamsBuilderFactoryBean defaultKafkaStreamsBuilder(
72
69
KafkaStreamsConfiguration streamsConfig = streamsConfigProvider .getIfAvailable ();
73
70
if (streamsConfig != null ) {
74
71
StreamsBuilderFactoryBean fb = new StreamsBuilderFactoryBean (streamsConfig );
75
- Set <StreamsBuilderFactoryBeanConfigurer > configuredBy = new HashSet <>();
76
- configurerProvider .orderedStream ().forEach (configurer -> {
77
- configurer .configure (fb );
78
- configuredBy .add (configurer );
79
- });
72
+ configurerProvider .orderedStream ().forEach (configurer -> configurer .configure (fb ));
80
73
return fb ;
81
74
}
82
75
else {
You can’t perform that action at this time.
0 commit comments