Hi everyone just wanted to provide an update on this issue. It seems the problem resolved itself, and I believe I understand why. While debugging, I noticed that sometimes the consumer was triggered, and sometimes it wasn't. Here's what I think was happening:
Our microservice project isn't in production yet, and everyone was cloning the repository from GitHub and running it locally. RabbitMQ, however, was running in the cloud. When multiple developers ran the project simultaneously, multiple instances of the service were connecting to the same RabbitMQ queue. This caused some unexpected behavior
When I closed all other consoles and ran only my instance, the issue disappeared, and the consumer started working consistently every time. This makes me think the root cause was having too many instances connected to the same queue simultaneously.