Skip to content

Preventing "job kind is not registered in the client's Workers bundle" errors with multiple clients #177

Answered by bgentry
rokf asked this question in Q&A
Discussion options

You must be logged in to vote

I might be misunderstanding the situation, but is there anything preventing you from using separate queues for each of these clients that’s working jobs? Clients will only work jobs on queues that are specified in their queue config, so you can pretty well isolate these from each other just doing that. You could specify the default queue on a per job type basis to automatically put them in a queue that’s handled by the worker you want to pick it up. Or you can specify the queue in the InsertOpts at insertion time to explicitly send a job to a given queue.

The option of using multiple Postgres schemas still has some issues that we're working through as @brandur mentioned.

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
6 replies
@rokf
Comment options

@brandur
Comment options

@rokf
Comment options

@brandur
Comment options

@rokf
Comment options

Answer selected by rokf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants