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:20:33 +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=M5P0I5duTE8WRGXicraQTR9vQ5MVrmYyXHeUe10sUs8=; b=QZvnpNd2IxOFiRmQikufd4Nb5GZ2qI/tQwgV1lzLzQsA4rBh98D+CXLfamY5MuS+XVPWqgWE5673/aIy/xxkF148pRoArE6zpTth5qN+icHrgsYOy61Caz+GoEDNhExD265rJOuuys8d5Am3zkw4FoFTKqaZhTfq8V6r9vU3XlZTy3+9GwUFWZtuMobCfRI0t9ELrneAWw9dgDZ28xye6uUEnfOYO/NlXLGQWeUHphULeITDYQr3/Nfnps/MNxs7gS0RHB69IGiCWJ72pyiVqhm15Xw+UW6gpW68Sx4Kb8rf/d0dbgq4QObxXhZuT5JrQ/FTyJRoObSOZCtkp1plPg==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=NNwHBV15ezP10pf5dcogFgItavk3Eh8glS8nupXHGYW+VXllCQk2k4+3eM7bZhY1AVtR/udO8ed4N6KGFJh1Zb1TLSjFQOVcyyBup47L5v4Q9z+qIlahkvkV4LFznsMRWCr8HN/aIB6UnRrESo8XOOx9BcP2K4zjFGhh8cuKggnWYd6c1NQAzVYAPuDeaeoEfZ5kbthrHXsXL+bA3M5HsqXnSkobcK4Kx4owTQ3vgyaGm/UhSthQSW08x/jySCGcQhWEfsGm3jnS0oLcXG7s51OWcc1ZPYsTjui4iXavhe4BJM6P25SEJ4itu29RIDWGdKnMqK+d28YMRPyXxzzlkA==
  • Delivered-to: paho-dev@xxxxxxxxxxx
  • Ironport-sdr: UO4niPxO35OCQMLrvufvoHJ1fUMg77mY31x+/GiIqqVqStQQDFN4JbbiBu16vML5mKKigU7A5V +IyFPTTcc4ZcFtVqVwkae73h5UJh7VR9/C2Z3kdiDXPD51UbUC7EVvgsClUHs2h4plvCdSP4yY ceNUP2kvVaKKRYwte8B5OXPgVAh0E1k8G0S64IRB6ZozcMjfXQ4a8SH0YKU76260FJCh1V1G+T OIGt3UdXRhHV81wf30OMzvmVnwMINz47dbDuPk9hP8zRwiczHM9znwK+9EvNLG6a6dFxfOCMbL /vQ=
  • 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+7owQlqG2PbMJUKwMQABzkuAAAAvIbAAANExUA==
  • Thread-topic: [ EXTERNAL ] Re: [paho-dev] End-to-end response

+ Base Paul.

 

From: Kumar, Pankaj
Sent: Thursday, October 15, 2020 12:48 PM
To: General development discussions for paho project <paho-dev@xxxxxxxxxxx>
Subject: RE: [ 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