duckil_plm/plm-mqtt/config/mosquitto.conf
2024-12-19 11:59:04 +09:00

34 lines
687 B
Plaintext

# fems-mqtt/config/mosquitto.conf
# Basic Configuration
persistence true
persistence_location /mosquitto/data/
persistence_file mosquitto.db
# Logging
log_dest file /mosquitto/log/mosquitto.log
log_dest stdout
log_timestamp true
log_type error
log_type warning
log_type notice
log_type information
# Security
allow_anonymous false
password_file /mosquitto/data/passwd
acl_file /mosquitto/config/acl
# Connection Settings
listener 1883
protocol mqtt
# Performance Tuning
max_connections 100
max_queued_messages 1000
max_inflight_messages 20
max_packet_size 268435455 # 최대 패킷 크기를 256MB로 설정
# Session Settings
persistent_client_expiration 1d
retain_available true