Skip to content

Commit

Permalink
Update sub_filter description for zmq4 and nanomsg
Browse files Browse the repository at this point in the history
  • Loading branch information
ollieparsley committed Feb 3, 2020
1 parent 784a73a commit 8dfb894
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/input/nanomsg.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Currently only PULL and SUB sockets are supported.`,
docs.FieldCommon("urls", "A list of URLs to connect to (or as). If an item of the list contains commas it will be expanded into multiple URLs."),
docs.FieldCommon("bind", "Whether the URLs provided should be connected to, or bound as."),
docs.FieldCommon("socket_type", "The socket type to use.").HasOptions("PULL", "SUB"),
docs.FieldCommon("sub_filters", "A list of sub filters to use when consuming from a SUB socket."),
docs.FieldCommon("sub_filters", "A list of subcription topic filters to use when consuming from a SUB socket. Specifying a single sub_filter of `''` will subscribe to everything."),
docs.FieldAdvanced("poll_timeout", "The period to wait until a poll is abandoned and reattempted."),
docs.FieldDeprecated("reply_timeout"),
},
Expand Down
2 changes: 1 addition & 1 deletion lib/input/zmq4.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ socket types then they can be added easily.`,
docs.FieldCommon("urls", "A list of URLs to connect to. If an item of the list contains commas it will be expanded into multiple URLs."),
docs.FieldCommon("bind", "Whether to bind to the specified URLs or connect."),
docs.FieldCommon("socket_type", "The socket type to connect as.").HasOptions("PULL", "SUB"),
docs.FieldCommon("sub_filters", "A list of filters to use when connecting as a `SUB` socket."),
docs.FieldCommon("sub_filters", "A list of subcription topic filters to use when consuming from a SUB socket. Specifying a single sub_filter of `''` will subscribe to everything."),
docs.FieldAdvanced("high_water_mark", "The message high water mark to use."),
docs.FieldAdvanced("poll_timeout", "The poll timeout to use."),
},
Expand Down
2 changes: 1 addition & 1 deletion website/docs/components/inputs/nanomsg.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ Options are: `PULL`, `SUB`.

### `sub_filters`

`array` A list of sub filters to use when consuming from a SUB socket.
`array` A list of subcription topic filters to use when consuming from a SUB socket. Specifying a single sub_filter of `''` will subscribe to everything.

### `poll_timeout`

Expand Down
2 changes: 1 addition & 1 deletion website/docs/components/inputs/zmq4.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ Options are: `PULL`, `SUB`.

### `sub_filters`

`array` A list of filters to use when connecting as a `SUB` socket.
`array` A list of subcription topic filters to use when consuming from a SUB socket. Specifying a single sub_filter of `''` will subscribe to everything.

### `high_water_mark`

Expand Down

0 comments on commit 8dfb894

Please sign in to comment.