question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Ability to inject Dev Services Kafka Config into @QuarkusIntegrationTest

See original GitHub issue

Description

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:closed
  • Created 2 years ago
  • Comments:29 (28 by maintainers)

github_iconTop GitHub Comments

1reaction
edeandreacommented, Dec 6, 2021

sure. Remind me again how to do that?

1reaction
edeandreacommented, Nov 30, 2021

Yup I am! I’ll even do it for you! Thanks for the help!

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found