Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
Support
提交反馈
登录
切换导航
K
kafka_topic_proxy
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
金永显
kafka_topic_proxy
提交
cda10041
提交
cda10041
编写于
4月 25, 2022
作者:
金永显
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
项目初始化提交
上级
fb0dceb4
变更
2
显示空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
104 行增加
和
1 行删除
+104
-1
README.md
README.md
+11
-1
pom.xml
pom.xml
+93
-0
未找到文件。
README.md
浏览文件 @
cda10041
# kafka_topic_proxy
不同kafka之间,进行topic中转。解决不同网络之间,进行topic中转。达到不能到集群,进行测试
#swagger ui访问地址
http://127.0.0.1:9555/swagger-ui.html#
#linux测试方法
#链接发送返回结果Topic测试,是否转发到测试相应Topic
curl -X GET "http://127.0.0.1:9555/test/lianJianResultTest" -H "accept:
*/*
"
#测试环境,发送Topic测试,是否转发到链家相应Topic
curl -X GET "http://127.0.0.1:9555/test/testSend" -H "accept:
*/*
"
pom.xml
0 → 100644
浏览文件 @
cda10041
<?xml version="1.0" encoding="UTF-8"?>
<project
xmlns=
"http://maven.apache.org/POM/4.0.0"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation=
"http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"
>
<modelVersion>
4.0.0
</modelVersion>
<parent>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-parent
</artifactId>
<version>
2.2.2.RELEASE
</version>
<relativePath/>
<!-- lookup parent from repository -->
</parent>
<groupId>
com.inodes
</groupId>
<artifactId>
kafka_topic_proxy
</artifactId>
<version>
0.0.1-SNAPSHOT
</version>
<name>
kafka_topic_proxy
</name>
<description>
kafka topic proxy
</description>
<properties>
<java.version>
1.8
</java.version>
</properties>
<dependencies>
<dependency>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-web
</artifactId>
</dependency>
<dependency>
<groupId>
org.springframework.kafka
</groupId>
<artifactId>
spring-kafka
</artifactId>
</dependency>
<dependency>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-test
</artifactId>
<scope>
test
</scope>
</dependency>
<dependency>
<groupId>
org.springframework.kafka
</groupId>
<artifactId>
spring-kafka-test
</artifactId>
<scope>
test
</scope>
</dependency>
<!--优化编码-->
<dependency>
<groupId>
org.projectlombok
</groupId>
<artifactId>
lombok
</artifactId>
<optional>
true
</optional>
</dependency>
<!-- swagger -->
<dependency>
<groupId>
com.github.xiaoymin
</groupId>
<artifactId>
knife4j-spring-boot-starter
</artifactId>
<version>
2.0.9
</version>
</dependency>
<dependency>
<groupId>
io.springfox
</groupId>
<artifactId>
springfox-swagger-ui
</artifactId>
<version>
2.10.5
</version>
</dependency>
<dependency>
<groupId>
io.springfox
</groupId>
<artifactId>
springfox-swagger2
</artifactId>
<version>
2.10.5
</version>
<exclusions>
<exclusion>
<groupId>
io.swagger
</groupId>
<artifactId>
swagger-models
</artifactId>
</exclusion>
</exclusions>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-maven-plugin
</artifactId>
</plugin>
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-jar-plugin
</artifactId>
<version>
3.2.0
</version>
<configuration>
<excludes>
<!-- 打包时排除指定的文件 -->
<exclude>
application-junit.yml
</exclude>
</excludes>
</configuration>
</plugin>
</plugins>
</build>
</project>
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录