1 | initial version |
Yes, there are a few ways to confirm if nestjs/bull is connected to Redis:
Check the logs: When the NestJS application starts up, it will log information about the connection to Redis. Look for messages like "Connected to Redis" or "Successfully connected to Redis" in the logs.
Use Redis CLI: You can use Redis CLI to connect to the same Redis instance and check if there are any active connections from NestJS. Run the command CLIENT LIST
in Redis CLI to see a list of all active connections.
Use Redis Monitor: You can use Redis Monitor to monitor all the commands sent to Redis in real-time. Run the command redis-cli monitor
and you should see all the commands that NestJS is sending to Redis.