Commit Graph

8 Commits

Author SHA1 Message Date
Cameron Sparr 7eb7e495e6 Cleanup & standardize config file
changes:

- -sample-config will now comment out all but a few default plugins.
- config file parse errors will output path to bad conf file.
- cleanup 80-char line-length and some other style issues.
- default package conf file will now have all plugins, but commented
  out.

closes #199
closes #944
2016-04-08 18:34:52 +02:00
Cameron Sparr f26a824945 Use github paho mqtt client instead of gerrit
this might fix #921
2016-04-08 18:34:52 +02:00
Cameron Sparr bf8a7b4a17 mqtt_consumer: option to set persistent session and client ID
closes #797
2016-04-08 18:34:48 +02:00
Pascal Larin 8e988fd572 Username not set for mqtt_consumer plugin
Username parameter for the mqtt_consumer plugin was not pass to the client because an incorrect empty check.

closes #781
2016-04-08 18:34:47 +02:00
Cameron Sparr 0dbb52f9d6 Seems to be a toml parse bug around triple pounds 2016-04-08 18:34:44 +02:00
Cameron Sparr 132f89e3fe Root directory cleanup 2016-04-08 18:34:44 +02:00
Cameron Sparr eb5dddf0d6 Flush based on buffer size rather than time
this includes:
- Add Accumulator to the Start() function of service inputs
- For message consumer plugins, use the Accumulator to constantly add
  metrics and make Gather a dummy function
- rework unit tests to match this new behavior.
- make "flush_buffer_when_full" a config option that defaults to true

closes #666
2016-04-08 18:34:43 +02:00
Cameron Sparr 668e16bb36 MQTT Consumer Input plugin 2016-04-08 18:34:42 +02:00