Skip to content

Commit

Permalink
minor layout modification
Browse files Browse the repository at this point in the history
  • Loading branch information
fabaff committed Apr 28, 2014
1 parent e5e06be commit 0c029b6
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,8 @@ Requires:
### `log`
The `log` service allows us to use the logging system in use by _mqttwarn_ proper, i.e. messages directed at `log` will land in _mqttwarn_'s log file.
The `log` service allows us to use the logging system in use by _mqttwarn_
proper, i.e. messages directed at `log` will land in _mqttwarn_'s log file.
```ini
[config:log]
Expand All @@ -410,7 +411,8 @@ targets = {
### `mqtt`
The `mqtt` service fires off a publish on a topic, creating a new connection to the configured broker for each message.
The `mqtt` service fires off a publish on a topic, creating a new connection
to the configured broker for each message.
Consider the following configuration snippets:
Expand All @@ -432,9 +434,9 @@ targets = mqtt:o1, mqtt:o2
format = u'Since when does a {fruit} cost {price}?'
```
The `topicmap` specifies we should subscribe to `in/a1` and republish to two MQTT targets.
The second target (`mqtt:o2`) has a topic branch with a variable in it which is to be
interpolated (`{fruit}`).
The `topicmap` specifies we should subscribe to `in/a1` and republish to two
MQTT targets. The second target (`mqtt:o2`) has a topic branch with a variable
in it which is to be interpolated (`{fruit}`).
These are the results for appropriate publishes:
Expand Down

0 comments on commit 0c029b6

Please sign in to comment.