Skip to content

file到kafka性能测试 #809

Answered by wangpeix
wangpeix asked this question in Help
Apr 22, 2023 · 4 comments · 4 replies
Discussion options

You must be logged in to vote

场景介绍

在做技术调研,想知道logtail在公司场景下的采集性能,以及想看到logtail的极限。

主要场景: file log -> kafka/pulsar。默认日志为堆栈日志,采集后以JSON数组的形式发送到kafka/pulsar。

压测准备

1. 机器配置: 40C 125G

2. kafka配置: 80分区 2副本

3. 性能观测: 观测kafka manager上topic的输入流量

4. 日志格式-单行 1.1kb

[2023-05-14 14:21:10][INFO][../cache.go:198] _undef||traceid=xxx||spanid=xxx||hintCode=0||_msg=redis setex||key=xxx||thread=ThreadPoolExecutor-0_0||java.lang.InterruptedException: sleep interrupted

5. 日志格式-多行 1.26kb

[2023-05-14 14:21:10][INFO][../cache.go:198] _undef||traceid=xxx||spanid=xxx||hintCode=0||_msg=redis setex||key=xxx||thread=ThreadPoolExecutor-0_0||java.lang.InterruptedException: sleep interrupted
    at java.base/java.lang.Thread.sleep(Native Method)
    at co…

Replies: 4 comments 4 replies

Comment options

You must be logged in to vote
1 reply
@wangpeix
Comment options

Comment options

You must be logged in to vote
2 replies
@wangpeix
Comment options

@wangpeix
Comment options

Comment options

You must be logged in to vote
1 reply
@messixukejia
Comment options

Answer selected by messixukejia
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
4 participants