Skip to content

Commit

Permalink
Minor
Browse files Browse the repository at this point in the history
  • Loading branch information
vietj committed Nov 7, 2024
1 parent 375763f commit acd53fa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public static void main(String[] args) {
public Future<?> start() {
MqttClientOptions options = new MqttClientOptions().setKeepAliveInterval(2);

MqttClient client = MqttClient.create(Vertx.vertx(), options);
client = MqttClient.create(Vertx.vertx(), options);

// handler will be called when we have a message in topic we subscribing for
client.publishHandler(publish -> {
Expand Down

0 comments on commit acd53fa

Please sign in to comment.