Taskforce.sh
  • Documentation
  • Getting started
    • Direct Redis Connection
    • Taskforce connector
  • Account
    • Settings
  • Connections
    • Queues
    • Jobs
    • Workers
  • Metrics
  • Monitoring
    • Enable notifications
      • Slack
      • Pagerduty
    • Connection monitor
    • Failed jobs monitor
    • Missing workers monitor
    • Max Memory monitor
    • Backlog Monitor
  • Alerts
  • Organizations
  • BullMQ Pro
    • Connector Pro
  • On Premises
    • AWS
      • Launch AWS AMI.
      • Create role with SSM permissions
      • Assign SSM Role
      • Configure your instance
        • Create a PostgreSQL instance
        • Configure Auth0
          • Configure API
        • Configure Mailgun
      • Setup loadbalancer
      • Setup route 53
      • Monitors
      • Upgrading
      • Troubleshooting
    • Docker
      • Docker registry
      • Environment variables
      • Docker compose
    • Using the taskforce connector
  • Security primer
  • Troubleshooting
Powered by GitBook
On this page

Was this helpful?

  1. BullMQ Pro

Connector Pro

It is possible to bring connections that use BullMQ Pro to the dashboard by using the Pro version of the connector. Currently, the connector does not have a CLI version but you can easily use it programmatically.

First, you need to install the @taskforcesh/connector-pro dependency.

$ npm install -S @taskforcesh/connector-pro
$ yarn add -S @taskforcesh/connector-pro
$ pnpm install -S @taskforcesh/connector-pro

You can now import the package and instantiate a connector. Notice that you can have as many connectors running in parallel as you want. That will just add redundancy, however once is often enough.

import { ConnectPro } from "@taskforcesh/connector-pro";

ConnectPro(
  "My Connection",
  "My token",
  // IORedis options
  {
    host: "localhost",
    port: 6379,
  },
  // Options
  {
    // Specify a team where to put this connection if needed.
    team: "my team",
    // Specify a custom backend if using on-premises
    backend: "ws://localhost:9876", 
  }
);

PreviousBullMQ ProNextOn Premises

Last updated 2 years ago

Was this helpful?