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 ...
随机推荐
- C# 操作iis6、iis7 301
iis6版本方法... iis7以及以上版本方法 using (ServerManager serverManager = new ServerManager()) { ...
- GOF23设计模式之组合模式(composite)
一.组合模式概述 将对象组合成树状结构以表示“部分和整体”层次结构,使得客户可以统一的调用叶子对象和容器对象. (1)组合模式的使用场景 把部分和整体的关系用树形结构来表示,从而使客户端可以使用统 ...
- struts2学习(15)struts2防重复提交
一.重复提交的例子: 模拟一种情况,存在延时啊,系统比较繁忙啊啥的. 模拟延迟5s钟,用户点了一次提交,又点了一次提交,例子中模拟这种情况: 这样会造成重复提交: com.cy.action.St ...
- java代码----数据类型的转换-----int --->String
总结:int ----->String package com.a.b; //测试..char--->int // int--->String public class Yue2 { ...
- TCP之三:TCP/IP协议中backlog参数(队列参数)
目录: <TCP洪水攻击(SYN Flood)的诊断和处理> <TCP/IP协议中backlog参数> TCP建立连接是要进行三次握手,但是否完成三次握手后,服务器就处理(ac ...
- [Java][Web]Response学习
// 在 http 中,meta 标签可以模拟响应头 response.setHeader("Content-type", "text/html;charset=UTF- ...
- C++:const_cast类型转换
针对const_cast,太多人在用同一个示例问同一个问题:void main(){ const int a = 3; const int *pc = &a; int *p = c ...
- 【洛谷】P2434 [SDOI2005]区间(暴力)
题目描述 现给定n个闭区间[ai, bi],1<=i<=n.这些区间的并可以表示为一些不相交的闭区间的并.你的任务就是在这些表示方式中找出包含最少区间的方案.你的输出应该按照区间的升序排列 ...
- Core Java (十一) Java 继承,类,超类和子类
Core Java (十一) Java 继承,类,超类和子类 标签: javaJavaJAVA 2013-01-22 17:08 1274人阅读 评论(0) 收藏 举报 分类: java(58) 读 ...
- 仅用CSS3创建h5预加载旋转圈
<head> <meta charset="UTF-8"> <title></title> <style type=" ...