diff --git a/README.md b/README.md index e4e1030..7aa3de4 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,6 @@

作者 项目群交流 - Bilibili Gitee Starts Gitee Starts @@ -37,9 +36,7 @@ :fire:项目在线演示地址:[http://139.9.66.219:3000/](http://139.9.66.219:3000/) -:fire:项目视频我正在[Bilibili](https://space.bilibili.com/198434865/channel/collectiondetail?sid=435119)更新(**三连越多,更新越有动力哟**) - -:fire:**10W+字,共97个文档,带你玩转austin**,详情可戳:[消息推送平台文档](https://mp.weixin.qq.com/s?__biz=MzI4Njg5MDA5NA==&mid=2247509248&idx=1&sn=804eb5f6471521e1ea6eaec9f74ddf09&chksm=ebd4e401dca36d175494337bc18ff71c265e4e07ad3ecd22f4b5b5f73efe7e247de2c614ad8a&token=888257127&lang=zh_CN#rd) +:fire:**11W+字,共107个文档,带你玩转austin**,详情可戳:[消息推送平台文档](https://mp.weixin.qq.com/s?__biz=MzI4Njg5MDA5NA==&mid=2247509248&idx=1&sn=804eb5f6471521e1ea6eaec9f74ddf09&chksm=ebd4e401dca36d175494337bc18ff71c265e4e07ad3ecd22f4b5b5f73efe7e247de2c614ad8a&token=888257127&lang=zh_CN#rd) ## 消息推送平台austin介绍 @@ -112,7 +109,8 @@ austin项目官方交流群已经超过了两百人,添加我的个人微信 j ## 项目文档 -:fire:**10W+字,共97个文档,带你玩转austin**,详情可戳:[消息推送平台文档](https://mp.weixin.qq.com/s?__biz=MzI4Njg5MDA5NA==&mid=2247509248&idx=1&sn=804eb5f6471521e1ea6eaec9f74ddf09&chksm=ebd4e401dca36d175494337bc18ff71c265e4e07ad3ecd22f4b5b5f73efe7e247de2c614ad8a&token=888257127&lang=zh_CN#rd) +:fire:**11W+字,共107个文档,带你玩转austin**,详情可戳:[消息推送平台文档](https://mp.weixin.qq.com/s?__biz=MzI4Njg5MDA5NA==&mid=2247509248&idx=1&sn=804eb5f6471521e1ea6eaec9f74ddf09&chksm=ebd4e401dca36d175494337bc18ff71c265e4e07ad3ecd22f4b5b5f73efe7e247de2c614ad8a&token=888257127&lang=zh_CN#rd) + -![](https://p9-juejin.byteimg.com/tos-cn-i-k3u1fbpfcp/e314973589d14d51a5dc280a95c7a48a~tplv-k3u1fbpfcp-watermark.image?) +![](https://p1-juejin.byteimg.com/tos-cn-i-k3u1fbpfcp/e7e69fb77ee74fbe8073adfefbe9e54c~tplv-k3u1fbpfcp-watermark.image?) diff --git a/austin-handler/src/main/java/com/java3y/austin/handler/receiver/kafka/ReceiverStart.java b/austin-handler/src/main/java/com/java3y/austin/handler/receiver/kafka/ReceiverStart.java index 0ed2951..4ecdbd4 100644 --- a/austin-handler/src/main/java/com/java3y/austin/handler/receiver/kafka/ReceiverStart.java +++ b/austin-handler/src/main/java/com/java3y/austin/handler/receiver/kafka/ReceiverStart.java @@ -1,5 +1,6 @@ package com.java3y.austin.handler.receiver.kafka; +import cn.hutool.core.util.StrUtil; import com.java3y.austin.handler.utils.GroupIdMappingUtils; import com.java3y.austin.support.constans.MessageQueuePipeline; import lombok.extern.slf4j.Slf4j; @@ -68,7 +69,7 @@ public class ReceiverStart { public static KafkaListenerAnnotationBeanPostProcessor.AnnotationEnhancer groupIdEnhancer() { return (attrs, element) -> { if (element instanceof Method) { - String name = ((Method) element).getDeclaringClass().getSimpleName() + "." + ((Method) element).getName(); + String name = ((Method) element).getDeclaringClass().getSimpleName() + StrUtil.DOT + ((Method) element).getName(); if (RECEIVER_METHOD_NAME.equals(name)) { attrs.put("groupId", groupIds.get(index++)); } @@ -81,7 +82,7 @@ public class ReceiverStart { * 针对tag消息过滤 * producer 将tag写进header里 * - * @return + * @return true 消息将会被丢弃 */ @Bean public ConcurrentKafkaListenerContainerFactory filterContainerFactory(@Value("${austin.business.tagId.key}") String tagIdKey, @@ -98,7 +99,6 @@ public class ReceiverStart { } } } - //返回true将会被丢弃 return true; }); return factory; diff --git a/docker-compose.yml b/docker-compose.yml index c94d057..30e658a 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -57,7 +57,7 @@ services: networks: - app jobmanager: - image: flink:latest + image: flink:1.16.1 ports: - "8081:8081" command: @@ -77,7 +77,7 @@ services: networks: - app taskmanager: - image: flink:latest + image: flink:1.16.1 depends_on: - jobmanager - austin-zookeeper diff --git a/docker/flink/docker-compose.yml b/docker/flink/docker-compose.yml index 7f669a5..b266348 100644 --- a/docker/flink/docker-compose.yml +++ b/docker/flink/docker-compose.yml @@ -1,7 +1,7 @@ version: "2.2" services: jobmanager: - image: flink:latest + image: flink:1.16.1 ports: - "8081:8081" command: jobmanager @@ -13,7 +13,7 @@ services: - CONTAINER_TIMEZONE=Asia/Shanghai - TZ=Asia/Shanghai taskmanager: - image: flink:latest + image: flink:1.16.1 depends_on: - jobmanager command: taskmanager