Skip to main content

PubSub

PubSub This is a subsequent OPC UA extension of the publish-subscribe communication paradigm, designed for "one-to-many" and "many-to-many" broadcast scenarios, and is typically implemented on top AMQP of UDP / MQTT /. This version currently SDK focuses on the Client/Server model (opc.tcp), and does not PubSub yet cover.

Further Reading

Current Recommendations: Client API + Build Your Own Bridge​

If your requirement is "OPC UA Data → MQTT Bus," you can use this SDK's Client API + a bridge you write yourself:

ua.CreateSubscription(500).Add("ns=2;s=Temperature").DataChanged += (s, e) =>
{
mqttClient.Publish("factory/temp", e.ValueString);
};

For more information, see Example — OPC UA → MQTT Bridging.