Tagged articles

Spring Kafka

8 articles · Page 1 of 1
LuTiao Programming
LuTiao Programming
Sep 3, 2026 · Backend Development

Kafka 4.2 Share Groups: Can Kafka Replace RabbitMQ for Task Queues?

The author tests Kafka 4.2 Share Groups (Kafka Queues) by migrating a report-generation task queue from RabbitMQ, showing how Share Groups enable elastic consumer scaling beyond partition limits, manual acknowledgment modes (ACCEPT/RELEASE/REJECT/RENEW), and long-task handling with renew(), while noting RabbitMQ's routing strengths remain relevant.

KafkaKafka QueuesRabbitMQ
0 likes · 16 min read
Kafka 4.2 Share Groups: Can Kafka Replace RabbitMQ for Task Queues?
Coder Trainee
Coder Trainee
Aug 20, 2026 · Backend Development

How I Resolved a 1‑Million‑Message Kafka Consumer Backlog

When a Kafka topic’s consumer lag suddenly spiked to over one million messages, the author traced the issue to improper acknowledgment handling, implemented emergency scaling, corrected exception processing, added a dead‑letter queue, and created a reusable checklist to prevent future backlogs.

AcknowledgmentConsumer LagKafka
0 likes · 7 min read
How I Resolved a 1‑Million‑Message Kafka Consumer Backlog
Architect's Journey
Architect's Journey
Feb 6, 2023 · Backend Development

Simplify Kafka Consumer Code with a Custom Method Argument Resolver

The article demonstrates how to use Spring's HandlerMethodArgumentResolver to automatically convert Kafka messages into typed method parameters, eliminating repetitive JSON parsing code and showing a complete implementation, usage example, and notes on version support and performance considerations.

HandlerMethodArgumentResolverJavaKafka
0 likes · 6 min read
Simplify Kafka Consumer Code with a Custom Method Argument Resolver
Programmer DD
Programmer DD
Jun 9, 2022 · Backend Development

How Spring Kafka Listeners Work: From Single to Batch Processing

This article explains how Spring Kafka’s listener containers operate, detailing the internal workings of KafkaMessageListenerContainer and ConcurrentMessageListenerContainer, the role of @KafkaListener, Spring Boot auto‑configuration, and how to configure both single‑message and batch‑message processing within the same consumer group.

Message ListenerSpring Kafkabackend-development
0 likes · 11 min read
How Spring Kafka Listeners Work: From Single to Batch Processing
Architect's Tech Stack
Architect's Tech Stack
Jan 8, 2021 · Backend Development

Comprehensive Guide to Spring Kafka: Integration, Advanced Features, and Usage

This article provides a detailed tutorial on integrating Kafka with Spring using Spring‑Kafka, covering simple setup, embedded Kafka testing, topic creation, message sending and receiving, transaction support, listener configurations, manual acknowledgment, error handling, retry and dead‑letter queues, and related code examples.

KafkaSpringSpring Kafka
0 likes · 21 min read
Comprehensive Guide to Spring Kafka: Integration, Advanced Features, and Usage
Architect's Tech Stack
Architect's Tech Stack
Jan 12, 2020 · Backend Development

Comprehensive Guide to Spring‑Kafka Integration and Advanced Features

This article provides a systematic tutorial on using Spring‑Kafka, covering basic setup, embedded Kafka for testing, topic creation methods, message sending with KafkaTemplate, transactional messaging, request‑reply patterns, advanced @KafkaListener configurations, manual acknowledgment, listener lifecycle control, SendTo forwarding, and retry with dead‑letter queues, all illustrated with complete code examples.

@TransactionalEmbeddedKafkaKafka
0 likes · 19 min read
Comprehensive Guide to Spring‑Kafka Integration and Advanced Features
Java Captain
Java Captain
Nov 20, 2019 · Backend Development

Exploring Advanced Features of Spring‑Kafka: Integration, Embedded Server, Topic Management, Transactions, and Message Handling

This article provides a comprehensive guide to using Spring‑Kafka, covering simple integration, embedded Kafka for testing, creating topics programmatically, advanced KafkaTemplate usage, transactional messaging, ReplyingKafkaTemplate for request‑reply, listener configurations, manual acknowledgments, lifecycle control, message forwarding, and retry with dead‑letter queues.

Embedded KafkaJavaKafka
0 likes · 19 min read
Exploring Advanced Features of Spring‑Kafka: Integration, Embedded Server, Topic Management, Transactions, and Message Handling