###In JVM mode it doesn't throw any runtime exception while creating mqtt client object. For running in JVM mode

From the project directory run:

./mvnw install

java -jar target/quarkus-mqtt-starter-1.0-SNAPSHOT-runner.jar

###Run Quarkus as a native application

./mvnw install -Dnative

Here we are getting runtime exception while creating mqtt client object, mentioned in the description.