Ability to inject Dev Services Kafka Config into @QuarkusIntegrationTest
See original GitHub issueDescription
Currently its possible during an @QuarkusTest
class to inject the kafka broker configuration provided by dev services (see https://github.com/quarkusio/quarkus-quickstarts/blob/development/kafka-quickstart/processor/src/test/java/org/acme/kafka/processor/QuoteProcessorTest.java#L32-L34).
It would be nice to be able to do the same in a @QuarkusIntegrationTest
. Currently I’m forced to not use dev services and stand up my own Kafka instance using testcontainers as a test resource.
Implementation ideas
No response
Issue Analytics
- State:
- Created 2 years ago
- Comments:29 (28 by maintainers)
Top Results From Across the Web
Dev Services for Kafka - Quarkus
Because starting a Kafka broker can be long, Dev Services for Kafka uses Redpanda, a Kafka compatible broker which starts in ~1 second....
Read more >Design Proposal: @QuarkusIntegrationTest - Google Groups
You should just be able to inject things into the test? - We use @QuarkusIntegrationTest ... Application Client pre-configuration (RestAssured, AMQP, Kafka).
Read more >Testing Quarkus Web Applications: Component & Integration ...
TestHTTPEndpoint to inject path configuration into REST-Assured. So let's rewrite the test so we don't need to set in every request the subpath....
Read more >Home of Quarkus Cheat-Sheet - GitHub Pages
The Dev UI is available in dev mode only and accessible at the /q/dev endpoint ... To add configuration to your application, Quarkus...
Read more >Release Notes for Red Hat build of Quarkus 2.2
To use the Dev Service for Apache Kafka, add the quarkus-kafka-client extension to your project without configuring the ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
sure. Remind me again how to do that?
Yup I am! I’ll even do it for you! Thanks for the help!