Closed mwiot closed 1 year ago
Hi again, any news on this? Have I ran into a bug, or am I configuring pubsub the wrong way? Should be easy to reproduce the two cases with the OpcPlc UA simulator
Best regards
Hi, Unfortunately the -mm argument is only valid for publisher running in standalone mode. For orchestrated publisher the message mode is delivered within the job definition and is defaulted to Samples and there is no public API to change it. The only way to set message mode to PubSub is by manually changing the job definition in the cosmos DB storage.
We would highly appreciate if you could share your use-case and requirements for PubSub message mode in orchestrated configuration.
Thank you!
Hi again, thanks for the reply. I have tried to do this in cosmosDB without luck. Have you tried to test your own suggestion to make sure that is works?
Steps (in cosmosdb)
When I switch to "messagingMode": "PubSub", the telemetry stops running. When I switch back to "messagingMode": "Samples" the telemetry starts going again.
Best regards
Hi @mwiot,
It looks like you have just run in a regression. I can confirm that everything you did is correct and I can also replicate the issue. This bug will be fixed soon.
Thank you for your support!
Hi @cristipogacean ,
I thought I would share some background info on our use-case ...
We have a long history of being a supplier of turn-key solutions for Automation Control Systems with SCADA for operational services running on-prem inside the client's facilities.
We are mainly operating in the industries of Critical infrastructure for public sector and Smart Buildings
We are currently building a set of digital services for IoT running in Azure using IoT HUB with edge devices, Industrial IoT services, Digital Twins and Azure data Explorer and more.
Our business use-case is to extend our scope of services to provide a set of digital services from which our clients can gain more value from their OPC UA enabled OT-systems by providing secure access to OT-data and leveraging insights by reports, analytics and automated optimization feedback loops using ML and AI - all available as cloud services.
Our plattform can connect to other (3. party) service providers to combine external data sources for sensor telemetry with data from our own IoT edge systems AND provide context from our digital twins. The very same platform is also providing telemetry and context to any consumer service that require access to OT-data and are given access to it by the client.
In order for us to achieve this we must rely on industry standards and OPC UA is playing a key role in this domain, specifically with the OPC UA PubSub standard for cloud based IoT services. This format is an accepted industry standard for exchanging OT-data across cloud services.
Requirements
Vidar
Hi again,
approx when can we expect the new container version being available in MCR, with the bug fix?
https://mcr.microsoft.com/v2/iot/industrial-iot-services-all/tags/list
Best regards
Hi @mwiot,
We are in the final phase of releasing 2.8.1 version. We aim to have it available latest end of this week.
Kind regards
Hi @teknokrat1,
Thank you very much for your feedback. This aligns very well with our strategy and plans. In the next iteration, we will be working on extending the configuration plane for the Publisher module that will cover PubSub message mode as well.
Kind regards, Cristian
2.9 release will have full OPC UA Pub Sub support, but only through direct methods and publishednodes.json, not through orchestrated mode. Any additional work in orchestrated mode is not planned. Closing as the 2.9 release work is tracked through other issues.
Hi, I am having trouble getting the container create options to work properly for the publisher module when using the cloud orchestrated solution. Specifically I am trying to get the option "--mm=PubSub" to work, but I am not sure that any of the container create options are being used when using the orchestrated publisher.
Some additional info. Using:
Case 1: Use standalone publisher solution, nodes defined in pn.json
Publisher config:
IOT hub telemetry contains the correct message format specified in the container create options (pubsub):
Case 2: Use orchestrated publisher , nodes defined in publisher cloud service.
Publisher config:
IOT Hub telemetry does NOT contain the configured format, PubSub. This is the expected format when using --mm=Samples.