岚天逸见

上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 77 下一页

2023年2月26日 #

mvn安装jar包到本地仓库

摘要: 安装 jar 包到本地仓库命令: mvn install:install-file -DgroupId=groupId -DartifactId=artifactId -Dversion=version -Dpackaging=jar -Dfile=需安装到本地仓库的jar文件路径(需包含完整的文件 阅读全文

posted @ 2023-02-26 10:32 岚天逸见 阅读(149) 评论(0) 推荐(0)

2023年2月14日 #

awk多字符串分割用法示例

摘要: 多字符串分割用单引号,不要用“[]”,但多个直接仍然用竖号分隔,需要转义的也仍然用斜杠“\”,但注意需要两个斜杠“\”,因为斜杠本身也需要转义。 示例:两个多字符串分割符,分别为“[CDATA[[”和“]]”。 # echo '<xml><appid><![CDATA[20230214114000] 阅读全文

posted @ 2023-02-14 12:44 岚天逸见 阅读(144) 评论(0) 推荐(0)

2022年12月16日 #

Flink 运行错误 java.lang.OutOfMemoryError: Direct buffer memory

摘要: 如遇到如下错误,表示需要调大配置项 taskmanager.memory.framework.off-heap.size 的值,taskmanager.memory.framework.off-heap.size 的默认值为 128MB,错误显示不够用需要调大。 2022-12-16 09:09:2 阅读全文

posted @ 2022-12-16 09:33 岚天逸见 阅读(944) 评论(0) 推荐(0)

2022年12月13日 #

解决 Eclipse 不见 Maven 问题

摘要: 解决 Eclipse 不见 Maven 问题 阅读全文

posted @ 2022-12-13 12:04 岚天逸见 阅读(325) 评论(0) 推荐(0)

2022年11月14日 #

快速体验 Flink Table Store进阶篇

摘要: 在本地安装单机版本,能够实现快速体验 Flink Table Store 的目的,本文以 Flink 1.15.2、flink-table-store-dist-0.2.1、flink-shaded-hadoop-2-uber-2.8.3-10.0 和 Kafka 3.3.1 为例,系统为 Cent 阅读全文

posted @ 2022-11-14 19:52 岚天逸见 阅读(373) 评论(0) 推荐(0)

2022年11月13日 #

快速体验 Flink Table Store入门篇

摘要: 在本地安装单机版本,能够实现快速体验 Flink Table Store 的目的,本文以 Flink 1.15.2、flink-table-store-dist-0.2.1 和 flink-shaded-hadoop-2-uber-2.8.3-10.0 为例,系统为 Centos 3.10。 下载 阅读全文

posted @ 2022-11-13 17:41 岚天逸见 阅读(739) 评论(0) 推荐(0)

2022年4月25日 #

debug方式使用stl

摘要: -D_GLIBCXX_DEBUG 编译时,指定宏 _GLIBCXX_DEBUG 即以 Debug 方式使用 STL 库,效果如下: #include <string> #include <stdio.h> int main(int argc, char* argv[]) { std::string 阅读全文

posted @ 2022-04-25 11:39 岚天逸见 阅读(330) 评论(0) 推荐(0)

2021年9月5日 #

编译 thrift-0.14.2 的 C++ 版本

摘要: 编译命令: ./configure --prefix=/usr/local/thrift-0.14.2 --with-cpp=yes --with-php=no --with-python=no --with-qt5=no --with-c_glib=no --with-java=no --with 阅读全文

posted @ 2021-09-05 09:54 岚天逸见 阅读(261) 评论(0) 推荐(0)

2021年1月29日 #

go gRPC 客户端内存暴涨原因分析

摘要: 创建一个 gRPC 客户端连接,会创建的几个协程: 1)transport.loopyWriter.run 往服务端发送数据协程,流控时会阻塞,结果是数据堆积,内存上涨 2)transport.http2Client.reader 接收服务端数据协程,并会调用 t.controlBuf.thrott 阅读全文

posted @ 2021-01-29 14:57 岚天逸见 阅读(3298) 评论(0) 推荐(0)

2020年12月18日 #

多线程程序如何简单高效地读取配置中心上的配置?

摘要: 本文限定为主动从配置中心读取配置方法,不限定配置中心类型,比如可使用DB作为配置中心。 程序和配置中心间存在网络开销,因此需避免每次业务处理或请求都从配置中心读取配置。 规避网络开销,可采取本地缓存配置,每隔指定时间只读取一次配置中心,比如每秒读取一次配置中心。 假设每秒读取一次配置中心,这样每次的 阅读全文

posted @ 2020-12-18 15:54 岚天逸见 阅读(147) 评论(0) 推荐(0)

上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 77 下一页

导航