--
You received this message because you are subscribed to the Google Groups "Quarkus Development mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to quarkus-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/quarkus-dev/c6032089-c8df-428a-9c87-f8e6709646b7%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/quarkus-dev/13fd8a85-643a-43ab-8fec-5fd36285aba8%40Spark.
Hello,You can do several thing:
- Prefix your configuration with %dev and %prod and duplicate them in %test to use in memory channels. I’m going to ease that in the near future.
- Use Test Container to start a Kafka broker (See https://github.com/quarkusio/quarkus-quickstarts/blob/master/kafka-quickstart/src/test/java/org/acme/quarkus/sample/PriceResourceTest.java as example)
Clement
On 12 Nov 2019 at 22:53 +0100, Dustin Kut Moy Cheung <dust...@gmail.com>, wrote:
--Hi,Is there a way to test @Incoming and @Outgoing in Quarkus without starting a Kafka serveron the side? I'd like to test them in a `@QuarkusTest`.Sincerely,Dustin
You received this message because you are subscribed to the Google Groups "Quarkus Development mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to quark...@googlegroups.com.
@ApplicationScoped
@Connector(CONNECTOR_NAME)
public class DummyKafkaMessagingProvider implements IncomingConnectorFactory, OutgoingConnectorFactory {
%test.mp.messaging.incoming.ordini.connector=fake-kafka
To unsubscribe from this group and stop receiving emails from it, send an email to quarkus-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/quarkus-dev/274659ad-dc96-44a9-bbad-bb9183568c06%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/quarkus-dev/CAG%3D-wFO4idZKsy4RNFjjhaiwPFQ5daKB4uyAsnVr87QLtkJyGg%40mail.gmail.com.
Hey there,
Can someone make a blog out of that info and add it to the testing guide and Rectrive MP guide. This is useful info.
Emmanuel
To view this discussion on the web visit https://groups.google.com/d/msgid/quarkus-dev/13fd8a85-643a-43ab-8fec-5fd36285aba8%40Spark.
Hey there,
Can someone make a blog out of that info and add it to the testing guide and Rectrive MP guide. This is useful info.
Emmanuel
On 13 Nov 2019, at 8:40, clement escoffier wrote:
Hello,You can do several thing:
- Prefix your configuration with %dev and %prod and duplicate them in %test to use in memory channels. I’m going to ease that in the near future.
- Use Test Container to start a Kafka broker (See https://github.com/quarkusio/quarkus-quickstarts/blob/master/kafka-quickstart/src/test/java/org/acme/quarkus/sample/PriceResourceTest.java as example)
Clement
On 12 Nov 2019 at 22:53 +0100, Dustin Kut Moy Cheung <dust...@gmail.com>, wrote:
--Hi,Is there a way to test @Incoming and @Outgoing in Quarkus without starting a Kafka serveron the side? I'd like to test them in a `@QuarkusTest`.Sincerely,Dustin
You received this message because you are subscribed to the Google Groups "Quarkus Development mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to quark...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/quarkus-dev/c6032089-c8df-428a-9c87-f8e6709646b7%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Quarkus Development mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to quark...@googlegroups.com.
Sure
To unsubscribe from this group and stop receiving emails from it, send an email to quarkus-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/quarkus-dev/26c79c39-7b5a-49a4-bbcb-affbc233ee70%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/quarkus-dev/26c79c39-7b5a-49a4-bbcb-affbc233ee70%40googlegroups.com.