Kafka 消费者组抵消保留 [英] Kafka consumer group offset retention

查看:44
本文介绍了Kafka 消费者组抵消保留的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在该组中的所有消费者都失败后,kafka 将存储该消费者组的偏移量多长时间?这个有配置变量吗?

解决方案

正确的属性名称是:

offsets.retention.minutes

来自 https://kafka.apache.org/documentation/#brokerconfigs

How long does kafka store the offset of a consumer-group after all consumers in that group fail? Is there a configuration variable for this?

解决方案

The right property name is:

offsets.retention.minutes

from https://kafka.apache.org/documentation/#brokerconfigs

这篇关于Kafka 消费者组抵消保留的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆