spring-projects/spring-kafka
Provides Familiar Spring Abstractions for Apache Kafka observed · 2026-08-28
Health v2 · maintenance only
99/100
- Activity 99
- Release rhythm 98
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 27
- age_days: 3836
- days_rel: 13
- days_push: 7
- n_releases_24m: 36
Adoption not part of the score
2495 stars · 1752 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Spring for Apache Kafka (spring-kafka) is a Java library that applies familiar Spring abstractions to Apache Kafka-based messaging. It provides KafkaTemplate for sending messages, @KafkaListener for message-driven POJOs, listener containers, transaction support, and an embedded Kafka test jar.
Use cases
- consume kafka messages in a spring boot app
- publish messages to kafka from java
- set up kafka listeners with annotations
- manage kafka transactions in spring
- retry failed kafka message processing
- test kafka consumers with embedded kafka
- build event-driven microservices with kafka
When to choose
- you are building Spring or Spring Boot applications that use Apache Kafka
- you want annotation-driven Kafka consumers and a high-level template API
- you need Kafka transaction, retry, or error-handling support integrated with Spring
- you want embedded Kafka for integration testing on the JVM
When to avoid
- you are not using the Spring ecosystem and prefer the plain kafka-clients API
- you use a different message broker like RabbitMQ or Pulsar
- you need a non-JVM Kafka client
Facets
library · maturity stable
message-queue middleware developer-tools backend developer-tools microservices jvm kafka spring messaging event-streaming kafkatemplate kafkalistener
7 sources
- readme: https://github.com/spring-projects/spring-kafka · fetched 2026-08-28 · 41f24658cc14
- homepage: https://projects.spring.io/spring-kafka · fetched 2026-08-29 · b545af39060c
- site_page: https://spring.io/quickstart · fetched 2026-08-29 · fc64dd950363
- site_page: https://spring.io/projects/spring-restdocs · fetched 2026-08-29 · 1e2a101b77d3
- site_page: https://docs.spring.io/spring-boot/docs/current/reference/html/messaging.html · fetched 2026-08-29 · 297759fa3476
- site_page: https://enterprise.spring.io · fetched 2026-08-29 · 85ac7d6d5114
- site_page: https://enterprise.spring.io/lts-releases · fetched 2026-08-29 · 3251cc8760b6
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| spring-projects/spring-kafka | main | 99 |
For agents
markdown · JSON · MCP: product_card(name="spring-projects/spring-kafka")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem