It can be hard to cut through the marketing and half-informed opinions that fuel the ongoing IoT "protocol wars". In code veritas, and thus I created a set of code examples that strip protocols to their bare minimum - a simple "Hello World" program. This presentation compares DDS to MQTT.
2. OMG DDS Hello World
Automatic discovery & P2P (no broker
required)
Use (generated)
native types
Type safe API
4 LOC
setup entities: 3
write data: 1
3. Application-managed IP-
addresses & port numbers
Broker based
No awareness of
message type
MQTT Hello World 6 LOC
setup entities: 3
write data: 3
based on https://eclipse.org/paho/clients/cpp/
Pub / Sub