Replies: 2 comments 3 replies
-
/cc @alesj (kafka), @cescoffier (kafka), @ozangunalp (kafka) |
Beta Was this translation helpful? Give feedback.
2 replies
-
In order to use the Apicurio registry serde in your tests, you need to set it up in your tests:
That is something we need to mention in https://quarkus.io/guides/kafka-schema-registry-avro#testing-the-application |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I develop a Quarkus application is a Kafka Consumer and we use Apicurio like Schema Registry.
For check, if my application works in native mode, i have develop an integration test.
When i execute this test, i have that error asking me that an Apicurio Http Client is not available.
My unit test is as follows.
I create a Kafka Producer, that create a message in Kafka (that is a Quarkus Dev Service) and i check if my consumer, consume well the messages by calling the rest api.
For information the Kafka consumer take messages from Kafka and insert them in the database.
Here is the code of the KafkaTestUtils class to create the Kafka producer for my integration test.
If i change the annotation "QuarkusIntegrationTest" by "QuarkusTest" my integration test works.
For information, the commands that execute for execute my integration tests :
If you have some ideas it will be great.
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions