39 lines
880 B
Plaintext
39 lines
880 B
Plaintext
# Smart Intersection MQTT Configuration
|
|
# Mosquitto broker configuration for traffic monitoring
|
|
|
|
# Basic settings
|
|
listener 1883 0.0.0.0
|
|
|
|
# Security (development mode - allow anonymous)
|
|
allow_anonymous true
|
|
|
|
# Persistence
|
|
persistence true
|
|
persistence_location C:/Users/devcloud/Desktop/Clean/clean-final-push/qt_app_pyside1/services/mqtt/data/
|
|
|
|
# Logging
|
|
log_dest file C:/Users/devcloud/Desktop/Clean/clean-final-push/qt_app_pyside1/services/mqtt/logs/mosquitto.log
|
|
log_type error
|
|
log_type warning
|
|
log_type notice
|
|
log_type information
|
|
log_timestamp true
|
|
|
|
# Connection settings
|
|
max_connections 100
|
|
max_inflight_messages 20
|
|
max_queued_messages 1000
|
|
|
|
# Message size limits
|
|
max_packet_size 1048576
|
|
|
|
# Retain settings
|
|
# max_retained_messages removed (not supported in this version)
|
|
|
|
# WebSocket support (optional)
|
|
listener 9001
|
|
protocol websockets
|
|
|
|
# Performance tuning
|
|
sys_interval 10
|