Commit Graph

76 Commits

Author SHA1 Message Date
zhuxu 651d899653 kafka phasor parse 2025-08-08 16:25:23 +08:00
Paweł Żak 6f80899e13
chore: Fix linter findings for `revive:unused-receiver` in `plugins/inputs/[f-k]` (#16308) 2024-12-17 15:33:30 +01:00
Paweł Żak 7c0fe8a3e6
chore: Fix linter findings for `revive:exported` in `plugins/inputs/k*` (#16091) 2024-10-31 16:20:00 -05:00
Paweł Żak 662607cb6c
fix(inputs.kafka_consumer): Fix deadlock (#16074) 2024-10-24 13:34:56 -05:00
Paweł Żak 0804ccef4e
chore(linters): Enable `string-format` rule for revive (#15983) 2024-10-09 09:07:46 +02:00
Sven Rebhan cb571deb41
feat(inputs.kafka_consumer): Implement startup error behavior options (#15919) 2024-10-03 11:41:20 -05:00
Paweł Żak 453d32bd81
chore: Fix linter findings for `revive:comment-spacings` (part 2) (#15897) 2024-09-19 11:03:28 +02:00
Paweł Żak 46c056f49d
chore: Fix linter findings for `revive:max-public-structs` in `plugins/inputs/[a-n]*` (#15858) 2024-09-12 15:58:57 -05:00
Sven Rebhan 9e3e22094a
feat(inputs.kafka_consumer): Allow to select the metric time source (#15790) 2024-08-30 14:18:04 -05:00
Sven Rebhan d160276552
feat(logging): Add 'trace' log-level (#15695) 2024-08-01 00:32:24 +02:00
Joshua Powers bcafb1d24d
chore: Print debug message when no messages generated from parse (#15463) 2024-06-05 15:22:55 -05:00
Joshua Powers 82902ebd06
feat(inputs.kafka_consumer): Add resolve canonical bootstrap server option (#15368) 2024-05-31 10:27:46 +02:00
Jeremy Kerfs b72be8e97d
feat(inputs.kafka_consumer): Mark messages that failed parsing (#14585) 2024-01-17 18:45:27 +01:00
Joshua Powers 65d106f615
chore(deps): Point kafka dependency to IBM organization (#14349) 2023-11-27 17:13:22 +01:00
Anton Belousov cd83c70241
feat(inputs.kafka_consumer): Add option to set metric name from message header (#14320) 2023-11-27 07:02:35 -07:00
Adam Thornton 38b8a1bcde
fix(parsers.json_v2): Prevent race condition in parse function (#14149) 2023-10-30 09:04:41 +01:00
Joshua Powers ac4cb12db8
chore: Remove whitespace, update variable naming (#13952) 2023-09-20 07:36:11 -06:00
Anton Belousov 5ab2468789
feat(inputs.kafka_consumer): Add message headers as metric tags. (#13924) 2023-09-20 12:53:18 +02:00
Tobias Jungel 3fae6439ab
fix(inputs.kafka_consumer): Use per-message parser to avoid races (#13886) 2023-09-11 08:18:51 -06:00
Joshua Powers 9f83bee8ef
Revert "feat(inputs.kafka_consumer): Refresh regexp topics periodically (#13410)" (#13617)
This reverts commit a13f3463eb.
2023-07-14 16:06:45 +02:00
Adam Thornton a13f3463eb
feat(inputs.kafka_consumer): Refresh regexp topics periodically (#13410) 2023-07-07 10:45:37 -06:00
Sven Rebhan 7ced2606b2
chore(parsers)!: Remove old-style creation (#13310) 2023-05-23 14:17:11 -06:00
Adam Thornton 8762c71e65
feat(inputs.kafka_consumer): Add regular expression support for topics (#11831) 2023-05-23 12:08:01 -06:00
Paweł Żak 00347033ab
chore: Fix linter findings for nolintlint (part2) (#12430)
Co-authored-by: Pawel Zak <Pawel Zak>
2023-01-26 11:27:32 +01:00
Trevor North 70b33c2649
feat(inputs.kafka_consumer): Add sarama debug logs (#12304) 2022-12-05 21:54:08 +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
reimda 7d9f09ddc8
chore: add kafka round trip integration test using inputs.kafka_consumer and outputs.kafka (#12058) 2022-10-25 07:50:59 -06:00
reimda a6352d9794
fix(inputs.kafka): switch to sarama's new consumer group rebalance strategy setting (#12064) 2022-10-21 11:08:45 +02: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
Albertas Bužinskas b1546fe1c7
feat(inputs.kafka_consumer): Option to set default fetch message bytes (#11220) 2022-07-25 15:49:34 -06:00
Joshua Powers 2fc19fa308
chore: correctly spell embed (#11200) 2022-05-27 07:13:47 -06:00
Sven Rebhan 56eb914998
chore: Embed sample configurations into README for inputs (#11136) 2022-05-24 08:49:47 -05:00
Sebastian Spaink 8e2b4988fe
feat: migrate input plugins to new sample config format (A-L) (#10924) 2022-04-07 16:01:21 -06:00
Paweł Żak c875e45422
fix: Linter fixes for plugins/inputs/[a-o]* (leftovers) (#10192)
Co-authored-by: Pawel Zak <Pawel Zak>
2021-11-30 15:59:24 -06:00
Chris Ruscio 343e846480
feat: add max_processing_time config to Kafka Consumer input (#9988) 2021-10-28 14:35:22 -06:00
Paweł Żak eec6fd5702
fix: Linter fixes for plugins/inputs/[k-l]* (#9999) 2021-10-27 09:48:57 -06:00
Gerald Quintana 8265969f52
feat: Kafka Add metadata full to config (#9833) 2021-10-21 15:32:39 -06:00
Sven Rebhan 8e7da355b3
Linter fixes (unhandled errors) -- Part 1 (#8992) 2021-04-08 11:43:39 -05: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
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
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 2486006495
Add kafka SASL version control to kafka_consumer (#6350) 2020-01-02 16:27:26 -08:00
Enno Lohmeier e04bb1e07f Support partition assignement strategy configuration in kafka_consumer (#6688) 2019-11-27 10:54:29 -08:00
Daniel Nelson 76e7b57fcd
Fix could not mark message delivered error in kafka_consumer (#6363) 2019-09-06 12:35:33 -07:00
Daniel Nelson 9bdb3992d5
Require Kafka 0.10.2.0 or later in kafka_consumer (#6181) 2019-07-30 21:33:29 -07:00
Daniel Nelson aea09b3a20
Use sarama built in support for consumer groups (#6172) 2019-07-29 20:41:12 -07:00
Greg d0a6051fd7 Prevent panic when marking the offset in kafka_consumer (#5118) 2018-12-10 15:55:58 -08:00