This repository has been archived by the owner on Sep 21, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 17
Kafka Output #147
Merged
Merged
Kafka Output #147
Changes from all commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
a9f5924
wip
robbavey 9c3238a
Initial import of kafka from libbeat
robbavey 86905bf
Stub output
robbavey 0d3e65f
Something compiles
robbavey 1424f70
Base "working" kafka output
robbavey 650dab6
Add rudimentary key support, and fix timestamps
robbavey 97b9050
Checkpoint before converting messages.Event to beats.Event
robbavey 2dd711d
json encoder for content
robbavey f27651a
tidy
robbavey d84b99f
Move kafka output config into it's own space
robbavey 99899b5
Fix up license headers
robbavey 6505e9b
Test with SyncProducer
robbavey ae2ccc2
Merge remote-tracking branch 'upstream/main' into feature/kafka-output
robbavey be43076
Add enabled flag to kafka output
robbavey 07761f6
Fixes for automated tests
robbavey 1de9908
Formatting for linter
robbavey e82ec7c
Fix broken config
robbavey 0d7c60b
goimports fixes
robbavey b9c9ef1
Fixes to make linter happy
robbavey 706aafa
Add unit tests for config
robbavey dd324de
Add license header to test file
robbavey c76901a
Formatting
robbavey c3706b2
Check return code of validate in tests
robbavey 94d1ffc
Use AsyncProducer
robbavey a81e1da
Update license
robbavey 5ac7ac9
Linter check
robbavey eca83ab
Use errors.Is to pacify linter
robbavey 0bcb268
Use elastic fork of sarama library, and remove unused code
robbavey a5a4c6e
Update NOTICE.txt
robbavey fa3d152
Fix conflicts with 'upstream/main'
robbavey 20abe54
Added link to issue to Kerberos TODO comment
robbavey File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not necessarily something to fix in this PR, but if a user defines multiple outputs it looks like we will just arbitrarily pick one with an undocumented precedence.
It would be better if we could return an error to the user indicating that multiple outputs are unsupported. Probably the best way to do this is to report the shipper state as FAILED when the agent gives it an expected configuration with multiple outputs.
If someone has a better idea, let me know. Otherwise I'll write up an issue for us to implement this.