I've ensured my consumer is setup properly, added a type field to the
message and added a callback method for that type. My callback method isn't
getting called. I've tested my callback method from a different source and
it worked there. In my tested I noticed that redis MONITOR logs this:
> 15421
Huh that's weird. I've removed the async-to-sync stuff and now the script
doesn't hang. I've checked redis MONITOR and I do see traffic now which
nice, but for some reason my consumer isn't seeing any of it. Maybe I
messed up the group_add method. Here's the redis MONITOR output.
1542149506.032331
I've never tried using the async-to-sync stuff with multiprocessing -
first, I'd try removing that and see if it still works (just run from a
management command or script directly).
If it still fails, I'd suggest running a redis MONITOR to see if any
traffic makes it to Redis at all.
Andrew
On T
3 matches
Mail list logo