• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Ron McLeod
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

MicroProfile and MQTT

 
Marshal
Posts: 4846
609
VSCode Eclipse IDE Redhat MicroProfile Quarkus Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have a need to communicate with a large number of IoT devices using MQTT.

What would be the MicroProfile approach for communicating with the broker - MP Reactive Messaging with some kind of connector/resource-adapter?  Would there be a separate channel for each topic, or would the topic be provided as payload metadata in the message?
 
Author
Posts: 10
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Ron McLeod wrote:I have a need to communicate with a large number of IoT devices using MQTT.

What would be the MicroProfile approach for communicating with the broker - MP Reactive Messaging with some kind of connector/resource-adapter?  Would there be a separate channel for each topic, or would the topic be provided as payload metadata in the message?



You can use a different connector to connect various broker with your reactive applications. There is a MQTT connector provided by SmallRye. More doc can be found https://smallrye.io/smallrye-reactive-messaging/smallrye-reactive-messaging/3.4/mqtt/mqtt.html.
 
Don't count your weasels before they've popped. And now for a mulberry bush related tiny ad:
Clean our rivers and oceans from home
https://www.kickstarter.com/projects/paulwheaton/willow-feeders
reply
    Bookmark Topic Watch Topic
  • New Topic