Closed wrichter closed 4 years ago
It does seem to support TLS-SNI though: https://github.com/smallrye/smallrye-reactive-messaging/blob/master/smallrye-reactive-messaging-mqtt/src/main/java/io/smallrye/reactive/messaging/mqtt/MqttSource.java#L63 and https://vertx.io/docs/apidocs/io/vertx/mqtt/MqttClient.html#connect-int-java.lang.String-java.lang.String-io.vertx.core.Handler-
However TLS-SNI brings a world of pain with regards to certificate management (and/or creating your custom SocketFactory so that a TLS handshake happens with invalid certs).
With skupper.io we'd have additional options not to use web sockets or TLS-SNI, but this needs to mature more. @ortwinschneider do you see the need to evaluate additional aspects or should we move this to done?
The SmallRye Client looks totally elegant: https://github.com/quarkusio/quarkus-quickstarts/blob/master/mqtt-quickstart/src/main/java/org/acme/quarkus/sample/PriceGenerator.java however it's based on the Vert.X MQtt client which currently does not support Web Sockets https://vertx.io/docs/apidocs/io/vertx/mqtt/MqttClientOptions.html