Use kafkaAwareTransactionManager setter
ProprietaryReplace deprecated ContainerProperties#setTransactionManager(org.springframework.transaction.PlatformTransactionManager) method with ContainerProperties#setKafkaAwareTransactionManager(org.springframework.kafka.transaction.KafkaAwareTransactionManager). The method will be replaced only if its argument has the type KafkaAwareTransactionManager.
io. moderne. java. spring. boot3. ReplaceKafkaTransactionManagerSettermod run . --recipe= io. moderne. java. spring. boot3. ReplaceKafkaTransactionManagerSetterInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.