Hello,
Recently, while debugging a problem in kapacitor, I came upon the following in the documentations.
The
cluster
subscription-mode is planned for future versions of Kapacitor and Kapacitor Enterprise. If used currently, subscription data will not be received.
Since the subscription-mode
field in my kapacitor.conf
is previously set to cluster
, I changed the field to server
and restarted kapacitor.
After restarting the server, the following happened:
-
kapacitor stats ingress
show that all previously functional stream tasks are no longer getting data.- Only entries showing up in stats ingress are measurements from
_kapacitor autogen
- Only entries showing up in stats ingress are measurements from
-
stream tasks are no longer reporting data
The following symptoms persisted even after I changed subscription-mode
to cluster
. As well, here are some observations:
show subscriptions
in Influx show that each dbrp pair has 2 subscriptions, one with theserver_id
of kapacitor, and one withcluster_id
. When I delete either of the subscriptions, kapacitor will re-create them at the next subscription sync.
Please help, any hints/ leads for this bug will be appreciated.
System Info:
InfluxDB shell version: 1.7.1
Kapacitor OSS 1.5.1 (git: HEAD 89828ffff6cf5cd4cb2b34bf883e134395f734de)
Linux host 4.4.0-139-generic #165-Ubuntu SMP Wed Oct 24 10:58:50 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
InfluxDB and Kapacitor reside on the same host machine, so I’m inclined to rule out connectivity issues.