All Downloads are FREE. Search and download functionalities are using the official Maven repository.

plugins.mqtt.conf Maven / Gradle / Ivy

There is a newer version: 0.5.0
Show newest version
# Copyright 2018 UANGEL
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

name = "thing2x-core-mqtt"
class = com.thing2x.smqd.net.mqtt.MqttService
multi-instantiable = true

default-config {
  local {
    enabled = true
    address = 0.0.0.0
    port = 1883
  }

  local.secure {
    enabled = false
    address = 0.0.0.0
    port = 4883
  }

  ws {
    enabled = true
    address = 0.0.0.0
    port = 8086
  }

  ws.secure {
    enabled = false
    address = 0.0.0.0
    port = 8083
  }

  throttle {
    channel {
      enabled = false
      read.size = 1M
      read.count = 0

      check.interval = 30s
      wait.max = 5s
    }
  }

  leak.detector.level = SIMPLE  # DISABLED, SIMPLE, ADVANCED, PARANOID
  message.max.size = 4M

  thread {
    master.count = 2
    worker.count = 4
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy