File tree 10 files changed +13
-12
lines changed
main/java/org/springframework/kafka
test/java/org/springframework/kafka
10 files changed +13
-12
lines changed Original file line number Diff line number Diff line change 23
23
import java .lang .annotation .Target ;
24
24
25
25
import org .springframework .context .annotation .Import ;
26
- import org .springframework .kafka .core .StreamsBuilderFactoryBean ;
26
+ import org .springframework .kafka .config .StreamsBuilderFactoryBean ;
27
27
28
28
/**
29
29
* Enable default Kafka Streams components. To be used on
Original file line number Diff line number Diff line change 24
24
import org .springframework .context .annotation .Bean ;
25
25
import org .springframework .context .annotation .Configuration ;
26
26
import org .springframework .kafka .config .KafkaStreamsConfiguration ;
27
- import org .springframework .kafka .core .StreamsBuilderFactoryBean ;
27
+ import org .springframework .kafka .config .StreamsBuilderFactoryBean ;
28
28
29
29
/**
30
30
* {@code @Configuration} class that registers a {@link StreamsBuilderFactoryBean}
Original file line number Diff line number Diff line change 14
14
* limitations under the License.
15
15
*/
16
16
17
- package org .springframework .kafka .core ;
17
+ package org .springframework .kafka .config ;
18
18
19
19
import java .util .ArrayList ;
20
20
import java .util .List ;
Original file line number Diff line number Diff line change 14
14
* limitations under the License.
15
15
*/
16
16
17
- package org .springframework .kafka .core ;
17
+ package org .springframework .kafka .config ;
18
18
19
19
import org .apache .kafka .streams .KafkaStreams ;
20
20
Original file line number Diff line number Diff line change 14
14
* limitations under the License.
15
15
*/
16
16
17
- package org .springframework .kafka .core ;
17
+ package org .springframework .kafka .config ;
18
18
19
19
import java .util .Map ;
20
20
import java .util .Properties ;
31
31
import org .springframework .beans .factory .config .AbstractFactoryBean ;
32
32
import org .springframework .context .SmartLifecycle ;
33
33
import org .springframework .kafka .KafkaException ;
34
- import org .springframework .kafka .config . KafkaStreamsConfiguration ;
34
+ import org .springframework .kafka .core . CleanupConfig ;
35
35
import org .springframework .lang .Nullable ;
36
36
import org .springframework .util .Assert ;
37
37
Original file line number Diff line number Diff line change 14
14
* limitations under the License.
15
15
*/
16
16
17
- package org .springframework .kafka .core ;
17
+ package org .springframework .kafka .config ;
18
18
19
19
import static org .assertj .core .api .Assertions .assertThat ;
20
20
32
32
import org .springframework .kafka .annotation .EnableKafka ;
33
33
import org .springframework .kafka .annotation .EnableKafkaStreams ;
34
34
import org .springframework .kafka .annotation .KafkaStreamsDefaultConfiguration ;
35
- import org .springframework .kafka .config .KafkaStreamsConfiguration ;
36
35
import org .springframework .kafka .test .EmbeddedKafkaBroker ;
37
36
import org .springframework .kafka .test .context .EmbeddedKafka ;
38
37
import org .springframework .test .annotation .DirtiesContext ;
Original file line number Diff line number Diff line change 14
14
* limitations under the License.
15
15
*/
16
16
17
- package org .springframework .kafka .core ;
17
+ package org .springframework .kafka .config ;
18
18
19
19
import static org .assertj .core .api .Assertions .assertThat ;
20
20
37
37
import org .springframework .context .annotation .Configuration ;
38
38
import org .springframework .kafka .annotation .EnableKafkaStreams ;
39
39
import org .springframework .kafka .annotation .KafkaStreamsDefaultConfiguration ;
40
- import org .springframework .kafka .config . KafkaStreamsConfiguration ;
40
+ import org .springframework .kafka .core . CleanupConfig ;
41
41
import org .springframework .kafka .test .EmbeddedKafkaBroker ;
42
42
import org .springframework .kafka .test .context .EmbeddedKafka ;
43
43
import org .springframework .test .annotation .DirtiesContext ;
Original file line number Diff line number Diff line change 14
14
* limitations under the License.
15
15
*/
16
16
17
- package org .springframework .kafka .core ;
17
+ package org .springframework .kafka .config ;
18
18
19
19
import static org .assertj .core .api .Assertions .assertThat ;
20
20
Original file line number Diff line number Diff line change 54
54
import org .springframework .kafka .config .ConcurrentKafkaListenerContainerFactory ;
55
55
import org .springframework .kafka .config .KafkaListenerContainerFactory ;
56
56
import org .springframework .kafka .config .KafkaStreamsConfiguration ;
57
+ import org .springframework .kafka .config .StreamsBuilderFactoryBean ;
57
58
import org .springframework .kafka .core .ConsumerFactory ;
58
59
import org .springframework .kafka .core .DefaultKafkaConsumerFactory ;
59
60
import org .springframework .kafka .core .DefaultKafkaProducerFactory ;
60
61
import org .springframework .kafka .core .KafkaTemplate ;
61
62
import org .springframework .kafka .core .ProducerFactory ;
62
- import org .springframework .kafka .core .StreamsBuilderFactoryBean ;
63
63
import org .springframework .kafka .listener .ConcurrentMessageListenerContainer ;
64
64
import org .springframework .kafka .support .serializer .JsonSerde ;
65
65
import org .springframework .kafka .test .EmbeddedKafkaBroker ;
Original file line number Diff line number Diff line change @@ -78,6 +78,8 @@ See <<serdes>> for more information.
78
78
79
79
The streams configuration bean must now be a simple `Properties` object instead of a `StreamsConfig`.
80
80
81
+ The `StreamsBuilderFactoryBean` has been moved from package `...core` to `...config`.
82
+
81
83
See <<kafka-streams>> for more information.
82
84
83
85
You can’t perform that action at this time.
0 commit comments