Questions tagged [smallrye-reactive-messaging]

107 questions
1
vote
0 answers

Adding smallrye mutiny dependency in JBoss EAP 7.3

I have a microprofile application using Smallrye Mutiny, which I need to deploy on JBoss EAP 7.3. I have applied JBoss EAP XP patch to enable microprofile features. I have also added mutiny jar as a module in EAP. Below are the module file…
1
vote
1 answer

Auto restart Quarkus Microservice after broker unavailability

I have a very simple Quarkus microservice which uses smallrye reactive messaging (kafka). Sometimes my kafka broker goes down and I got the following logs : 2020-09-24 04:04:27,067 WARN [org.apa.kaf.cli.NetworkClient] (kafka-producer-network-thread…
1
vote
1 answer

Quarkus SmallRye Messaging Kafka Avro native compilation failed

I'm using SmallRye Reactive Messaging with Kafka with the Confluent Registry and AVRO. It works fine as explained in this blog https://quarkus.io/blog/kafka-avro/ But it seems not work in native compilation in the source code associated to the blog:…
1
vote
1 answer

Quarkus Kafka Streams/Reactive Messaging Deserializing Exception

Hey so I was experimenting with both Kafka Streams and MP Reactive Messaging to read from a Kafka Topic and then to produce back to it. The Kafka Streams error - org.apache.kafka.streams.errors.StreamsException: Deserialization exception handler is…
1
vote
1 answer

Quarkus pulling from Kafka Topic and Sending JSON Payload to a REST endpoint

So, I'm using Quarkus along with the Microprofile Reactive Messaging framework (with the SmallRye Kafka connectors), and the RxJava2 Flowable streams object for reactive message receiving/sending. I have a microservice that uses the @Incoming and…
1
vote
2 answers

How to do Event-Driven Microservices with quarkus and smallrye correctly

Dears, I am trying to do some kind of event-driven Microservices. Currently, I was able to consume a message from Kafka and update database record when message is received using Quarkus & Smallrye-Reactive messaging extension. What I want to achieve…
iabughosh
  • 481
  • 5
  • 19
1
vote
1 answer

How to connect a reactive stream to an AMQP broker in quarkus / smallrye

I am attempting to migrate my Artimis-MQ clients to quarkus microservices. I consistently get a "Stream not connected" error when attempted to send a message. I attempted to follow the suggestions in the answer (using…
Joe
  • 21
  • 4
0
votes
0 answers

Threading model when using camel with Quarkus smallrye reactive messaging

In Camel documentation I read that Camel might use it own thread pool in some scenarios like mention here: https://camel.apache.org/manual/threading-model.html I want to use the camel connector with quarkus reactive messaging but I'm not sure about…
0
votes
0 answers

How do I programmatically authenticate a user in quarkus when reading from an inbound topic?

Okay, I admit this is a bit of a weird question. But we are in the process of moving our application from SpringBoot to Quarkus. So far, so good until I came upon this little problem. In Spring, we have an InputChannelInterceptor which pulls out a…
0
votes
0 answers

AMQP Message consumption

I have the following consumer for rabbitmq : @Incoming("incoming-msg") @Blocking(ordered = false, value = "my-worker-pool") public Uni onExecutionReceive(final Message message) { message.ack(); .. do…
0
votes
1 answer

How to chain API call responses with Mutiny (Uni's)

I have 3 reactive rest client functions getOne(): Uni, getTwo(reponseFromOne): Uni>, getThree(responsesFromTwo): Uni> I want to chain them so the result from getOne is passed as argument to getTwo and results from…
0
votes
1 answer

Creating kafka consumers dynamically (without @Incoming annotation)

(Using Quarkus 2) I have a common process/function to execute for multiple topics, and I would like to make sure that the process on each channel is completely separated (If I send nack or the process is long, other channels should not be…
Sacapuces
  • 413
  • 4
  • 10
0
votes
2 answers

Add smallrye-in-memory connector to Wildfly (Reduce redeployment time during development)

During development redeploy time is critical, so it would be nice to eliminate as much as possible. In my Jakarta EE 10 .war project I connected 10 channels to Kafka topics via microprofile reactive streams. I bring up Kafka via Docker before and…
0
votes
1 answer

Thread with Smallrye Messaging

I have a message consumer like this one in Quarkus that consume messages in a queue : @Incoming("incoming-messages") @Blocking(ordered = false, value = "custom-worker-pool") public Uni onExecutionReceive(final Message message) { …
0
votes
1 answer

Error trying to send Kogito end & start messages using Smallrye Kafka in Quarkus

I have created a quarkus app with multiple BPMN's having start messages and end messages. The below is my application.properties for…