openrewrite / openrewrite/rewrite-spring
`@EmbeddedKafkaRule` to `@EmbeddedKafka` test conversion
Open
Nobody has claimed this yet.
recipe
- Dominant language
- Java
- Stars
- 403
- Forks
- 149
- Avg merge
- 2h 33m
- Merged PRs (30d)
- 10
Description
@EmbeddedKafkaRule to @EmbeddedKafka for JUnit 5 tests migration recipe.
https://docs.spring.io/spring-kafka/docs/current/api/org/springframework/kafka/test/context/EmbeddedKafka.html
https://blog.mimacom.com/testing-apache-kafka-with-spring-boot-junit5/
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the linked Spring Kafka EmbeddedKafka API documentation and the JUnit 5 testing article, then compare the @EmbeddedKafkaRule and @EmbeddedKafka usage described in the issue. Done means a migration recipe converts the former annotation to the latter for JUnit 5 tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, kafka, spring
- Domain
- backend, testing-qa
- Issue type
- Refactor
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100