update README.md

pull/57/head
3y 2 years ago
parent 6cf5cc2087
commit 89442b8f08

@ -3,7 +3,6 @@
<p align="center">
<a href="#"><img src="https://img.shields.io/badge/Author-3y-orange.svg" alt="作者"></a>
<a href="#项目官方交流群"><img src="https://img.shields.io/badge/项目群-交流-red.svg" alt="项目群交流"></a>
<a href="https://space.bilibili.com/198434865/channel/collectiondetail?sid=435119"><img src="https://img.shields.io/badge/免费项目-视频-green.svg" alt="Bilibili"></a>
<a href="https://gitee.com/zhongfucheng/austin"><img src="https://gitee.com/zhongfucheng/austin/badge/star.svg?theme=dark" alt="Gitee Starts"></a>
<a href="https://gitee.com/zhongfucheng/austin"><img src="https://gitee.com/zhongfucheng/austin/badge/fork.svg?theme=dark" alt="Gitee Starts"></a>
<a href="https://github.com/ZhongFuCheng3y/austin"><img src="https://img.shields.io/github/forks/ZhongFuCheng3y/austin.svg?style=flat&label=GithubFork"></a>
@ -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?)

@ -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 tagheader
*
* @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;

@ -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

@ -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

Loading…
Cancel
Save