![](https://img-blog.csdnimg.cn/20201014180756923.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
SpringCloud
文章平均质量分 83
加把劲骑士RideOn
求关注,一名Java后端开发
展开
-
SpringBoot整合SpringCloudStream3.1+版本Kafka
定义channel名字,每个channel又可以作为生产者(in)与消费者(out)4. content-type:消息序列/反序列化的类型(见源码的支持的类型)3. binder:绑定当前使用的MQ类型(见betrice-kafka);1. destination(生产/消费者通向的topic);: 是一个map形式(具体看源码的Properties定义)引入通道绑定配置文件,即消息生产、消费者的关系。2. group:消费者组名;原创 2023-07-19 15:52:44 · 932 阅读 · 2 评论 -
SpringBoot整合SpringCloudStream3.1+版本的Kafka死信队列
try {log . info("发送消息:" + message);log . error("异常消息:" + e);} }原创 2023-07-19 15:51:14 · 815 阅读 · 0 评论 -
SpringCloudGateway的两种使用方式,结合StripPrefixFilterFilterFactory和PrefixPathGatewayFilterFactory核心代码
Spring Cloud Gateway 组件的核心是通过一系列的过滤器,通过这些过滤器可以将客户端发送的请求转发(路由)到对应的微服务。原创 2022-06-01 21:33:59 · 1692 阅读 · 0 评论