Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [paho-dev] [ EXTERNAL ] Re: End-to-end response
  • From: "Kumar, Pankaj" <pankaj_kumar2@xxxxxxxxxx>
  • Date: Thu, 15 Oct 2020 07:17:37 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=baxter.com; dmarc=pass action=none header.from=baxter.com; dkim=pass header.d=baxter.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=AFKTLKC9CRSwRGhy3SqsgJPmDUjnt05oqpuHKlVK+Bo=; b=XmpAYm1sKFLQheOpXkuScbR8iHk8xAyTTTxwdyUPviApZ2j4c1omgokr+Y+Lixzgi13HBo8NEUqRWMjt+91EUIsnDn0tRy/j1vNZitKSrCVmekY/hNkwlF4KVOSJdc0eWdAtYRtbeAg9ZPk0OYAjPjNPVVCWYx3MmkPZ6nkDSQHA6AvKTfL2iHuARZl9b7MabXkwhcGR8k93QzTk3Q+DhU6i4Sfi7Z6XpQu1sTHyYBjzmvCrCeiGOp1Jlu6WXxKv/g3/+6dnCIBJ7NIwdhMekiT2BIn48iDZAm6xPR951zrtJgs52i3IUo5BG0PYlUZZ/EomOIfzMfxila6JtPiqmA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=N2NjdW0jsRzNjbgAnrpLI8KCllPsYXFea4dQbQG5TgjORVrC8a058fMZ35O/++0VtuXPGcOx7DUsvgAc9vG1CliT20ogNhCQiQVMT+vgs4twlvbroCOWIXoP1Kj099q1uzfHWHlaIlH4DAcAHmWyIDBNtP+I6OfV9LrFmAaYQfWz0PN/UXDIu9nt3HXZ6JZP+gfdz2bBN70bB59OW9mGi3VJFIi+Df+nwaCFg6DLDA6lhGofHk9P3wgii6za7rGdEEjWnONoocPX2AMvN+tTdNcMDvrVXQf8gePiEdotWcikUx9sjXVUGG1ApaDUFqCc8EqvHjbiEQWE/51q/gQFEQ==
  • Delivered-to: paho-dev@xxxxxxxxxxx
  • Ironport-sdr: RUZG6zUxPyZSWEvvezyQmDPAANgZ7W9izh6WUB84zdAQf8kt3sxzJjCuE4uKoEffcpIqUhIa9A tHSg9Lts+zX6mn7DVJAn93j02YeZIXv2hw9pHaV2rpQ/dSRsPf2HB8NKSEM24RCrcR0oRBasGo OHdO+hbr0wUk67u1hnqtrbgEBPOg6n4VR8MtztOz2kaE1v2tbanxi4QUrKkKvrphFY7cwenDVX TIlg+YFu9rWcPthIBAfv75Xz7dEsOZ3Sh0vq37xQxFyW9iaErE92h+Ua0+rPz7ZhpOSF/fjb+j 9uY=
  • List-archive: <https://www.eclipse.org/mailman/private/paho-dev>
  • List-help: <mailto:paho-dev-request@eclipse.org?subject=help>
  • List-subscribe: <https://www.eclipse.org/mailman/listinfo/paho-dev>, <mailto:paho-dev-request@eclipse.org?subject=subscribe>
  • List-unsubscribe: <https://www.eclipse.org/mailman/options/paho-dev>, <mailto:paho-dev-request@eclipse.org?subject=unsubscribe>
  • Thread-index: AdaiuDoRmPcJ+7owQlqG2PbMJUKwMQABzkuAAAAvIbA=
  • Thread-topic: [ EXTERNAL ] Re: [paho-dev] End-to-end response

Thanks for the quick response.

 

Let me add some more detail here.

 

Our ultimate aim is to track the delivery of messages to right most Broker in a reliable way.

 

My current setup is as following. (No issues here)

 

Client ---------- Broker ----------- Server

  • Client sends QOS2 message to Broker.
  • Broker sends response(PUBCOMP) back to Client
  • Transaction completes

Note: We don’t care how Broker forwards that message further to Server

 

Now, we have added another Broker in between as following.

 

Client ------------ Intermediate Broker ------------ Broker ---------- Server

  • Client sends QOS2 message to Intermediate Broker
  • Intermediate Broker sends response (PUBCOM) back to Client
  • Client can’t mark transaction complete as there is no reliable way to know when message is delivered to right most Broker.

 

Looking for a solution to help Client track the response from final broker. Again we don’t care how final/right-most broker further forwards that message to Server.

 

Regards

Pankaj

 

From: paho-dev-bounces@xxxxxxxxxxx <paho-dev-bounces@xxxxxxxxxxx> On Behalf Of Dominik Obermaier
Sent: Thursday, October 15, 2020 12:20 PM
To: General development discussions for paho project <paho-dev@xxxxxxxxxxx>
Subject: [ EXTERNAL ] Re: [paho-dev] End-to-end response

 

[ EXTERNAL ]

Hi Pankaj,

MQTT 5 has a concept called "Request / Response Pattern" that will do exactly what you want.

However, it seems you are bridging MQTT brokers. Depending on the broker you're using this might not work as not all brokers support MQTT 5 for bridging. Last time I checked mosquitto for example did not yet have MQTT 5 support for bridges.

Best,
Dominik

On 15 Oct 2020, at 7:59, Kumar, Pankaj wrote:

Hello Dev,

 

Is there a way to get end-to-end response from a server which is two brokers away from client ?

 

Client ----------- Broker-1 ----------------Broker-2--------------Server

 

Looking for MQTT level solution without application level topic/messaging. I am using MQTT-5.

 

Regards

Pankaj

 

 

 

_______________________________________________
paho-dev mailing list
paho-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/paho-dev


Back to the top