上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 28 下一页
摘要: 在安装Kafka集群的时候,碰到这个问题。 我们知道在搭建Kafka集群的时候,我们需要设置broker.id,以作为当前服务器在整个集群的唯一标志。 网上搜查资料是说,log.dirs目录下的meta.properties中配置的broker.id和配置目录下的server.properties中 阅读全文
posted @ 2019-08-23 14:41 M号开发者 阅读(200) 评论(0) 推荐(0) 编辑
摘要: 基于springboot2版本 pom基本依赖 插件依赖 在resourcu中新建这两个文件夹,和这两个文件 文件夹位置可以在pom中配置,在application.yml中配置 generatorConfig.xml mybatisGeneratorinit.properties applicat 阅读全文
posted @ 2019-08-22 14:42 M号开发者 阅读(268) 评论(0) 推荐(0) 编辑
摘要: kafka创建主题的ip地址最好用实际ip,不要用localhost https://blog.csdn.net/getyouwant/article/details/79000524 阅读全文
posted @ 2019-08-21 16:34 M号开发者 阅读(7868) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/skywang12345/p/3512947.html#a24 阅读全文
posted @ 2019-08-20 17:18 M号开发者 阅读(141) 评论(0) 推荐(0) 编辑
摘要: @Configuration 从Spring3.0,@Configuration用于定义配置类,可替换xml配置文件,被注解的类内部包含有一个或多个被@Bean注解的方法,这些方法将会被AnnotationConfigApplicationContext或AnnotationConfigWebApp 阅读全文
posted @ 2019-08-20 16:29 M号开发者 阅读(116) 评论(0) 推荐(0) 编辑
摘要: 添加maven依赖 阅读全文
posted @ 2019-08-20 10:57 M号开发者 阅读(1693) 评论(1) 推荐(0) 编辑
摘要: 服务器环境准备 使用vm虚拟三个linux主机 192.168.212.174 192.168.212.175 192.168.212.176 Zookeeper集群环境搭建 1.每台服务器节点上安装jdk1.8环境 使用java-v命令测试 2.每台服务器节点上安装Zookeeper 1.下载并且 阅读全文
posted @ 2019-08-19 14:47 M号开发者 阅读(497) 评论(0) 推荐(0) 编辑
摘要: 安装weget yum -y install wget 阅读全文
posted @ 2019-08-19 14:28 M号开发者 阅读(302) 评论(0) 推荐(0) 编辑
摘要: package com.mj; import javax.xml.bind.Element; import java.lang.annotation.*; import java.lang.reflect.Field; public class Test01 { @Target(ElementType.TYPE) @Retention(RetentionPolicy.RUNTIME) public 阅读全文
posted @ 2019-08-19 11:39 M号开发者 阅读(155) 评论(0) 推荐(0) 编辑
摘要: 直接copy代码 pom.xml 配置 控制层 访问地址:http://localhost:8060/swagger-ui.html 阅读全文
posted @ 2019-08-18 17:47 M号开发者 阅读(316) 评论(0) 推荐(0) 编辑
上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 28 下一页