Skip to content

configuration split #3560

@lotib

Description

@lotib

mosquitto version 2.0.11 and 2.1.2

Using the configuration drop-in directory /etc/mosquitto/conf.d I split a bridge configuration into 2 pieces:

01-broker.conf:

listener 1883
connection broker
address  broket-host:1883
clientid  bridge-host
bridge_protocol_version mqttv50

02-topics.conf:

topic # both 0

the goal will be to specify specific topics in the future

mosquitto seems to load files in good order but fails to load them

1775120010: Loading config file '/etc/mosquitto/conf.d/01-broker.conf'
1775120010: Loading config file '/etc/mosquitto/conf.d/02-topics.conf'
1775120010: Error: The 'topic' option requires a bridge to be defined first.
1775120010: Error found at '/etc/mosquitto/conf.d/02-topics.conf:2'.
1775120010: Error found at /etc/mosquitto/mosquitto.conf:13.
1775120010: mosquitto version 2.1.2 terminating

Metadata

Metadata

Assignees

No one assigned

    Labels

    Status: AvailableNo one has claimed responsibility for resolving this issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions