Comments (3)
it is not possible by design, every job type must have explicitly defined handler
if you need something like generic job type - you can use the same one for all jobs and then implement your own routing based on the job arguments
from gue.
That is actually what I want. I need a consumer which read any message in the queue and can handle different types of them. in this handler.
Do you think it might be useful for this library if I can prepare a pr?
from gue.
added an option to set a handler for unknown job types in #227 - is it something like this that you want?
from gue.
Related Issues (20)
- Enque new jobs from within a job HOT 2
- Adding a subQueue or workIdentifier field HOT 2
- Way to distinguish between a 'successful' versus 'failed' job HOT 2
- Why not use sql.DB instead of adapter.Tx HOT 8
- Add maximum retry HOT 2
- v5.1.0 error: cannot use unit.Dimensionless HOT 2
- Can't use more than 5 workers HOT 2
- Postgres Listen/Notify instead of polling HOT 3
- Undesirable trace spans from poll function HOT 6
- Report queue item success in a different context HOT 2
- prevent enqueuing same job, HOT 3
- Considering using Opentelemetry Naming Conventions HOT 1
- Worker failed to lock a job level=error cannot set transaction read-write mode during recovery. HOT 3
- Request for new release HOT 2
- Jobs are not being precessed immediately HOT 6
- Hooks are not executing for jobs that panic HOT 4
- Trying to install 4.1.0 fails due to otel deps HOT 9
- Specific workers per job type(s) HOT 3
- Real-time Jobs HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
š Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ššš
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ā¤ļø Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gue.