Comments (6)
从错误本身来看,这是因为网络异常断开所致,只需要忽略即可
from newlife.rocketmq.
是的,是网络断开,但运行一段时间就会产生此问题,同一台服务器的其他服务没网络问题,只用到此组件的有问题。
我们在for循环中new producer(),会不会是这样使用导致线程数过多?
from newlife.rocketmq.
对于生产者来说,建议使用固定数量的生产者 Producer,一般只用一个即可
from newlife.rocketmq.
是的,发现了两方面解决,一个是我们使用上的问题,已经固定生产者数量,几率降低很多;
然后感谢更新,看你们源码的更新,也在小概率异常catch内部的重试操作造成再次异常,在外层又加了一层trycatch来解决,更新到最新版X就能彻底解决;
from newlife.rocketmq.
网络编程,最难的地方就在于容错处理。
大家为了省事,一般遇到错误就会重新建立一个连接,对于rmq这种长连接协议来说,每次新连接都要验证,比较繁琐
from newlife.rocketmq.
你们开源的这些底层组件,确实方便和帮助了很多上层做业务的开发人员。
from newlife.rocketmq.
Related Issues (20)
- 是否支持集群消费 HOT 9
- rocketmq origin msgid is diffent with sdk parse HOT 3
- 用线程创建了3个customer,程序开启一段时间后,就不消费了 HOT 10
- 消息消费不掉问题 HOT 2
- 消费端发布到服务器上报错 HOT 4
- 消费者会时不时的位移消费位置 HOT 4
- 用了最新版的NewLife.Core.dll还是内存泄露 HOT 6
- 用0401的版本,发布服务器上报错,如何解决 HOT 2
- no client info for this group: road-assistance HOT 2
- 支持顺序发布和消费消息
- 支持发布延迟消息
- 有没有顺序消息推送的例子? HOT 2
- 连接rocketmq dledger集群,集群重新选主后,rocketmq连接不上 HOT 2
- 请教一下,如何在出现异常时手动关闭程序,而不是自动重试 HOT 5
- 阿里云RocketMQ升级后无法订阅到部分消息 HOT 3
- .net core 程序连接华为云rocketmq启动失败 HOT 2
- 能不能设置任务超时时间 HOT 1
- 消费者服务重启后,同一个topic又开始重头消费了 HOT 4
- 使用阿里云地域的服务器地址 HOT 2
- 连接5.2.0版本的集群后,返回system_error错误 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from newlife.rocketmq.