jeudi 2 avril 2020

How to disable Kafka in Quarkus test?

My application uses Kafka and Hibernate. For Kafka a running docker image is required. If I run a Quarkus test for Hibernate, the test fails if Kafka is not running. In my IDE this is not a problem, but in Jenkins there is no Kafka server available and the test fails because it cannot resolve the Kafka server.

Is it possible to disable Kafka in Quarkus tests?

Aucun commentaire:

Enregistrer un commentaire