You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have an express app as the frontend to mange a backend system making use of bull queue to process files download/upload
I want to set up arena to use in the current express app to share all the security and other facilities.
I followed the guides here https://github.com/bee-queue/arena#running-arena-as-a-node-module.
2 issues:
1/ Asynchronously build the queues configuration and inject to Arena
Although there is a guide which seem to do similar: https://mixmax.com/blog/bull-queue-aws-autodiscovery
However the guide there just ends up at the async function which return the queues, so I don't know how would that be injected to Arena later on.
2/ Arena dashboard is not filled with data
I attempted to hardcode queues configuration :
const arenaConfig = Arena({
queues: [
{
// Name of the bull queue, this name must match up exactly with what you've defined in bull.
name: "download",
// Hostname or queue prefix, you can put whatever you want.
hostId: "MyAwesomeQueues",
// Redis auth.
redis: {
port: 6379,
host: '127.0.0.1',
},
},
],
},
{
// Make the arena dashboard become available at {my-site.com}/arena.
// basePath: '/arena',
useCdn: true,
// Let express handle the listening.
disableListen: true
});
// Make arena's resources (js/css deps) available at the base app route
router.use('/arena', arenaConfig);
The dashboard now show up. However it is just empty with only the "download" queue link show up, but just show "not found" when clicked on.
The text was updated successfully, but these errors were encountered:
Hi,
Thanks for the package.
I have an express app as the frontend to mange a backend system making use of bull queue to process files download/upload
I want to set up arena to use in the current express app to share all the security and other facilities.
I followed the guides here https://github.com/bee-queue/arena#running-arena-as-a-node-module.
2 issues:
1/ Asynchronously build the queues configuration and inject to Arena
Although there is a guide which seem to do similar:
https://mixmax.com/blog/bull-queue-aws-autodiscovery
However the guide there just ends up at the async function which return the queues, so I don't know how would that be injected to Arena later on.
2/ Arena dashboard is not filled with data
I attempted to hardcode queues configuration :
const arenaConfig = Arena({
queues: [
{
// Name of the bull queue, this name must match up exactly with what you've defined in bull.
name: "download",
],
},
{
// Make the arena dashboard become available at {my-site.com}/arena.
// basePath: '/arena',
useCdn: true,
// Let express handle the listening.
disableListen: true
});
// Make arena's resources (js/css deps) available at the base app route
router.use('/arena', arenaConfig);
The dashboard now show up. However it is just empty with only the "download" queue link show up, but just show "not found" when clicked on.
The text was updated successfully, but these errors were encountered: