mosquitto配置文件/etc/mosquitto/mosquitto.conf配置参数详细说明
mosquitto配置文件/etc/mosquitto/mosquitto.conf配置参数详细说明
摘自:https://blog.csdn.net/weixin_43025071/article/details/82491560
mosquitto配置文件/etc/mosquitto/mosquitto.conf配置参数详细说明 2018年09月07日 :: jacklin_001 阅读数:
# =================================================================
# General configuration
# ================================================================= # 客户端心跳的间隔时间
#retry_interval # 系统状态的刷新时间
#sys_interval # 系统资源的回收时间,0表示尽快处理
#store_clean_interval # 服务进程的PID
#pid_file /var/run/mosquitto.pid # 服务进程的系统用户
#user mosquitto # 客户端心跳消息的最大并发数
#max_inflight_messages # 客户端心跳消息缓存队列
#max_queued_messages # 用于设置客户端长连接的过期时间,默认永不过期
#persistent_client_expiration # =================================================================
# Default listener
# ================================================================= # 服务绑定的IP地址
#bind_address # 服务绑定的端口号
#port # 允许的最大连接数,-1表示没有限制
#max_connections - # cafile:CA证书文件
# capath:CA证书目录
# certfile:PEM证书文件
# keyfile:PEM密钥文件
#cafile
#capath
#certfile
#keyfile # 必须提供证书以保证数据安全性
#require_certificate false # 若require_certificate值为true,use_identity_as_username也必须为true
#use_identity_as_username false # 启用PSK(Pre-shared-key)支持
#psk_hint # SSL/TSL加密算法,可以使用“openssl ciphers”命令获取
# as the output of that command.
#ciphers # =================================================================
# Persistence
# ================================================================= # 消息自动保存的间隔时间
#autosave_interval # 消息自动保存功能的开关
#autosave_on_changes false # 持久化功能的开关
persistence true # 持久化DB文件
#persistence_file mosquitto.db # 持久化DB文件目录
#persistence_location /var/lib/mosquitto/ # =================================================================
# Logging
# ================================================================= # 4种日志模式:stdout、stderr、syslog、topic
# none 则表示不记日志,此配置可以提升些许性能
log_dest none # 选择日志的级别(可设置多项)
#log_type error
#log_type warning
#log_type notice
#log_type information # 是否记录客户端连接信息
#connection_messages true # 是否记录日志时间
#log_timestamp true # =================================================================
# Security
# ================================================================= # 客户端ID的前缀限制,可用于保证安全性
#clientid_prefixes # 允许匿名用户
#allow_anonymous true # 用户/密码文件,默认格式:username:password
#password_file # PSK格式密码文件,默认格式:identity:key
#psk_file # pattern write sensor/%u/data
# ACL权限配置,常用语法如下:
# 用户限制:user <username>
# 话题限制:topic [read|write] <topic>
# 正则限制:pattern write sensor/%u/data
#acl_file # =================================================================
# Bridges
# ================================================================= # 允许服务之间使用“桥接”模式(可用于分布式部署)
#connection <name>
#address <host>[:<port>]
#topic <topic> [[[out | in | both] qos-level] local-prefix remote-prefix] # 设置桥接的客户端ID
#clientid # 桥接断开时,是否清除远程服务器中的消息
#cleansession false # 是否发布桥接的状态信息
#notifications true # 设置桥接模式下,消息将会发布到的话题地址
# $SYS/broker/connection/<clientid>/state
#notification_topic # 设置桥接的keepalive数值
#keepalive_interval # 桥接模式,目前有三种:automatic、lazy、once
#start_type automatic # 桥接模式automatic的超时时间
#restart_timeout # 桥接模式lazy的超时时间
#idle_timeout # 桥接客户端的用户名
#username # 桥接客户端的密码
#password # bridge_cafile:桥接客户端的CA证书文件
# bridge_capath:桥接客户端的CA证书目录
# bridge_certfile:桥接客户端的PEM证书文件
# bridge_keyfile:桥接客户端的PEM密钥文件
#bridge_cafile
#bridge_capath
#bridge_certfile
#bridge_keyfile # 自己的配置可以放到以下目录中
include_dir /etc/mosquitto/conf.d
mosquitto配置文件/etc/mosquitto/mosquitto.conf配置参数详细说明的更多相关文章
- vsftpd配置参数详细整理
vsftpd配置参数详细整理 -|白王斧三又干一 vsftpd配置参数详细整理 -|白王斧三又干一 发表于 2005-10-23 20:30:00 1.vsftpd配置参数详细整理#接受 ...
- PostgreSQL的 pg_hba.conf 配置参数详解
pg_hba.conf 配置详解 该文件位于初始化安装的数据库目录下 编辑 pg_hba.conf 配置文件 postgres@clw-db1:/pgdata/9.6/poc/data> v ...
- nginx 配置参数详细说明
#定义Nginx运行的用户和用户组 user www www; # #nginx进程数,建议设置为等于CPU总核心数. worker_processes 8; # #全局错误日志定义类型,[ debu ...
- 【转】 nginx rewrite 伪静态配置参数详细说明
nginx rewrite 伪静态配置参数和使用例子 附正则使用说明 正则表达式匹配,其中: * ~ 为区分大小写匹配 * ~* 为不区分大小写匹配 * !~和!~*分别为区分大小写不匹配及不区分 ...
- [转]odoo常用openerp-server.conf配置参数详解
参数 说明 用法 addons_path addons模块的查找路径,多个路径用逗号分隔 addons_path = E:\GreenOdoo8.0\source\openerp\addons csv ...
- Apache日志配置参数详细说明
Apache日志按时间分段记录 在apache的配置文件httpd.conf中找到ErrorLog logs/error_log及CustomLog logs/access_log common Li ...
- 关于hibernate链接数据源的配置参数详细解释(转)
具体使用方法还可以参考以下地址: http://blog.csdn.net/xb12369/article/details/41517409 以下信息转自: http://baike.baidu.co ...
- 编译安装php的配置参数详细解析
./configure --prefix=/usr/local/php --enable-opcache --enable-fpm --enable-sockets --enable-mysqlnd ...
- sphinx配置文件sphinx.conf参数详细说明
sphinx配置文件sphinx.conf参数详细说明 sphinx.conf各个参数详细说明 # # Sphinx configuration file sample # # WARNING! Wh ...
随机推荐
- .NET的URL重写
[概述] URL重写就是首先获得一个进入的URL请求然后把它重新写成网站可以处理的另一个URL的过程.重写URL是非常有用的一个功能,因为它可以让你提高搜索引擎阅读和索引你的网站的能力:而且在你改变了 ...
- node的超时timeout
如果在指定的时间内服务器没有做出响应(可能是网络间连接出现问题,也可能是因为服务器故障或网络防火墙阻止了客户端与服务器的连接),则响应超时,同时触发http.ServerResponse对象的time ...
- poj 3518 Prime Gap
Prime Gap Time Limit: 5000MS Memory Limit: 65536K Total Submissions: 7392 Accepted: 4291 Descrip ...
- 08_java超市管理系统
超市管理系统功能介绍 * A:超市管理系统功能介绍 * a: 显示主菜单 ============欢迎光临ItCast超市============ 1: 货物 清单 2: 添加货物 3: 删除货物 4 ...
- Django学习---缓存
缓存 由于Django是动态网站,所有每次请求均会去数据进行相应的操作,当程序访问量大时,耗时必然会更加明显,最简单解决方式是使用:缓存. 缓存将一个某个views的返回值保存至内存或者memcach ...
- 详解Vue2.0生命周期
网上已经有很多关于vue生命周期的文章,我的这篇文章的由来,其实是我对官网上描述的一句话的思考与理解:“el被新创建的vm.$el替换”,所以文章更多的内容可能是在对vue生命周期中“created ...
- bootstrap 自定义
在ror工程内 /app/assets/stylesheets/bootstrap_and_overrides.css.less 内覆盖内容 具体参数如下 https://github.com/twb ...
- 多重继承 -Javascript中的apply与call详解
举例 //定义一个函数 function add(x, y) { return x + y; } //用call 来调用 function myAddCall(x, y) { //调用 add 方法 ...
- requesth获取参数
public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler) t ...
- 打包jar文件并自动运行
1,首先在eclipse 或MyEclipse 中测试通过,没有问题,(每次修改要update Maven) 2,修改pom.xml ---把build中改为<excludes> < ...