Questions tagged [smallrye-reactive-messaging]

107 questions
0
votes
1 answer

Smallrye Kafka producer inside a lambda - TimeoutException

I am running a Smallrye Kafka producer inside a Kotlin lambda. The problem is, that I'm getting a TimeoutException most of the time I try to send messages to the Kafka broker (running in Aiven). I read, that this is possibly an issue with the…
0
votes
0 answers

A failure to decode a rabbit message fails the reactive Reactive Messaging - readiness check

I've encountered a problem when using small rye reactive messaging with Quarkus, for a rabbit MQ incoming handler. The message being published to rabbit has a json content type, and the method signature of the handling code is written accordingly: …
0
votes
0 answers

Propagation of OpenTelemetry traces in Smallrye Kafka fails when using CloudEvents

In our Quarkus based microservices using Smallrye Kafka for event streaming, we have implemented tracing using OpenTracing. Now, we're trying to propagate the tracing context between these services using…
0
votes
0 answers

io.smallrye.mutiny.TimeoutException when using kafka vs redis

I'm using kafka + redis in my project. I get message from Kafka, process and save to redis, but it is giving error like below when my code runs after some time my code io.smallrye.mutiny.TimeoutException at…
0
votes
1 answer

Is there any way in Quarkus to listen specific @incomming message from Kafka based on the condition (like based on header types)

@Incoming("kafka-consumer-incoming") @Blocking public void listen(ConsumerRecord record) { String eventType=null; if(record.headers()!=null) { //eventType =IR/VR/CR/MR/BR possible values …
0
votes
1 answer

How to convert a method returning List into Reactive Stream smallrye mutiny?

I am quite new to Reactive programming and would like to convert a method that returns List into a reactive stream approach using Smallrye Mutiny. I tried creating Publisher etc but could not find the right example to proceed further. Can…
0
votes
0 answers

Quarkus application stops working after a few days with Azure Event hubs

We are facing a weird issue, where a Quarkus application stops working after a few days with Azure event hubs. We have an application, which consumes data from one event hub, does some processing and publishes the processed message to another event…
Logan
  • 2,445
  • 4
  • 36
  • 56
0
votes
1 answer

How to process NonBlocking with Smallrye messaging and reactive http client?

I have the following code. @Incoming("my-topic") void process(String someEvent) { String someResponse = assuminglyRealFastReactiveClientCall(); } The above code throws a blocking thread exception. Which is corrected with…
user432024
  • 4,392
  • 8
  • 49
  • 85
0
votes
1 answer

Why would Quarkus/Smalrye messaging consumer nack on on blocked vertx thread?

I though this message was for warning, so why would the consumer nack it? Also adding @Blocking to the process function below seems to "fix" the issue. I have my processor like so... @Incoming("topic-in") public void process(String event) { //…
user432024
  • 4,392
  • 8
  • 49
  • 85
0
votes
1 answer

How to replay messages with Quarkus/Smallrye Kafka Messaging?

Is there a way to set the timestamp of the offset at which to start off at using Quarkus/Smallrye messaging? Or to go back to any specific offset?
user432024
  • 4,392
  • 8
  • 49
  • 85
0
votes
1 answer

Quakus - Kafka Smallrye | How to change client.id of the underlaying producer used when failure-strategy is dead-letter-queue

I've setup a kafka consumer using smallrye kafka. For particular reasons, I need to have control over the client.id of every producer on my code. So, how can i change the client.id of the producer used when a nack() is sent from my code? My current…
Gonçalo
  • 561
  • 5
  • 14
0
votes
1 answer

Quarkus/Smallrye reactive kafka - Endpoint success/failure response from Message

I'm looking to respond to a REST endpoint with a Success/Failure response that dynamically accepts a topic as a query param. In Quarkus with smallrye reactive messaging the code would look something like below wrapping the payload with…
0
votes
1 answer

Change log level for smallrye kafka consumer extension

I have a quarkus app which uses the quarkus-smallrye-reactive-messaging-kafka extension. At runtime it produces a tons of debug logs: rent-orchestrator-service | 16:44:11.508 [smallrye-kafka-consumer-thread-0] DEBUG…
0
votes
1 answer

reactive messaging - ClassCastException cannot be cast to class io.smallrye.mutiny.Multi

@Incoming("from-processor-to-consumer") public Multi consume(Multi stream) { return stream.onItem() .invoke(msg -> { log.infof("consumer received %s", msg); }) .onItem() …
freedev
  • 25,946
  • 8
  • 108
  • 125
0
votes
1 answer

Newest Quarkus version (2.6.3) reactive messaging error

I recently upgraded to the newest Quarkus version and seem to be having some issues with the configuration of Smallrye's reactive messaging. Prior to 2.6.3, the connector has always been smallrye-kafka, but it seems I am having a strange error now…
Lazaro R.
  • 39
  • 8