Async Processing Articles
3 articles about Async Processing. Explore Spring Boot implementation, design, and operations across related topics.
-
Implementing Kafka Producer and Consumer with Spring Boot
A hands-on guide to implementing Kafka Producer and Consumer from scratch in a Spring Boot application using spring-kafka. Covers the basics of KafkaTemplate and @KafkaListener, through to error handling, retries, and Dead Letter Topics, with a focus on code examples.
-
How to Implement RabbitMQ Producer and Consumer with Spring Boot - AMQP and spring-amqp Basics
A guide to defining RabbitMQ Exchange, Queue, and Binding in code using spring-amqp, and implementing message sending with RabbitTemplate and message receiving with @RabbitListener. Covers dead letter queues, retry configuration, and use case comparisons with Kafka.
-
How to Send Emails with JavaMailSender in Spring Boot - From Gmail/SMTP Configuration to HTML Emails
A zero-to-production guide on sending emails with JavaMailSender. Covers Gmail SMTP configuration, plain text and HTML emails, asynchronous sending with @Async, and troubleshooting common authentication errors — all with practical code examples.