RabbitMQ + Spring Boot: mensagem SUMIU e fila TRAVOU? (Consumer na prática)

Message disappearing? Queue stuck in Unacked on RabbitMQ? This is one of the most common issues when working with a RabbitMQ Consumer in Spring Boot — and it’s almost always related to incorrect use of ACK and NACK. In this video, you’ll learn how a RabbitMQ consumer really works, understanding the full message lifecycle and why processing errors can cause stuck queues or infinite reprocessing loops. We’ll build a RabbitMQ Consumer with Spring Boot, simulate real-world failures, and monitor everything directly in the RabbitMQ dashboard. 📌 What you’ll learn: How message consumption works in RabbitMQ Difference between manual ACK vs AUTO ACK What causes messages to stay in Unacked state How to avoid stuck queues and infinite loops How to properly handle errors in a consumer If you work with messaging systems, event-driven architecture, or microservices, these issues can directly impact your system’s reliability. ⏱️ Timestamps 00:00 Common messaging issues 00:28 RabbitMQ message flow 00:51 Where problems usually happen 01:30 Setting up the consumer in Spring Boot 02:18 How the listener works 02:52 ACK strategies explained 03:30 Controlling consumption (prefetch / concurrency) 03:58 Creating the consumer 04:35 Identifying messages 05:10 Stuck messages (Unacked) 06:05 Sending ACK correctly 07:20 Handling errors with NACK 08:00 Discarding messages 09:10 Infinite loop in RabbitMQ 11:15 Fixing stuck queues 13:11 AUTO ACK in practice 14:50 Silent failures 16:02 Conclusion 🔗 Useful links 💻 Source code on GitHub https://github.com/renaner123/rabbitm... 🎬 Full RabbitMQ + Spring Boot series    • RabbitMQ com Spring Boot na Prática | Prod...   📚 Recommended videos ▶ 7 Plugins to boost your IntelliJ productivity    • 7 Plugins que TODO Dev Java Precisa Conhec...   ▶ How to structure a layered Spring Boot project    • Como Estruturar Projeto Spring Boot em Cam...   ▶ Build a Metrics Dashboard with Spring Boot, Prometheus & Grafana    • Dashboard de Métricas do Zero: Spring Boot...   #RabbitMQ #RabbitMQConsumer #SpringBoot #BackendJava #Messaging #Microservices #EventDriven #Queues #Unacked #AckNack