Migrate to Spring Kafka 3.0
MSALMigrate applications to the latest Spring Kafka 3.0 release.
org. openrewrite. java. spring. kafka. UpgradeSpringKafka_3_0mod run . --recipe= org. openrewrite. java. spring. kafka. UpgradeSpringKafka_3_0Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.
Recipe list
It runs these recipes, in this order.
- Upgrade Gradle or Maven dependency versions
org.springframework.kafka:spring-kafka:3.0.x - Change
KafkaOperations.send*return type toCompletableFuture - Use
DurationinKafkaTestUtils - Change type
KafkaOperations2toKafkaOperations - Remove
KafkaOperations.usingCompletableFuture() - Replace constant with another constant
- Replace constant with another constant
- Replace constant with another constant
- Replace constant with another constant
- Migrate deprecated Spring Kafka error handlers