当前位置:网站首页>CommitFailedException异常,原因以及解决方案
CommitFailedException异常,原因以及解决方案
2022-04-22 15:12:00 【机智小袁】
定义
该异常是Consumer 端提交位移时发生的异常,而且是不可恢复的严重异常。
发生的场景
场景1:
消息处理的总时间超过了预计的max.poll.interval.ms参数值时。
解决方案:
- 提高消息处理的速度,减少单条消息处理时间。
- 增长Broker端的max.poll.interval.ms的值。
- 减少下游系统一次性消费的消息总数。
- 下游系统使用多线程来加速消费。(该方式最高级,但是最难实现。)
建议使用第一种首先考虑。
场景2:
Standalone Consumer(独立消费者)指定的group.id和消费者组的group.id相同。
解决方案:
- 这个就只能自己认真检查了。
版权声明
本文为[机智小袁]所创,转载请带上原文链接,感谢
https://blog.csdn.net/wangdawei_/article/details/124336666
边栏推荐
- Analysis on the characteristics of the official game economic model launched by platoffarm
- 【深入理解TcaplusDB技术】示例代码——异步调用接口
- [deeply understand tcallusdb technology] delete all data interface descriptions in the list - [list table]
- [C language] learn file operation in 10 minutes
- 百合医疗IPO被终止:实控人黄凯之父黄维郭曾是佛山副市长
- [deeply understand tcallusdb technology] insert data into the specified location of the list interface description - [list table]
- Memcpy() function copies two-dimensional array & memcmp() function compares two-dimensional array
- 分布式任務調度平臺XXL-JOB安裝及使用
- Redis系列三:thinkphp 使用 redis
- Development trend of C in 2022
猜你喜欢
![【深入理解TcaplusDB技术】删除列表所有数据接口说明——[List表]](/img/7b/8c4f1549054ee8c0184495d9e8e378.png)
【深入理解TcaplusDB技术】删除列表所有数据接口说明——[List表]

Installation et utilisation de la plate - forme de programmation des tâches distribuées XXL - job

Redis series 3: ThinkPHP uses redis

Redis interview question summary, MySQL index optimization, frequently asked interview questions
![[time series] deepglo: a multi time series prediction model that can learn global dependence and local information](/img/3f/2671bb5954ac88632f1a9b735b5458.png)
[time series] deepglo: a multi time series prediction model that can learn global dependence and local information

Redis optimization series (I) building redis master-slave based on docker

Watch out for spies! Safeguard national security, you and I guard together

TcaplusDB君 · 行业新闻汇编(四)

WxWidgets learning notes (I): Interpretation of code:: blocks template project source code

Installation and use of distributed task scheduling platform xxl-job
随机推荐
【深入理解TcaplusDB技术】将数据插入到列表指定位置接口说明——[List表]
mysql初始化报错
Android UI - zoomcontrols zoom in and out pictures, Android interview resume template
2022 chemical automation control instrument examination question bank and online simulation examination
Tcallusdb Jun · industry news collection (4)
ROS communication mechanism II - service communication
[circle of friends server architecture design]
Redis series 3: ThinkPHP uses redis
职场PUA,管理者的五宗罪
使用HAL库、STM32CubeMX和Keil 5开发入门教程(一):点亮一盏LED灯(NUCLEO-F411RE)
【写作】论文写作技巧
【深入理解TcaplusDB技术】更替列表指定位置数据接口说明——[List表]
云呐|最新酒店行业固定资产管理办法,酒店实物资产管理系统
TcaplusDB君 · 行业新闻汇编(五)
Construction of information research and judgment analysis platform and development of information, guidance and logistics integrated management system
【深入理解TcaplusDB技术】删除数据示例代码——[Generic表]
SVG系列——3,强大的路径
There are Chinese characters in the input parameter, and an error of 500 is reported. There is an internal error in the server
The GNU build system体验教程:Hello world example with Autoconf and Automake
情报研判分析平台建设,情指勤一体化管理系统开发