We've been using the mqtt functionality for the last couple of months and are really happy with it so far. Yesterday however the integration stopped working all of a sudden and I am not able to figure out what is going wrong. Our usecase is to simply send whatever comes in from the MQTT stream into an eventhub on Azure to do some processing over there. The code itself looks like this:
import io.smallrye.mutiny.Uni;
import jakarta.enterprise.context.ApplicationScoped;
import org.eclipse.microprofile.reactive.messaging.Incoming;
import org.eclipse.microprofile.reactive.messaging.Outgoing;
@ApplicationScoped
public class MqttRepublisher {
@Incoming("mqtt-topic")
@Outgoing("eventhub-egress")
public Uni<byte[]> republish(byte[] byteList) {
return Uni.createFrom().item(byteList);
}
}
In the logging I do not see anything happening at all, the MQTT broker sees there is an active connection. There are messages coming in into the broker on the topic.
When I restart the process it all works again as before, but it did cut off our data influx without any signs of going wrong. I would really like to know how this happened and how I could fix it.
Please let me know if I can supply you with any additional information that you need.
Java 21.0.3
maven 3.9.7
Running on a kubernetes cluster in Azure v 1.29.2
build container from -> ubi9/openjdk-21:1.20
Quarkus 3.11.3
Hi,
We've been using the mqtt functionality for the last couple of months and are really happy with it so far. Yesterday however the integration stopped working all of a sudden and I am not able to figure out what is going wrong. Our usecase is to simply send whatever comes in from the MQTT stream into an eventhub on Azure to do some processing over there. The code itself looks like this:
The application.properties looks like this:
In the logging I do not see anything happening at all, the MQTT broker sees there is an active connection. There are messages coming in into the broker on the topic.
When I restart the process it all works again as before, but it did cut off our data influx without any signs of going wrong. I would really like to know how this happened and how I could fix it.
Please let me know if I can supply you with any additional information that you need.
Java 21.0.3 maven 3.9.7 Running on a kubernetes cluster in Azure v 1.29.2 build container from -> ubi9/openjdk-21:1.20 Quarkus 3.11.3
Thanks!