# Generic MQTT Thing throws warning in logs

**URL:** <https://community.openhab.org/t/generic-mqtt-thing-throws-warning-in-logs/86572>\
**Category:** Items & Sitemaps\
**Created:** [November 30, 2019, 2:08pm UTC](https://community.openhab.org/t/generic-mqtt-thing-throws-warning-in-logs/86572 "2019-11-30T14:08:04Z")\
**Posts on this page:** 1\
**Showing post:** 12

<div class="post-metadata">

**Author:** ![rossko57](https://community.openhab.org/user_avatar/community.openhab.org/rossko57/32/70263_2.png) [@rossko57](https://community.openhab.org/u/rossko57)\
**Post date:** [January 8, 2020, 2:02pm UTC](https://community.openhab.org/t/generic-mqtt-thing-throws-warning-in-logs/86572/12 "2020-01-08T14:02:51Z")

</div>

> [@H102](#):
>
> but (mqtt:broker:flomqtt) is listed on every line.

There are (at least) two possible Thing structures

Yours -

```csv
Bridge mqtt:broker:pibroker ... {
   Thing topic sonoff11 ... {
   Channels:
      Type switch ...
   }

```

Your topics implicitly “belong” to that broker Bridge by being nested in it’s curly brackets.

But these topic things

```csv
Thing mqtt:topic:flomqtt:MQTT_FSD_A "FSD 'A'" (mqtt:broker:flomqtt) {
Channels:
    Type switch : ...
     }

```

This is not nested in the broker Bridge definition, it stands alone. (maybe the broker is defined in a different file, for example)  
So it has to describe which broker it belongs to (you’re allowed more than one)

> [@Things files with MQTT 2.4](https://community.openhab.org/t/things-files-with-mqtt-2-4/61090/8):
>
> The following is a small snippet from my demo setup, showing how you can split the broker definition from the generic thing: first, the bridge.things file: Bridge mqtt:broker:hotti "MQTT Broker: Hottis Mosquitto" [host="my-mqtt-host", port=1883, secure="AUTO", username="my-username", password="my-password"] next, the clock.things file Thing mqtt:topic:hotti:hotticlock\_one "MQTT Thing: HottiClock One" (mqtt:broker:hotti) @ "Living Room" { Channels: Typ…

---

_[View the full topic](https://community.openhab.org/t/generic-mqtt-thing-throws-warning-in-logs/86572)._
