Open zlace0x opened 2 years ago
Thanks for the report @zlace0x.
It seems bullmq
started to use cmsgpack
encoding. Older bull
was not using it.
See old addJob
Lua: https://github.com/OptimalBits/bull/blob/develop/lib/commands/addJob-6.lua
vs
New `addJob: https://github.com/taskforcesh/bullmq/blob/master/src/commands/addJob-9.lua
Currently Upstash does not support cmsgpack
in Lua scripts, unlike original Redis. For the time being you can use the older bull
implementation.
@zlace0x what version of bullmq did you have to revert back to? I tried dropping back to v1.49 which was the last version before the issue @mdogan referenced was merged but now I'm getting a:
ERR Command is not available: 'XREAD'
🤔
@uncvrd I'm using the older bull
implementation instead of bullmq
.
@zlace0x OH gotcha thank you! I'm not a redis expert but I guess XREAD is from Streams which is not supported yet on Upstash, bummer.
Encountered this error running bullmq with upstash, the same example works fine on local redis. Also the older bull example works fine with upstash.
Code