Skip to content
DataMiner DoJo

More results...

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
Search in posts
Search in pages
Search in posts
Search in pages
Log in
Menu
  • Blog
  • Questions
  • Learning
    • E-learning Courses
    • Open Classroom Training
    • Certification
      • DataMiner Fundamentals
      • DataMiner Configurator
      • DataMiner Automation
      • Scripts & Connectors Developer: HTTP Basics
      • Scripts & Connectors Developer: SNMP Basics
      • Visual Overview – Level 1
      • Verify a certificate
    • Tutorials
    • Video Library
    • Books We Like
    • >> Go to DataMiner Docs
  • Expert Center
    • Solutions & Use Cases
      • Solutions
      • Use Case Library
    • Markets & Industries
      • Media production
      • Government & defense
      • Content distribution
      • Service providers
      • Partners
      • OSS/BSS
    • DataMiner Insights
      • Security
      • Integration Studio
      • System Architecture
      • DataMiner Releases & Updates
      • DataMiner Apps
    • Agile
      • Agile Webspace
      • Everything Agile
        • The Agile Manifesto
        • Best Practices
        • Retro Recipes
      • Methodologies
        • The Scrum Framework
        • Kanban
        • Extreme Programming
      • Roles
        • The Product Owner
        • The Agile Coach
        • The Quality & UX Coach (QX)
    • DataMiner DevOps Professional Program
  • Downloads
  • More
    • Feature Suggestions
    • Climb the leaderboard!
    • Swag Shop
    • Contact
      • General Inquiries
      • DataMiner DevOps Support
      • Commercial Requests
    • Global Feedback Survey
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Deal Registration
  • >> Go to dataminer.services

MQTT Client – Broker Communication in DataMiner

420 views17th January 2025MQTT
6
Gorazd Bishkoski [DevOps Advocate]90 28th November 2024 0 Comments

Hello everyone,

I have a question regarding MQTT Communication with DataMiner. I would like to know whether DataMiner already has a connector developed for this type of communication? And if we would like to integrate a device to the DataMiner system using MQTT, how would that be possible?

Arunkrishna Shreeder [SLC] [DevOps Advocate] Answered question 17th January 2025

2 Answers

  • Active
  • Voted
  • Newest
  • Oldest
1
Flavio Meneses [SLC] [DevOps Enabler]890 Posted 29th November 2024 4 Comments

Hi Gorazd,

After a quick search, I couldn't find an off-the-shelf generic connector ready for testing. However, I don't see any technical obstacles to creating a connector that subscribes to topics on an MQTT broker.

I also noticed that we have conducted some internal tests with this in the past, so we might already have a a good base for a connector. If you are interested in trying it out, it could be beneficial to coordinate with your Skyline point of contact.

To answer your question directly, it should indeed be possible to have a connector that subscribes to specific topics and then receives asynchronous updates on those subscribed topics.

Hope this helps.

Kind regards.

Stefan Tosic [DevOps Advocate] Posted new comment 5th December 2024
Gorazd Bishkoski [DevOps Advocate] commented 29th November 2024

Thank you for your help Flavio!

Stefan Tosic [DevOps Advocate] commented 29th November 2024

I have implemented a basic MQTT client using the MQTTnet library, and I placed the code in a QAction. At the end of the code, I added a while (true) loop to keep the QAction active all the time (since the connection needs to be persistent). However, I am concerned that this QAction will block other QActions from executing because, as far as I understand, the element processes QActions sequentially. Is there a workaround for this?

Flavio Meneses [SLC] [DevOps Enabler] commented 29th November 2024

Hi Stefan, your concern is valid. Ideally, you don't want this QAction to block the entire workflow. We have a couple of strategies to address this, and the best approach depends on certain variables that I currently don't have. To maintain most of your existing logic, you could consider queueing your QAction, which would create a dedicated thread for it (https://docs.dataminer.services/develop/schemadoc/Protocol/Protocol.QActions.QAction-options.html#queued). However, we need to be cautious with this approach, as we must manage its lifecycle and ensure it ends or restarts when the element is stopped or restarted. We also need to be careful with accessing shared memory and make sure that not RTEs will be generated. An alternative might be to use a serial interface to receive asynchronous data and then trigger a QAction whenever data is received to correctly process it.

Stefan Tosic [DevOps Advocate] commented 5th December 2024

Thanks Flavio, I'll try these options 🙂

0
Arunkrishna Shreeder [SLC] [DevOps Advocate]4.00K Posted 17th January 2025 1 Comment

Hi Gorazd,

There are 2 MQTT connectors available in our catalog :

You can try these connectors and check if they satisfy your requirements.

MAXIMILIANO FILHO [DevOps Member] Posted new comment 28th February 2025
MAXIMILIANO FILHO [DevOps Member] commented 28th February 2025

Hi Arunkrishna,

I tried to find these protocols in the catalog, but I couldn't find them.

Please login to be able to comment or post an answer.

My DevOps rank

DevOps Members get more insights on their profile page.

My user earnings

0 Dojo credits

Spend your credits in our swag shop.

0 Reputation points

Boost your reputation, climb the leaderboard.

Promo banner DataMiner DevOps Professiona Program
DataMiner Integration Studio (DIS)
Empower Katas

Recent questions

Web Applications exception in Cube due to invalid certificate 0 Answers | 0 Votes
Redundancy Groups and Alarming – Duplicate Alarms 0 Answers | 0 Votes
Correlation Engine: “Test rule” doesn’t result in a hit, despite functional rule 1 Answer | 3 Votes

Question Tags

adl2099 (115) alarm (62) Alarm Console (82) alarms (100) alarm template (83) Automation (223) automation scipt (111) Automation script (167) backup (71) Cassandra (180) Connector (109) Correlation (69) Correlation rule (52) Cube (151) Dashboard (194) Dashboards (188) database (83) DataMiner Cube (57) DIS (81) DMS (71) DOM (140) driver (65) DVE (56) Elastic (83) Elasticsearch (115) elements (80) Failover (104) GQI (159) HTTP (76) IDP (74) LCA (152) low code app (166) low code apps (93) lowcodeapps (75) MySQL (53) protocol (203) QAction (83) security (88) SNMP (86) SRM (337) table (54) trending (87) upgrade (62) Visio (539) Visual Overview (345)
Privacy Policy • Terms & Conditions • Contact

© 2025 Skyline Communications. All rights reserved.

DOJO Q&A widget

Can't find what you need?

? Explore the Q&A DataMiner Docs

[ Placeholder content for popup link ] WordPress Download Manager - Best Download Management Plugin