Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix MQTT devService always start even if the host/port channel is set #37111

Merged
merged 1 commit into from
Nov 30, 2023

Conversation

pjgg
Copy link
Contributor

@pjgg pjgg commented Nov 15, 2023

Fix: #32463

Need to be backported to Quarkus 2.x

Description:

Currently, Mqtt devService is always triggered, even if the host/port is defined.
IMO the issue is located on MqttDevServicesProcessor, more in detail we are not checking all the applications.properties because the host/port verification is in the wrong place (will always break the loop on the first iterations).

@pjgg
Copy link
Contributor Author

pjgg commented Nov 26, 2023

cc @gsmet @jerboaa WDYT ?

@cescoffier
Copy link
Member

@ozangunalp WDYT?

Copy link
Contributor

@ozangunalp ozangunalp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link

quarkus-bot bot commented Nov 27, 2023

✔️ The latest workflow run for the pull request has completed successfully.

It should be safe to merge provided you have a look at the other checks in the summary.

@cescoffier cescoffier merged commit 07ca9f7 into quarkusio:main Nov 30, 2023
20 checks passed
@quarkus-bot quarkus-bot bot added this to the 3.7 - main milestone Nov 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Quarkus 2.16.6: MQTT Connector allways starts dev services although all config is provided
3 participants