Hello Everyone,
First of all sorry for asking a similar question, Same question ask before 3-4 years but i didn't find information relevant (because of new release on protocols).
I am Student and beginner on communication Protocols. I want to use most secure, resistent, scalable and ease to implement protocol on my Project. Here I describe my Use-Case so everyone has a basic idea. As per recent trends and new release, I am confuse between HiveMQ and Mosquitto.
Client A wants to send some small information to Client B with Acknowledgment (exactly once) with persistent Session. In my Case 1 or many Publisher can publish on same topic but every topic subscribe by specific only one subscriber (see attached image1). In that case, I thought, would be better to publish message with "subscriberID" as a topic. As a Broker I want to use MQTT Cluster Broker on Cloud with Load-Balancer.
As I know in PUB-SUB architecture Clients are decouple, that means publisher don't get acknowledgment if subscriber receive his message or not. Publisher get acknowledgment that broker get his message. But What if i can set mechanism like, Client A publish message with topic "ABC" with packetID "4320" and Client B subscribe for topic "ABC". Once Client B get message, it publish another message with topic "reABC" with payload "packetID 4320"and Client A subscribe for topic "reABC". That means Client B get successfully message that publish by Client A. is that a good mechanism or there is another better way. (see attached image2).
1. Which is most secure and most suitable in my use-case ? (security is my first aspect)
2. Is MQTT good choice for this Use-Case or might be any another protocol is more suitable for it ?
Thanks in Advance for your reply and suggestions.
Best Regards,
Dip