Questions tagged [smallrye-reactive-messaging]

107 questions
1
vote
0 answers

Quarkus missing acknowledged smallrye kafka messages after restart

My Quarkus App appears to be dropping the first batch of messages sent every time I restart my Docker Container. I am currently running 'Confluentinc' Kafka (Zookeeper/Broker) images. The drop appears to effect the first batch of messages published…
1
vote
1 answer

Smallrye Kafka synchronous producer

I'm running a Quarkus Kafka producer inside a lambda. The thing is, that I want to block the main thread until all messages have been produced (and acknowledged) until I terminate the lambda execution. I see, that I can normally use the …
1
vote
1 answer

Kafka consumer didn't consume

I'm trying to create as app that will consume a Kafka topic with 10 partitions. I didn't define the number of partitions of the consumer at application.properties because the app will be deployed in OpenShift, and I want that the OpenShift do the…
Guto
  • 341
  • 15
  • 25
1
vote
1 answer

Resubscribing to MQTT Topic when Network ist Lost

I have developed a Quarkus app with which I want to receive and process MQTT messages. This also works so far. My problem is that when the internet goes down at the MQTT broker and the app reconnects afterwards, the app reconnects to the broker but…
1
vote
1 answer

Panache reactiveTransactional timeout with no stack trace

Hi I have played a lot with the following code and has read https://github.com/quarkusio/quarkus/issues/21111 I think I am facing a very similar issue, where it will work the first 4 times and then it stops working and things are stuck and…
1
vote
1 answer

Apply complex business logic to Multi object and return a Uni object in Rest API

Inside a rest function I'm making a reactive Postgres Db call which is returning a Multi. My intention is to run a complex business logic on Multi and return a new Uni. @GET public Uni get() { Multi objects =…
1
vote
0 answers

Kafka Consumer stopped consuming messages from topic. We are using SmallRye Reactive Messaging connector to fetch records

Kafka Consumer stopped consuming messages from kafka topic. We are using SmallRye Reactive Messaging connector to fetch records. When we enabled trace mode for Kafka logs we are getting below trace message. [smallrye-kafka-consumer-thread-0] Fetcher…
1
vote
0 answers

@Incoming not running multithreaded on Quarkus application connecting to RabbitMQ

Some background We are running a fairly simple application that handles subscriptions and are running into the limits of the external service. The solution is that we are introducing a queue and throttle the consumers of this queue to optimize the…
Wollie
  • 53
  • 3
1
vote
0 answers

How to incorporate blocking code into Mutiny using reactive-messaging

I wanted to get an opinion on how to properly implement this and if this is the right approach to doing so. So I have created a fully reactive application using reactive-messaging but have come to know that I have an overarching constraint - and…
Lazaro R.
  • 39
  • 8
1
vote
1 answer

Quarkus ,How to send Mqtt Messages with retain flag?

I'm currently sending Mqtt Messages with Quarkus using smallrye reactive messsaging,the problem is when i add retain flag to true,nothing change. Here is how i do it: @Broadcast @Channel("myChannel") Emitter emitter;…
1
vote
0 answers

Quarkus : Ignore failure strategy for reactive messaging throws CIRCULAR REFERENCE error when used with a processor method with Message signature

I'm working on reactive messaging with Quarkus v2.3.0 and Kafka extension. I reproduced the ignore failure strategy example given on this blog post https://quarkus.io/blog/kafka-failure-strategy/#the-ignore-strategy I tried to apply it on a…
Maxime
  • 191
  • 9
1
vote
1 answer

quarkus.uuid as an expression not working in application.properties

Wrote a program where the kafka topic is read using smallrye-kafka-messaging. Now I need the group.id property to be random when ever the service is run/restarted, so i used this property in the quarkus…
1
vote
1 answer

Quarkus Kafka Partitions config only seem to process one of the partitions

I'm trying to increase the number of consumers to match the number of partitions for a Kafka topic that we are reading from. There are three partitions so I configured the partitions for incoming messages to three as shown below: mp: messaging: …
Delta
  • 11
  • 3
1
vote
2 answers

Quarkus/SmallRye Reactive Messaging/Kafka connect with multiple clusters

Currently I have a Quarkus app which consumes from a Kafka topic and produces on another Kafka topic. It uses SmallRye Reactive Messaging. It works well. Due to external changes the topic to produce on and the topic to consume from will be on Kafka…
1
vote
0 answers

Quarkus Kafka: How to configure the number of retry attempts if we are not able to connect to the Kafka Broker?

I am working on a Quarkus application and intend to use Kafka to receive messages, however I want to stop the application if the application is not able to reach Kafka broker after retrying for a certain number of times. The default configuration is…
Karan Khanna
  • 1,947
  • 3
  • 21
  • 49