后端开发
后端开发
独立开发大本事
这个作者很懒,什么都没留下…
展开
-
Apache HttpClient 超时设置说明
使用Apache HttpClient发起HTTP请求,超时时间如何才能正确设置?原创 2023-02-12 12:02:19 · 1966 阅读 · 0 评论 -
Mac苹果系统安装EMQX (MQTT Broker )
1. 下载ZIP包通过 emqx.io或 Github下载要安装的 EMQX 版本的 zip 包。2. 解压运行下载完压缩包后,运行bin目录里的 emqx 命令:./bin/emqx start可以有会提示:./emqx: line 40: /Users/xxx/Documents/software/emqx/erts-11.2.2.8/bin/erl: cannot execute binary fileFATAL: Unable to start Erlang.Please make原创 2022-03-07 09:28:03 · 2525 阅读 · 1 评论 -
MongoDB复制集搭建
配置文件下面是一个配置文件示例:systemLog: destination: file path: /data1/mongod.log # 日志文件路径 logAppend: truestorage: dbPath: /data1 # 数据目录net: bindIp: 0.0.0.0 # 绑定所有IP port: 28017 # 绑定端口replication: replSetName: rs0 # 集群名称processManagement: f原创 2022-02-25 08:52:36 · 970 阅读 · 0 评论 -
Monstache: MongoDB数据导入ES
Monstache: MongoDB数据导入ES1. Monstache介绍monstache是一个Go语言开发的开源工具,可以将MongoDB中的数据实时地导入到Elasticsearch中,从而分析搜索这些数据。项目地址:https://github.com/rwynn/monstache2. 安装Go语言环境首先需要安装Go语言开发环境。Go语言安装包下载地址:https://go.dev/下载之后是一个压缩包。先解压到一个目录中。以Linux系统为例,解压到 /usr/local 目录原创 2022-02-24 16:04:01 · 2507 阅读 · 0 评论