Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Under Live Alerts, if we can see in the logs that Chariot is logging the DUPLICATE_CLIENT_ID description, as shown below, you have Colliding Client IDs. If not, we have a Colliding Sparkplug Edge Node IDs Descriptors issue.

Anchor
DistributorClient
DistributorClient
MQTT Distributor

...

If we can see in the logs that the MQTT broker is continually forcefully disconnecting an existing connection to allow another client with the same Client ID to connect, as shown below, you have Colliding Client IDs. If not, we have a Colliding Edge Node IDs Descriptors issue.



Anchor
ResolvingCollidingClientID
ResolvingCollidingClientID
Resolving Colliding Client ID

...

Tip
Refer to the MQTT Transmission Transmitters and Tag Trees Tutorial/HowTo for detail on how a virtual Edge Node is dynamically created.

Anchor

...

CollidingEdgeNodeDescriptor

...

CollidingEdgeNodeDescriptor
Colliding Edge Node

...

Descriptors

MQTT Transmission uses the Sparkplug B specification which defines the topic namespace to publish data as spBv1.0/group_ID/message_type/edge_ID/[device_ID]

Within In a distributed Sparkplug compliant system, it is the combination of any GROUP_Group ID and Edge Node ID that identifies the Edge Node and is the 'Sparkplug Edge Node Descriptor'.

Every Sparkplug Edge Node Descriptor within a Sparkplug environment EDGE_NODE_ID must be unique because because these are used as 'addresses' in the system to identify the edge node. It is a bit like having two houses with the same postal address. It isn't possible for other MQTT clients in the system to tell where messages are coming from and when sending messages to them, they will both receive the messages.

...

If you have not carefully managed your tag tree structure, you can create duplicate group_id and edge_id combinationsSparkplug Edge Node Descriptors.

Note
You can override the functionality of pulling the namespace directly from the tag path by setting the Sparkplug IDs directly for the Group ID, Edge Node ID and, optionally, Device ID. If configured, these elements will be used in the topic namespace and the payload will be the folders pointed to by the Tag Path.

...

Transmitter on Edge 2 named Lakeside Finished Goods Line 2           spV1.0/Lakeside/message_type/Finished Goods/Line2

Since the Sparkplug Edge Node Descriptor (group_id (= Lakeside ) and edge_id (= Finished Goods) does not uniquely define the edge node, data from these two transmitters will sent with the same topic resulting in the next message sequence number expected by the MQTT client being incorrect.

...

Now we can use the logging associated with your Chariot or MQTT Engine/Distributor instance to determine the physical or virtual Edge Nodes with duplicate Group and Node IDsSparkplug Edge Node Descriptors..

Anchor
ChariotEdgeNode
ChariotEdgeNode
Chariot

...

To identify the MQTT Client ID for each Edge Node in Designer, select the Tag Browser MQTT Transmission and expand the Transmission Info folder tree for each of your transmitters to expose the MQTT Client. ID. 


Anchor
ResolvingCollidingEdgeNodes
ResolvingCollidingEdgeNodes
Resolving Colliding Edge Nodes Descriptors

To resolve the colliding Edge Node IDs Descriptors you will need to review your system configurations which generated each of the conflicting Edge Nodes Descriptors and remove the conflicts.

...