Ask Your Question
3

Is there a way to confirm if nestjs/bull is connected to redis?

asked 2023-05-27 13:59:59 +0000

lalupa gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2023-05-27 14:28:01 +0000

bukephalos gravatar image

Yes, there are a few ways to confirm if nestjs/bull is connected to Redis:

  1. 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.

  2. 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.

  3. 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.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2023-05-27 13:59:59 +0000

Seen: 17 times

Last updated: May 27 '23