Subscriber Service - What is it?

#1

Hello!

from the InfluxDB configuration file I can see this section:

[subscriber]

Controls the subscriptions, which can be used to fork a copy of all data

received by the InfluxDB host.

What is this subscriber service actually and how can it be used?
I didn’t find anything int he documentation about it…

Thanks,
Reinhard

#2

The subscriber services is primarily used by Kapacitor, so that a Kapacitor instance can subscribe to the data being written to InfluxDB.

Anyone can use subscriptions, its not restricted to Kapacitor. There are create/drop/show subscriptions SQL commands see https://docs.influxdata.com/influxdb/v1.3/query_language/spec/#create-subscription