上一页 1 2 3 4 5 6 7 8 9 ··· 21 下一页
摘要: 使用pretty如: GET /website/blog/123?pretty 或者 PUT http://localhost:9200/colleges?pretty 作用: 在请求的查询串参数中加上 PRETTY 参数,正如前面的例子中看到的,这将会调用 ELASTICSEARCH 的 PRET 阅读全文
posted @ 2022-07-28 15:36 jason47 阅读(318) 评论(0) 推荐(0)
摘要: 1. 依赖 <!-- kafka client --> <dependency> <groupId>org.springframework.kafka</groupId> <artifactId>spring-kafka</artifactId> </dependency> 2. 配置文件配置kaf 阅读全文
posted @ 2022-07-28 13:25 jason47 阅读(1089) 评论(0) 推荐(0)
摘要: elasticsearch-head是elasticsearch的可视化工具 在mac下安装elasticsearch-head 1. elasticsearch-head依赖node grunt,先安装node brew install node 安装成功后使用node -v验证 v18.0.0 阅读全文
posted @ 2022-07-21 15:29 jason47 阅读(886) 评论(0) 推荐(0)
摘要: 1. 下载了安装包elasticsearch-8.3.2-linux-x86_64.tar tar -xf后启动报warning : ignoring JAVA_HOME=/usr/lib/jdk8/jdk1.8.0_251; using bundled JDK 原因大概是e8不支持java8 2. 阅读全文
posted @ 2022-07-20 14:50 jason47 阅读(1542) 评论(0) 推荐(0)
摘要: from:https://www.cnblogs.com/GO-NO-1/p/13307688.html 日志采集工具对比 1、Flume简介 Flume的设计宗旨是向Hadoop集群批量导入基于事件的海量数据。系统中最核心的角色是agent,Flume采集系统就是由一个个agent所连接起来形成。 阅读全文
posted @ 2022-07-08 15:51 jason47 阅读(522) 评论(0) 推荐(0)
摘要: 1. User @Entity @Table(name = "user") public class User implements UserDetails{ /** * */ private static final long serialVersionUID = 1L; @Id @Generat 阅读全文
posted @ 2022-05-24 10:26 jason47 阅读(304) 评论(0) 推荐(0)
摘要: 1. pom.xml <!-- h2 database --> <dependency> <groupId>com.h2database</groupId> <artifactId>h2</artifactId> </dependency> <!-- jpa --> <dependency> <gr 阅读全文
posted @ 2022-05-23 10:42 jason47 阅读(129) 评论(0) 推荐(0)
摘要: 1. maven 还没有springboot官方的gRPC客户端,使用的是net.devh <!-- gRPC --> <dependency> <groupId>net.devh</groupId> <artifactId>grpc-client-spring-boot-starter</arti 阅读全文
posted @ 2022-05-06 13:47 jason47 阅读(846) 评论(0) 推荐(0)
摘要: 使用Protocal Buffers 1. 安装protoc brew install automake brew install libtool brew install protobuf 2. 检查 protoc --version 3. 生成grpc-java分三步 第一步,编辑proto文件 阅读全文
posted @ 2022-04-26 11:19 jason47 阅读(5190) 评论(0) 推荐(0)
摘要: 1.问题:在brew update 或 brew install(会自动先brew update)报问题如下 解决方法是进入/usr/local/Homebrew/Library/Taps/homebrew把homebrew-core这个文件夹删除 rm -rf homebrew-core 2.up 阅读全文
posted @ 2022-04-26 11:14 jason47 阅读(1893) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 9 ··· 21 下一页