Interface MqttConfig

  • All Known Implementing Classes:
    ImmutableMqttConfig

    public interface MqttConfig
    MQTT Client configuration
    • Method Detail

      • clientId

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

        InetAddress brokerAddress()
        The address of the MQTT broker.
      • port

        int port()
        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.