linzhiqiang / aix.redisstreammessagebus Goto Github PK
View Code? Open in Web Editor NEWredis stream 实现messagebus 订阅发布任务和延迟任务
redis stream 实现messagebus 订阅发布任务和延迟任务
使用linq2db,做简单的单表插入记录 ,使用1个线程没有问题,多个线程肯定会有很多失败,错误信息The connection does not support MultipleActiveResultSets ,
MyMultithreadTaskExecutor里面有什么需要注意的吗
await _processExecuter.AddProcess(new ErrorWorkerProcess(_serviceProvider), "redis失败任务处理");
注释掉了?
RedisMessageBus消费失败,topic:redis:messagebus:BusinessMessageDemo1,groupName:default-group
StackExchange.Redis.RedisCommandException: Multi-key operations must involve a single slot; keys can use 'hash tags' to help this, i.e. '{/users/12345}/account' and '{/users/12345}/contacts' will always be in the same slot
at StackExchange.Redis.ServerSelectionStrategy.Select(Message message) in //src/StackExchange.Redis/ServerSelectionStrategy.cs:line 109
at StackExchange.Redis.ConnectionMultiplexer.PrepareToPushMessageToBridge[T](Message message, ResultProcessor1 processor, IResultBox
1 resultBox, ServerEndPoint& server) in //src/StackExchange.Redis/ConnectionMultiplexer.cs:line 2206
at StackExchange.Redis.ConnectionMultiplexer.TryPushMessageToBridgeAsync[T](Message message, ResultProcessor1 processor, IResultBox
1 resultBox, ServerEndPoint& server) in //src/StackExchange.Redis/ConnectionMultiplexer.cs:line 2209
at StackExchange.Redis.ConnectionMultiplexer.ExecuteAsyncImpl[T](Message message, ResultProcessor1 processor, Object state, ServerEndPoint server) in /_/src/StackExchange.Redis/ConnectionMultiplexer.cs:line 2711 at StackExchange.Redis.RedisBase.ExecuteAsync[T](Message message, ResultProcessor
1 processor, ServerEndPoint server) in //src/StackExchange.Redis/RedisBase.cs:line 47
at StackExchange.Redis.RedisTransaction.ExecuteAsync(CommandFlags flags) in /_/src/StackExchange.Redis/RedisTransaction.cs:line 59
at Aix.RedisStreamMessageBus.RedisImpl.RedisStorage.EnqueueDealy(JobData jobData, TimeSpan delay) in F:\jovi\gitProjects\Aix.RedisStreamMessageBus\src\Aix.RedisStreamMessageBus\RedisImpl\RedisStorage.cs:line 109
at Aix.RedisStreamMessageBus.BackgroundProcess.WorkerProcess.Handle(StreamEntry streamEntry, JobData jobData) in F:\jovi\gitProjects\Aix.RedisStreamMessageBus\src\Aix.RedisStreamMessageBus\BackgroundProcess\WorkerProcess.cs:line 162
at Aix.RedisStreamMessageBus.BackgroundProcess.WorkerProcess.HandleWrap(StreamEntry streamEntry, JobData jobData) in F:\jovi\gitProjects\Aix.RedisStreamMessageBus\src\Aix.RedisStreamMessageBus\BackgroundProcess\WorkerProcess.cs:line 134
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.