Sparkplug BΒΆ

The foglamp-north-mqtt-sparkplug plugin publish data to MQTT broker.

sparkplug_1

Configuation Details:

  • MQTT Broker: The address of the MQTT broker

  • Clean Session: MQTT broker will not store any session information for the client, if set true.

  • Keep Alive Interval: Maximum time interval (in seconds) between two successive PING requests to keep client connection open & alive.

  • Timeout: Maximum time (in seconds) the client should wait for a connection to be established with the broker.

sparkplug_2

  • Group ID: A unique identifier for group.

  • Edge Node ID: A unique identifier for edge node.

  • Client ID: A unique identifier for MQTT client.

  • QoS: Quality of Service

  • Retain Flag: MQTT broker will store message published to a topic, if set true.

  • Last Will and Testament: The message that is sent by the broker to the MQTT topic if the client disconnects unexpectedly.

  • Data Source: Source of FogLAMP data [readings/statistics/audit]

sparkplug_3

  • Username: The username to use for the connection if any, keep it blank otherwise.

  • Password: The password for the user if using authentication, keep it blank otherwise.

  • SSL/TLS: Enable SSL/TLS support for secure communication channel between the FogLAMP client and broker.

  • CA: The certificate name of the certificate authority to be trusted. This should correspond to a PEM file stored in the FogLAMP certificate store.

  • Client Certificate: The certificate that will be used by the plugin to connect to the broker. This should correspond to a PEM file stored in the FogLAMP certificate store.

  • Client Key: The private key used by the client to create the client certificate. This may be left blank if it is included in the PEM file of the client certificate.

  • Private Key Passphrase: The password used to encrypt the private key. This may be left blank if the private key is not encrypted.