
Dead Letter Queue Kafka Spring With Retry Topics Setup
Add retries and a dead letter topic to a Spring Kafka consumer: DefaultErrorHandler, backoff, DeadLetterPublishingRecoverer and RetryableTopic.
Everything you need to level up your coding skills.

Add retries and a dead letter topic to a Spring Kafka consumer: DefaultErrorHandler, backoff, DeadLetterPublishingRecoverer and RetryableTopic.

Configure RabbitMQ with Spring AMQP so messages are never lost or stuck: acks, publisher confirms, bounded retries and dead letter queues.

Wire Testcontainers into Spring Boot tests with @ServiceConnection: no dynamic properties, supported containers, local development with TestApplication.

Understand the JUnit Jupiter extension model: extension points, ExtendWith, parameter resolvers, callbacks and conditions, with three custom examples.

Test Spring MVC controllers with MockMvc and WebMvcTest: status, JSON, validation, security, uploads and exception handlers without a server.

Write readable API tests with REST Assured: given when then, JSON path checks, request specs, authentication, schema validation and Spring Boot setup.

Fetch only the columns you need with Spring Data JPA projections: interface and record DTOs, dynamic, nested and open projections, and limits.

Build dynamic JPA search queries with the Criteria API, the static metamodel and Spring Data Specifications, including paging, joins and the count query trap.

Use Hibernate StatelessSession to import and export large data sets without a persistence context, with JDBC batching, scrollable queries and the trade-offs.

What Open Session in View does in Spring Boot, why it hides LazyInitializationException, how it keeps a database connection longer, and how to spot its costs.

Compare Hibernate, Spring JdbcClient and jOOQ for reporting queries with grouping, windows and large result sets, and pick one by the shape of the query.

Find why Spring cannot supply a bean of the type you asked for, from component scanning and missing annotations to profiles and test slices.
We send one email when a new post is published. No spam.