Kafka之监控

在这里插入图片描述

1.生产者和消费者的曲线趋势速度是一样的。
没有消息堆积 及时的消费 ss–>hbase 么有压力

曲线趋势不吻合。消息堆积,要及时消费

2.为什么消费者曲线比 生产者曲线在同一时刻度要高?
消费者输出字段,要比生产者多
例子:
生产者 send(null,“hello ruoze”)
消费者 {
topic: g5
partition: p2
offset: 10000
value: ,“hello ruoze”
}

生产:“hello ruoze” :15字节
{
topic: g5
partition: p2
offset: 10000
timestamp: xxxxxx
length:
value: “hello ruoze”
} :消费者读出来的时候可能: 60字节

生产上多少数据量看如下图:

在这里插入图片描述

猜你喜欢

转载自blog.csdn.net/qq_43688472/article/details/86484034