Comments (3)
以下是目录下的日志
#Software: test2
#ProcessID: 27272 x64
#AppDomain: test2
#FileName: E:\csharp\test2\test2\test2\bin\Debug\net7.0\test2.exe
#BaseDirectory: E:\csharp\test2\test2\test2\bin\Debug\net7.0\
#TempPath: C:\Users\admin\AppData\Local\Temp\
#CommandLine: E:\csharp\test2\test2\test2\bin\Debug\net7.0\test2.dll
#ApplicationType: Console
#CLR: 7.0.0, .NET 7.0.0
#OS: Microsoft Windows NT 10.0.19044.0, DESKTOP-U4VKV3S/admin
#CPU: 16
#GC: IsServerGC=False, LatencyMode=Interactive
#ThreadPool: Min=32/32, Max=32767/1000, Available=32765/1000
#Date: 2023-01-03
#详解:https://newlifex.com/core/log
#字段: 时间 线程ID 线程池Y/网页W/普通N/定时T 线程名/任务ID 消息内容
#Fields: Time ThreadID Kind Name Message
17:44:28.538 1 N - [testg2]正在准备消费 nx_test33
17:44:28.548 1 N - [testg2]正在从名称服务器[127.0.0.1:9876]查找该Topic所在Broker服务器地址列表
17:44:28.625 1 N - NewLife.Core v10.1.2022.1201 Build 2023-12-01 .NET 7.0
17:44:28.625 1 N - NewLife组件核心库 ©2002-2022 NewLife
17:44:28.625 1 N - test2 v1.0.0 Build 2000-01-01 .NET 7.0
17:44:28.625 1 N - test2
17:44:28.625 1 N - 发现Broker[broker-a]: 172.26.64.99:10911
17:44:28.732 4 Y T [testg2]准备从所有Broker服务器上获取消费者列表,以确定当前消费者应该负责消费的queue分片
17:44:28.751 4 Y T [testg2]1: no consumer for this group
17:44:28.861 9 Y P [testg2]准备从所有Broker服务器上获取消费者列表,以确定当前消费者应该负责消费的queue分片
17:44:28.868 9 Y P [testg2]消费重新平衡,当前消费者负责queue分片:broker-a[0,1]
17:44:28.879 4 Y P [testg2]初始化offset[broker-a@0] Offset=6
17:44:28.881 10 Y P [testg2]初始化offset[broker-a@1] Offset=5
from newlife.rocketmq.
我修改了下 FromLastOffset=false, 目前看来就没问题了
from newlife.rocketmq.
对于rocketmq和kafka来说,每一个queue队列(或分区),就是一个WAL数据文件。
生产消息,就是不断写入这个文件。
而各个消费者,就维持着一个指针,指向这个文件的相应位置。
所谓的消费确认和从尾部消费,只不过是移动该消费者自己的指针而已。
from newlife.rocketmq.
Related Issues (20)
- 支持 RocketMQ 5.0 POP 消费模式
- 是否支持集群消费 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
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.