Commit Graph

75 Commits

Author SHA1 Message Date
Trevor North 70b33c2649
feat(inputs.kafka_consumer): Add sarama debug logs (#12304) 2022-12-05 21:54:08 +01:00
Joshua Powers 07345e82f3
docs(outputs.kafka): specify broker behavior (#12161) 2022-11-08 14:26:24 -07:00
Paweł Żak 6816aefcd5
chore: fix linter findings for unparam and revive.unused-parameter (#12150) 2022-11-08 12:04:12 -07:00
Paweł Żak 8e9a513157
chore: Wrap long lines in plugins/outputs (#12179) 2022-11-08 16:05:55 +01:00
Paweł Żak 0955bd714f
chore: Enable asciicheck, asasalint, bidichk and exportloopref linters (#12169) 2022-11-07 11:07:10 +01:00
reimda 494f558b4e
feat: Add exponential backoff when connecting or reconnecting and allow plugin to start without making initial connection (#12111) 2022-11-03 08:01:22 -05:00
Joshua Powers 49ac03fa80
docs: add global configuration header (#12107) 2022-10-26 14:58:36 -05:00
dependabot[bot] 72c8aea46d
chore(deps): bump github.com/Shopify/sarama from 1.36.0 to 1.37.2 (#11980)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Mya <mlongmire@influxdata.com>
2022-10-18 09:49:10 -05:00
Paweł Żak dbf6796a89
fix: Setting `enable_tls` has incorrect default value (#11941)
Co-authored-by: Pawel Zak <Pawel Zak>
2022-10-05 10:07:28 +02:00
Joshua Blanchard 2b03cd9151
fix(common.kafka): Enable TLS in Kafka plugins without custom config (#11519) 2022-09-26 12:14:14 -06:00
Sebastian Spaink d67f75e557
docs: Remove warning not to remove go:embed (#11797)
Co-authored-by: Joshua Powers <powersj@fastmail.com>
2022-09-13 12:47:58 -05:00
Joshua Powers 8c49ddccc3
chore: update to go1.19.1 (#11776) 2022-09-08 12:49:36 -06:00
Sven Rebhan ac26d786fe
fix(outputs): Linter issues (#11595) 2022-08-03 07:20:51 -05:00
Joshua Powers acc8008fb2
test: do not have leadership election during kafka test (#11404) 2022-07-14 11:07:34 -06:00
Joshua Powers 58e01f72b2
test: add circle ci integration testing on PRs (#11246) 2022-06-03 10:33:28 -06:00
Joshua Powers 6e021b26ec
test: migrate kafka to testcontainers (#11206) 2022-06-02 07:47:44 -06:00
Joshua Powers 2fc19fa308
chore: correctly spell embed (#11200) 2022-05-27 07:13:47 -06:00
Sven Rebhan d9a6d8b774
chore: embed sample configurations into README for outputs (#11182) 2022-05-25 08:48:59 -06:00
Sebastian Spaink 256caede89
chore(outputs): migrate sample configs into separate files (#11131) 2022-05-18 11:30:06 -05:00
reimda 6ba3b1e91e
chore: Fix readme linter errors for output plugins (#10951) 2022-04-21 09:45:47 -06:00
Sebastian Spaink a7df6c6aa6
feat: migrate output plugins to new sample config format (#10910) 2022-04-07 15:55:03 -06:00
Alexander Olekhnovich 0d529d89ea
feat: add socks5 proxy support for kafka output plugin (#8192) 2022-02-16 08:33:03 -07:00
Paweł Żak 020b77b239
fix: Linter fixes for plugins/outputs/[g-m]* (#10127)
Co-authored-by: Pawel Zak <Pawel Zak>
2021-11-24 12:40:25 -07:00
Joshua Powers 0d8d118319
chore: clean up all markdown lint errors in output plugins (#10159) 2021-11-24 11:47:33 -07:00
Gerald Quintana 8265969f52
feat: Kafka Add metadata full to config (#9833) 2021-10-21 15:32:39 -06:00
David Bennett 842a788022
Remove error return type from metric.New method (#9116)
* Remove error return type from metric.New method.

* Formatting changes for linter + gofmt

* Additional linter fixes.

* More linter fixes.

* Linter fix.

* address comments
2021-04-13 14:40:03 -04:00
Helen Weller 565336280a
moved samara config out of init into connect (#9051) 2021-03-25 18:06:03 -04:00
Paweł Żak 74a1acd814
Linter fixes - revive:unused-parameter, unparam, varcheck and unused (#8984)
* Linter fixes - revive:unused-parameter and unparam

* Linter fixes - revive:unused-parameter and unparam

* Linter fixes - revive:unused-parameter and unparam

* "nolint"'s removed

* Fixes for "varcheck" and "unused" added.

* Fixes for "varcheck" and "unused" added.

* Fixes for "varcheck" and "unused" added.

* Fixes for "varcheck" and "unused" added.

* Fixes for "varcheck" and "unused" added.

* Fixes for "varcheck" and "unused" added.

* Fixes for "varcheck" and "unused" added.

Co-authored-by: Pawel Zak <Pawel Zak>
2021-03-22 12:21:36 -05:00
Paweł Żak 38c61c07ef
Revive fixes - part 4: (#8981)
empty-lines

Co-authored-by: Pawel Zak <Pawel Zak>
2021-03-12 14:21:51 -06:00
Helen Weller d41569caed
Integration test audit (#8725) 2021-01-26 11:06:12 -07:00
Steven Soroka 8b30bb9534
Enable kafka zstd compression and idempotent writes (#8435) 2020-11-23 15:51:58 -05:00
Steven Soroka e83a165635
kafka sasl-mechanism auth support for SCRAM-SHA-256, SCRAM-SHA-512, GSSAPI (#8318) 2020-10-28 12:16:59 -04:00
Paweł Żak c8e69aca3c
Fixed almost all bugs found by LGTM analysis platform (#8240) 2020-10-08 11:20:35 -04:00
Daniel Nelson c73ed8ca6c
Export internal/tls package for use in execd plugins (#7697) 2020-06-25 11:44:22 -07:00
Daniel Nelson b6de4da41f
Add topic tag options to kafka output (#7142) 2020-03-10 13:38:26 -07:00
Daniel Nelson 0cc71dbd51
Document the behavior of an unset routing key (#6983) 2020-02-04 16:40:00 -08:00
Daniel Nelson f6b302621e
Do not add invalid timestamps to kafka messages (#6908) 2020-01-15 15:26:50 -08:00
Daniel Nelson 2486006495
Add kafka SASL version control to kafka_consumer (#6350) 2020-01-02 16:27:26 -08:00
Daniel Nelson 317c823bfc
Set message timestamp to the metric time in kafka output (#6746) 2019-12-03 11:48:53 -08:00
Daniel Nelson 6cbaf890d9
Use github.com/gofrs/uuid 2.1.0 (#6636) 2019-11-07 17:39:19 -08:00
Daniel Nelson c9107015b0
Emit sarama library log messages at debug level (#6091) 2019-07-11 13:50:12 -07:00
Daniel Nelson 4197426a73
Ignore errors serializing single metrics (#5943) 2019-06-03 17:34:48 -07:00
Daniel Nelson d2cf9a7157
Add support for static and random routing keys in kafka output (#4579) 2018-08-21 12:44:10 -07:00
Daniel Nelson 886d8cc840
Drop message batches in kafka output if too large (#4565) 2018-08-17 13:51:21 -07:00
Daniel Nelson 34614582a7
Use snake case in kafka output config 2018-08-15 14:12:22 -07:00
Mauro Murari 61513c64b8
Add message 'max_bytes' configuration (#4537) 2018-08-15 14:05:26 -07:00
Daniel Nelson f4032fc78d Add support for lz4 compression to kafka output (#4492) 2018-07-31 16:09:30 -06:00
Daniel Nelson 943dcc0c49 Send all messages before waiting for results in kafka output (#4491) 2018-07-31 16:08:04 -06:00
Daniel Nelson 49a5dea536
Update client_id in kafka input and output readme 2018-07-13 14:00:25 -07:00
Rion c8f00030dd Add support for setting kafka client id (#4418) 2018-07-13 13:53:56 -07:00