-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* Fix Kafka input for filebeat (#30277) The Kafka input was broken and had 2 issues: A serialization error on filebeat output: Looks like the ack function was put in the `reader.Message.Meta` map by mistake in 20d6038 `Meta` is a `MapStr` type that does not support function values, therefore fails to serialize itself when requested later on output. `ack` was not called for incoming messages: The ack function was never used because it was supposed to be a part of the `beat.Event.Private` and it was not put in there. (cherry picked from commit c2f51de) * Fix missing struct field * Add a delay for sarama to commit * Add support for empty partitions Co-authored-by: Denis Rechkunov <[email protected]>
- Loading branch information
1 parent
d338c2b
commit bd7067b
Showing
4 changed files
with
51 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters