GithubHelp home page GithubHelp logo

Support for bullmq ? about bull-monitor HOT 7 CLOSED

s-r-x avatar s-r-x commented on May 21, 2024 1
Support for bullmq ?

from bull-monitor.

Comments (7)

s-r-x avatar s-r-x commented on May 21, 2024 2

added in 3.0.0

from bull-monitor.

s-r-x avatar s-r-x commented on May 21, 2024

@mannharleen hello. unfortunately, i don't use bullmq in production, so this one is not my highest priority atm. PRs are welcome, though!

from bull-monitor.

mannharleen avatar mannharleen commented on May 21, 2024

do you reckon that the changes would mostly involve creating another class for BullMQ and implementing all that is here - https://github.com/s-r-x/bull-monitor/blob/main/packages/root/src/gql/data-sources/bull/index.ts

from bull-monitor.

s-r-x avatar s-r-x commented on May 21, 2024

@mannharleen, don't think so. the main problem is that there is no abstraction over Queue class, and it is used as it is all over the place. For example, there is the text search class, that heavily relies on bull internals. One way to solve it is to wrap user defined queues in some kind of adapter. Otherwise if bull and bullmq apis are quite similar i guess you can patch the differences here and there using instanceof. Anyways bullqueue type should be changed everywhere from bullqueue to somequeueadapter in the first case, and to bullqueue | bullmqqueue in the second one. Which is helluva refactor

from bull-monitor.

mannharleen avatar mannharleen commented on May 21, 2024

Understand. That sounds like a lot of rework 🤔

from bull-monitor.

ccollie avatar ccollie commented on May 21, 2024

@mannharleen what specifically are you looking for ? I imagine you've looked at bull-board which supports bullmq. Is there something missing in bull-board as well ?

from bull-monitor.

mannharleen avatar mannharleen commented on May 21, 2024

Thanks mate

from bull-monitor.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.