Replies: 2 comments 3 replies
-
Hi @vsoch, we try to reserve Issues for actual confirmed problems. And while we do our best to help people with questions, we don’t always have time. I tried looking at your example but it seems fairly complicated given you’re integrating with kubernetes. My advice would be to check out the code examples within River like this one as well as the standalone documentation: https://riverqueue.com/docs It seems like you are probably managing to insert a job given the log line, and you could verify this by querying the |
Beta Was this translation helpful? Give feedback.
-
It's working! It was really simple (I think?) I didn't realize the I apologize for my previous message - I didn't get notification for the original discussion response, and thought it was some kind of strategy to not answer the issues. I do think this is important enough to warrant an update to docs - for context I was reading here: https://riverqueue.com/docs#job-args-and-workers And it would have been helpful to have a callout or warning that stated the need for the matching name, etc. I definitely suspect it could be elsewhere in the docs (your documentation is beautiful) but that's where I was reading. I only figured it out after reading example after example for an entire day (and in retrospect I feel very dumb). |
Beta Was this translation helpful? Give feedback.
-
Hi! I have a setup that I'm trying to get working here and I'm trying to do a basic job Insert, and then verify that the worker is running. I've tried everything I can think of to do, and although I see that the insert returns a jobid (and reports adding to the queue):
I never see any indication that the job is running - meaning in the Work function, I can put different kinds of prints and nothing ever shows up. Subscriptions also never fire, and logging to klog, slog, or to file doesn't work. Here is where I create the queue, and here is the Insert (Enqueue) function and the package that has the worker, etc. I think I am likely doing something wrong with a context or Start/Stop but I don't know enough about this library structure to understand what is right.
Last time you just converted my question to a discussion without answering, so I had to guess, and I suspect I did it wrong and am now layers deep into that error. Please help me this time. 😞
Beta Was this translation helpful? Give feedback.
All reactions