Interface MqttConfig

All Known Implementing Classes:
ImmutableMqttConfig

public interface MqttConfig
MQTT Client configuration
  • Method Details

    • getClientId

      Optional<String> getClientId()
      The clientId to send to the MQTT broker.
    • getBrokerAddresses

      @Size(min=1) @Size(min=1) InetAddress[] getBrokerAddresses()
      The address(es) of the MQTT broker.
    • getPort

      int getPort()
      The port to communicate with the MQTT broker.
    • username

      Optional<String> username()
      The username to connect to the MQTT broker.
    • password

      Optional<String> password()
      The password to connect to the MQTT broker.