# Mosquitto MQTT Broker Configuration for mcmqtt # Listeners listener 1883 0.0.0.0 protocol mqtt # WebSocket support listener 9001 0.0.0.0 protocol websockets # Persistence persistence true persistence_location /mosquitto/data/ # Logging log_dest file /mosquitto/log/mosquitto.log log_dest stdout log_type error log_type warning log_type notice log_type information log_timestamp true # Connection settings keepalive_interval 60 max_keepalive 65535 # Message settings max_packet_size 268435456 message_size_limit 268435456 # Security (development settings - adjust for production) allow_anonymous true # Auto-save interval (seconds) autosave_interval 1800 # Connection limits max_connections -1 max_inflight_messages 20 max_queued_messages 1000 # Will delay interval max_inflight_bytes 0 upgrade_outgoing_qos false # Bridge configuration (if needed for external brokers) # connection bridge_name # address external_broker:1883 # topic # out 0 # topic # in 0