Commit a4c4abe
Upgrade to Spring Boot 4.0.0 with Spring Cloud 2025.1.0
Migrate all 77 modules from Spring Boot 2.3-3.1 to Spring Boot 4.0.0
with Spring Cloud Stream 5.0.0 and Spring Cloud 2025.1.0 (Oakwood).
Key changes:
- Centralize POM hierarchy: all modules inherit from root parent
- javax.* -> jakarta.* namespace migration
- EmbeddedKafkaRule (JUnit 4) -> @embeddedkafka / EmbeddedKafkaKraftBroker
- Kafka Streams 4.0: KStream.branch() -> split().branch() API
- TopologyTestDriver: ConsumerRecordFactory -> TestInputTopic/TestOutputTopic
- Spring Cloud Stream 5.0: serdeError -> deserializationExceptionHandler
- spring.cloud.stream.function.definition -> spring.cloud.function.definition
- spring.profiles -> spring.config.activate.on-profile
- KafkaTestUtils method signatures: int timeouts -> Duration
- Boot 4 modular auto-config package relocations
- Kotlin stdlib-jdk8 -> kotlin-stdlib
- @spybean -> @MockitoSpyBean
- Spring Security lambda DSL migration
- Remove hardcoded dependency versions in favor of BOM management
- Update Confluent, Avro, Testcontainers, and other third-party deps
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent 2ff1168 commit a4c4abe
File tree
127 files changed
+915
-3837
lines changed- batch-producer-consumer
- confluent-schema-registry-integration
- function-based-stream-app-samples
- couchbase-stream-applications
- couchbase-consumer
- src
- main/java/io/spring/example/couchbase/consumer
- test/java/io/spring/example/couchbase/consumer
- couchbase-sink
- image-thumbnail-samples
- image-thumbnail-processor
- image-thumbnail-stream-sample/image-thumbnail-sink
- image-thumbnail-web
- kafka-batch-sample
- src
- main/resources
- test/java/com/example/demo
- kafka-binder-native-app
- kafka-e2e-kotlin-sample
- customer-service
- src/main/kotlin/kafka/e2e/customer
- service
- order-service
- src/main/kotlin/kafka/e2e/order
- producer
- shipping-service
- src/main
- kotlin/kafka/e2e/shipping
- stream
- resources
- kafka-native-serialization
- src/test/java/com/example/kafkanativeserialization
- kafka-security-samples
- kafka-ssl-demo
- kafka-streams-samples
- kafka-streams-aggregate
- src
- main/java/kafka/streams/table/join
- test/java/kafka/streams/table/join
- kafka-streams-avro
- kafka-streams-branching
- src
- main/java/kafka/streams/branching
- test/java/kafka/streams/branching
- kafka-streams-destination-pattern
- kafka-streams-dlq-sample
- src
- main
- java/kafka/streams/dlq/sample
- resources
- test/java/kafka/streams/dlq/sample
- kafka-streams-global-table-join
- kafka-streams-interactive-query
- kafka-streams-inventory-count
- src/test/java/kafka/streams/inventory/count
- generator
- kafka-streams-jaas-security
- src/main/java/kafka/streams/word/count
- kafka-streams-message-channel
- src/main/java/kafka/streams/message/channel
- kafka-streams-metrics-demo
- kafka-streams-multiple-input-topics
- kafka-streams-product-tracker
- src/main/java/kafka/streams/product/tracker
- kafka-streams-recoverable
- kafka-streams-table-join
- kafka-streams-to-rabbitmq-message-channel
- src/main/java/kafka/streams/message/channel
- kafka-streams-word-count
- src
- main/java/kafka/streams/word/count
- test/java/kafka/streams/word/count
- kinesis-samples
- kinesis-produce-consume
- src/main/java/demo
- data
- security
- stream
- kinesis-to-webflux
- src/test/java/kinesis/webflux
- kotlin-rabbit-functions
- src/main/kotlin/com/example/demokotlin
- multi-binder-samples
- kafka-multi-binder-jaas
- multi-binder-dynamic-destinations
- multi-binder-kafka-rabbit
- multi-binder-kafka-streams
- src
- main/resources
- test/java/multibinder
- multi-binder-sendto-dest-header
- src
- main/resources
- test/java/multibinder
- multi-binder-two-kafka-clusters
- src
- main/resources
- test/java/multibinder
- multi-functions-samples
- function-composition-kafka
- function-composition-rabbit
- multi-functions-kafka
- multi-functions-rabbit
- partitioning-samples
- kafka-partitioning
- partitioning-consumer-sample-kafka
- src/main/java/demo
- partitioning-producer-sample-kafka
- rabbit-partitioning
- partitioning-consumer-sample-rabbit
- partitioning-producer-sample-rabbit
- routing-samples
- message-routing-callback
- src/main/java/demo
- spring-cloud-stream-schema-registry-integration
- schema-registry-consumer-kafka/src/test/java/sample/consumer
- testing-samples
- test-embedded-kafka
- testing-demo
- src
- main/java/org/springframework/cloud/stream/testing/sink
- test/java/org/springframework/cloud/stream/testing
- processor
- integration
- sink
- source
- transaction-kafka-samples
- transaction-http-source
- transaction-logger-sink
- transaction-spring-data-processor
- src/main/java/sample/processor
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
127 files changed
+915
-3837
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | 19 | | |
21 | 20 | | |
22 | 21 | | |
| |||
48 | 47 | | |
49 | 48 | | |
50 | 49 | | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | 50 | | |
64 | 51 | | |
65 | 52 | | |
| |||
79 | 66 | | |
80 | 67 | | |
81 | 68 | | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | 69 | | |
147 | 70 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
| 58 | + | |
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | 91 | | |
155 | 92 | | |
Lines changed: 15 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
| 50 | + | |
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
55 | 68 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
Lines changed: 0 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | 7 | | |
Lines changed: 4 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
43 | | - | |
44 | | - | |
| 42 | + | |
45 | 43 | | |
46 | 44 | | |
47 | 45 | | |
48 | 46 | | |
49 | | - | |
| 47 | + | |
50 | 48 | | |
51 | 49 | | |
52 | 50 | | |
53 | 51 | | |
54 | | - | |
| 52 | + | |
55 | 53 | | |
56 | 54 | | |
57 | 55 | | |
58 | 56 | | |
59 | | - | |
| 57 | + | |
60 | 58 | | |
61 | 59 | | |
62 | 60 | | |
| |||
Lines changed: 5 additions & 48 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
| 19 | + | |
24 | 20 | | |
25 | 21 | | |
26 | 22 | | |
| |||
36 | 32 | | |
37 | 33 | | |
38 | 34 | | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | 35 | | |
54 | 36 | | |
55 | 37 | | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | 38 | | |
82 | 39 | | |
83 | 40 | | |
| |||
Lines changed: 17 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | 17 | | |
22 | 18 | | |
23 | 19 | | |
| |||
38 | 34 | | |
39 | 35 | | |
40 | 36 | | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
41 | 50 | | |
0 commit comments