Microservices Articles
4 articles about Microservices. Explore Spring Boot implementation, design, and operations across related topics.
-
How to Implement Declarative External API Calls with OpenFeign in Spring Boot
A comprehensive implementation guide covering everything from adding the spring-cloud-openfeign dependency and defining @FeignClient interfaces to error handling, timeout configuration, and logging settings. Aimed at developers frustrated by RestTemplate/WebClient boilerplate.
-
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 Implement a Circuit Breaker with Resilience4j in Spring Boot
A hands-on guide to implementing circuit breakers with Resilience4j and Spring Boot. Covers how to use @CircuitBreaker, @Retry, and @RateLimiter, fallback design, and parameter configuration via application.yml with practical code examples.