Kafka-文件管理 文件管理 保留数据是kafka的一个基本特性,kafaka不会一直保留数据,也不会等到所有消费者都读取了消息之后才删除消息。相反,kafka为每个主题配置了数据保留期限,规定数据被删除之前可以保留多长时间,或者清理数据之前可以保留的数据量大小。 因为在一个大文件里查找和删除消息 ...
分类:
其他好文 时间:
2020-06-24 00:44:34
阅读次数:
76
docker运行MongoDB,针对于docker容器来进行内存资源的限制 修改MongoDB的运行配置文件,并且重启mongodb storage: dbPath: /var/lib/mongodb journal: enabled: true # engine: mmapv1: smallFil ...
分类:
数据库 时间:
2020-06-24 00:07:49
阅读次数:
116
在上篇博客中分析了plugins标签,《mybatis源码配置文件解析之四:解析plugins标签 》,了解了其使用方式及背后的原理。现在来分析<mappers>标签。 一、概述 在mybatis的核心配置文件(mybatis-config.xml)中,有关mappers的配置如下, <mapper ...
分类:
移动开发 时间:
2020-06-23 13:21:59
阅读次数:
103
下载nginx 本地环境:win10-64位。 下载地址:http://nginx.org/en/download.html; nginx命令 进入到nginx目录(D:/nginx-1.16.1),cmd,使用“start nginx.exe ”进行nginx的安装,如下图所示: nginx.ex ...
分类:
其他好文 时间:
2020-06-23 10:26:41
阅读次数:
57
开启服务,连接处理 step 1: SET PASSWORD = PASSWORD('your new password'); step 2: ALTER USER 'root'@'localhost' PASSWORD EXPIRE NEVER; step 3: flush privileges; ...
分类:
数据库 时间:
2020-06-23 00:43:47
阅读次数:
67
目录结构 bin :启动文件 config:配置文件 log4j2 :日志配置文件 jvm.options java 虚拟机相关配置 elasticSerch.yml elasticSerch的配置文件 默认端口9200 lib:相关jar包 logs: 日志 modules:功能模块 pulgin ...
分类:
其他好文 时间:
2020-06-22 23:07:01
阅读次数:
63
QcefView:一个集成了CEF的Qt Widget 官方网址:http://tishion.github.io/QCefView/Github地址:https://github.com/tishion/QCefViewQCefView是一个与Chromium Embedded Framework ...
分类:
其他好文 时间:
2020-06-22 21:01:05
阅读次数:
229
#运行用户 user nobody; #启动进程,通常设置成和cpu的数量相等 worker_processes 1; #全局错误日志及PID文件 #error_log logs/error.log; #error_log logs/error.log notice; #error_log logs ...
分类:
其他好文 时间:
2020-06-22 20:50:42
阅读次数:
50
登录MySQL登录本地用户mysql-uroot-p登录外网用户(需要注意服务器可能只允许本地登录,需要修改响应的配置文件)mysql-uroot-h123.456.789.852-p添加用户允许本地访问的用户(127.0.0.1)createuserroot@localhostidentifiedby‘123456‘;允许外网IP访问的用户createuser‘root‘@‘%‘identifi
分类:
数据库 时间:
2020-06-22 19:02:17
阅读次数:
89
滑块验证 OpenCV+python https://www.jb51.net/article/161503.htm?tdsourcetag=s_pcqq_aiomsg python+selenium... https://www.cnblogs.com/ohahastudy/p/11493971. ...
分类:
其他好文 时间:
2020-06-22 17:12:46
阅读次数:
110