-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
in_kafka: add parser support and improve performance
When processing record, the in_kafka plugin lack of parser ability, This commit added support to parse payload. It has been tested with kafka. When processing record, the in_kafka plugin currently will commit every single message poll from kafka. which is good at normal case. But with this default behavier, the performance is strictly limited. This commit has add auto_commit as an option when the performance matter more. It has been tested with kafka. There is a sample benchmark as following. topic_size topic_offset time_cost before 251 MB 506701 1m30s after 251 MB 506701 10s Signed-off-by: luoyy8 <[email protected]>
- Loading branch information
luoyy8
committed
Dec 15, 2024
1 parent
362ca1f
commit 0c03af9
Showing
2 changed files
with
119 additions
and
8 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