ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum IndexIBM MQ Telemetry / Low Latency Messaging / EveryplaceMQTT QM1 to QM2

Post new topicReply to topic
MQTT QM1 to QM2 View previous topic :: View next topic
Author Message
inMo
PostPosted: Tue Oct 20, 2015 5:19 pm Post subject: MQTT QM1 to QM2 Reply with quote

Master

Joined: 27 Jun 2009
Posts: 212
Location: NY

I'm looking for assistance regarding MQ Telemetry. I have an MQTT client publishing on QM1. MQTT clients are subscribing to topics published on QM1 and all is fine. Occasionally a topic is published on QM1 that has subscribers on QM2. How can I have QM2 subscribe to topics on QM1? Next, if QM2 can subscribe to QM1 topics, how can it turn around and publish the MQTT topic it just subscribed to?

Client PubA publishes topic "Hello" on QM1. Client SubA subscribes to topic "Hello" on QM1. Client SubB subscribes to topic "Hello" on QM2. How can QM2 subscribe to "Hello" on QM1 and re-publish on QM2 to allow SubB to receive message?
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Tue Oct 20, 2015 8:21 pm Post subject: Reply with quote

Grand Poobah

Joined: 18 Nov 2003
Posts: 19246
Location: LI,NY

Have you looked at
a) pub / sub connecting to qmgr A and defining qmgr B as the pub/sub qmgr?
b) publications in the cluster?

Note that for both scenarios you will need default routing between the qmgrs, before you start to really complicate things...
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
inMo
PostPosted: Wed Oct 21, 2015 5:18 am Post subject: Reply with quote

Master

Joined: 27 Jun 2009
Posts: 212
Location: NY

I will certainly look into those options. Thanks you.

From a far, those sound like MQ centric options (please correct me if I'm wrong). I was originally looking for something like a bridge between MQTT servers.

While I prefer to stay in the MQ world, Mosquitto discusses this idea:
Quote:

As well as accepting connections from MQTT client applications, Mosquitto has a bridge which allows it to connect to other MQTT servers, including other Mosquitto instances. This allows networks of MQTT servers to be constructed, passing MQTT messages from any location in the network to any other, depending on the configuration of the bridges.


Does MQ Telemetry offer any MQTT based options or do I have to go from MQTT into MQ on QM1, then traditional QM1 to QM2, then back out to MQTT on QM2?
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Wed Oct 21, 2015 6:03 am Post subject: Reply with quote

Grand Poobah

Joined: 18 Nov 2003
Posts: 19246
Location: LI,NY

Have you found the "binaries" for said MQTT bridge?
Have you configured your bridge, and if yes, what were your config parameters?
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
mqjeff
PostPosted: Wed Oct 21, 2015 6:07 am Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17383

You can't, as far as I know, configure one MQTT Bridge to talk to another directly.

If you want to go from one MQTT endpoint to several queue managers, you should look at MessageSight.

But configuring a single MQTT bridge (perhaps on a dedicated queue manager) and proper MQ networking may be simpler.
_________________
Read, Think, Try, Repeat
Back to top
View user's profile Send private message
inMo
PostPosted: Wed Oct 21, 2015 8:15 am Post subject: Reply with quote

Master

Joined: 27 Jun 2009
Posts: 212
Location: NY

So I should view the MQ Telemetry solution/broker provided as part of MQ Queue Manager as a single instance broker that can communicate with MQ, Client Publishers or Client Subscribers, but not other MQTT brokers?
Back to top
View user's profile Send private message
mqjeff
PostPosted: Wed Oct 21, 2015 8:22 am Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17383

inMo wrote:
So I should view the MQ Telemetry solution/broker provided as part of MQ Queue Manager as a single instance broker that can communicate with MQ, Client Publishers or Client Subscribers, but not other MQTT brokers?


Yes. I don't know that any MQTT brokers speak to other MQTT brokers. It's not really part of the standard.

That doesn't mean that there aren't any. I just don't know of them.
_________________
Read, Think, Try, Repeat
Back to top
View user's profile Send private message
inMo
PostPosted: Wed Oct 21, 2015 10:42 am Post subject: Reply with quote

Master

Joined: 27 Jun 2009
Posts: 212
Location: NY

These non-IBM links discuss the concept.

http://www.hivemq.com/blog/hivemq-2-0-released (See the Bridges section)

https://www.cloudmqtt.com/docs-bridge.html
Back to top
View user's profile Send private message
mqjeff
PostPosted: Wed Oct 21, 2015 10:51 am Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17383

inMo wrote:
These non-IBM links discuss the concept.

http://www.hivemq.com/blog/hivemq-2-0-released (See the Bridges section)

https://www.cloudmqtt.com/docs-bridge.html


Ok. I've looked at a couple of other non-IBM brokers, but not those.
_________________
Read, Think, Try, Repeat
Back to top
View user's profile Send private message
inMo
PostPosted: Wed Oct 21, 2015 11:34 am Post subject: Reply with quote

Master

Joined: 27 Jun 2009
Posts: 212
Location: NY

No problem. I always appreciate your efforts to help. I shared the links to clarify what I was asking about, nothing more.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Wed Oct 21, 2015 12:02 pm Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17383

inMo wrote:
No problem. I always appreciate your efforts to help. I shared the links to clarify what I was asking about, nothing more.


Yep. That's how I read it.

It might, in theory, be possible to use one of those to talk to the mqtt bridge or messagesight and then forward to other instances of that mqtt broker...

Dunno. Haven't tried it. Wouldn't necessarily recommend it, as I don't know how stable those are. (again, I don't know anything about them.)
_________________
Read, Think, Try, Repeat
Back to top
View user's profile Send private message
Display posts from previous:
Post new topicReply to topic Page 1 of 1

MQSeries.net Forum IndexIBM MQ Telemetry / Low Latency Messaging / EveryplaceMQTT QM1 to QM2
Jump to:



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP


Theme by Dustin Baccetti
Powered by phpBB 2001, 2002 phpBB Group

Copyright MQSeries.net. All rights reserved.