import { Queue } from 'bullmq'; const queue = new Queue('{data-ingestion_ceo}', { connection: { host: 'localhost', port: 6379, db: 0, }, }); async function testJob() { const job = await queue.add('fetchCompany', { handler: 'ceo', operation: 'fetchCompany', payload: { symbol: 'AAPL' }, }); console.log('Job added:', job.id); process.exit(0); } testJob().catch(console.error);