All Projects → thepracticaldeveloper → Kafka Spring Boot Example

thepracticaldeveloper / Kafka Spring Boot Example

Spring Boot application showing basic configuration to work with Kafka

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Kafka Spring Boot Example

Cookbook
🎉🎉🎉JAVA高级架构师技术栈==任何技能通过 “刻意练习” 都可以达到融会贯通的境界,就像烹饪一样,这里有一份JAVA开发技术手册,只需要增加自己练习的次数。🏃🏃🏃
Stars: ✭ 428 (+307.62%)
Mutual labels:  kafka, spring-boot
Whatsmars
Java生态研究(Spring Boot + Redis + Dubbo + RocketMQ + Elasticsearch)🔥🔥🔥🔥🔥
Stars: ✭ 1,389 (+1222.86%)
Mutual labels:  kafka, spring-boot
Spring Boot Study
SpringBoot框架源码实战(已更新到springboot2版本实现)~基本用法,Rest,Controller,事件监听,连接数据库MySQL,jpa,redis集成,mybatis集成(声明式与xml两种方式~对应的添删查改功能),日志处理,devtools配置,拦截器用法,资源配置读取,测试集成,Web层实现请求映射,security安全验证,rabbitMq集成,kafka集成,分布式id生成器等。项目实战:https://github.com/hemin1003/yfax-parent 已投入生产线上使用
Stars: ✭ 440 (+319.05%)
Mutual labels:  kafka, spring-boot
Digital Restaurant
DDD. Event sourcing. CQRS. REST. Modular. Microservices. Kotlin. Spring. Axon platform. Apache Kafka. RabbitMQ
Stars: ✭ 222 (+111.43%)
Mutual labels:  kafka, spring-boot
Javaok
必看!java后端,亮剑诛仙。java发展路线技术要点。
Stars: ✭ 867 (+725.71%)
Mutual labels:  kafka, spring-boot
Hsweb Iot Cloud
本项目已迁移至 github.com/jetlinks
Stars: ✭ 258 (+145.71%)
Mutual labels:  kafka, spring-boot
Spring Boot 2.x Examples
Spring Boot 2.x code examples
Stars: ✭ 104 (-0.95%)
Mutual labels:  kafka, spring-boot
Mmo Server
Distributed Java game server, including login, gateway, game demo
Stars: ✭ 114 (+8.57%)
Mutual labels:  kafka, spring-boot
Springbootexamples
Spring Boot 学习教程
Stars: ✭ 794 (+656.19%)
Mutual labels:  kafka, spring-boot
Books Recommendation
程序员进阶书籍(视频),持续更新(Programmer Books)
Stars: ✭ 558 (+431.43%)
Mutual labels:  kafka, spring-boot
Microservice Scaffold
基于Spring Cloud(Greenwich.SR2)搭建的微服务脚手架(适用于在线系统),已集成注册中心(Nacos Config)、配置中心(Nacos Discovery)、认证授权(Oauth 2 + JWT)、日志处理(ELK + Kafka)、限流熔断(AliBaba Sentinel)、应用指标监控(Prometheus + Grafana)、调用链监控(Pinpoint)、以及Spring Boot Admin。
Stars: ✭ 211 (+100.95%)
Mutual labels:  kafka, spring-boot
Springwolf Core
Automated documentation for async APIs built with Spring Boot
Stars: ✭ 63 (-40%)
Mutual labels:  kafka, spring-boot
My Moments
Instagram Clone - Cloning Instagram for learning purpose
Stars: ✭ 140 (+33.33%)
Mutual labels:  kafka, spring-boot
Kafka Sprout
🚀 Web GUI for Kafka Cluster Management
Stars: ✭ 388 (+269.52%)
Mutual labels:  kafka, spring-boot
Iot Traffic Monitor
Stars: ✭ 131 (+24.76%)
Mutual labels:  kafka, spring-boot
Testcontainers Spring Boot
Container auto-configurations for spring-boot based integration tests
Stars: ✭ 460 (+338.1%)
Mutual labels:  kafka, spring-boot
Springboot Labs
一个涵盖六个专栏:Spring Boot 2.X、Spring Cloud、Spring Cloud Alibaba、Dubbo、分布式消息队列、分布式事务的仓库。希望胖友小手一抖,右上角来个 Star,感恩 1024
Stars: ✭ 12,804 (+12094.29%)
Mutual labels:  kafka, spring-boot
Kkbinlog
支持mysql、MongoDB数据变更订阅分发
Stars: ✭ 112 (+6.67%)
Mutual labels:  kafka, spring-boot
All Things Cqrs
Comprehensive guide to a couple of possible ways of synchronizing two states with Spring tools. Synchronization is shown by separating command and queries in a simple CQRS application.
Stars: ✭ 474 (+351.43%)
Mutual labels:  kafka, spring-boot
Tweetmap
A real time Tweet Trend Map and Sentiment Analysis web application with kafka, Angular, Spring Boot, Flink, Elasticsearch, Kibana, Docker and Kubernetes deployed on the cloud
Stars: ✭ 28 (-73.33%)
Mutual labels:  kafka, spring-boot

Spring Boot Kafka Example - The Practical Developer

Basic configuration

This sample application shows how to use basic Spring Boot configuration to set up a producer to a topic with multiple partitions and a consumer group with three different consumers.

The full explanation is on The Practical Developer website: Spring Boot and Kafka - Practical Configuration Examples.

Kafka Configuration Example

Multiple serialization / deserialization formats

To illustrate the different configuration options, this application deserializes Kafka messages in three different ways:

  • As a JSON to Java object.
  • As a simple String (plain JSON).
  • As a byte array.

Docker compose

This code includes a docker-compose.yml file so you can use Docker Compose to start up Kafka, no installation needed.

Did I help you?

Give a star to this project and/or buy me a coffee 😄

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].