kafka -- springboot 整合

需要 配置 config/server.properties 中的 advertised.listeners,以及 防火墙开放端口(9092),不然java连接不上kafka

参考: https://blog.csdn.net/yuanlong122716/article/details/105160545/

spring-kafka官网 :https://docs.spring.io/spring-kafka/docs/current/reference/html/#reference
spring-kafka配置:https://docs.spring.io/spring-boot/docs/current/reference/html/spring-boot-features.html#boot-features-kafka


连续教程 : https://www.hangge.com/blog/cache/search.php?key=springboot+kafka

基本用法: https://www.hangge.com/blog/cache/detail_2943.html

posted @ 2021-05-19 18:44  zhanglw  阅读(117)  评论(0)    收藏  举报