You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nifi.apache.org by "Ganesh, B (Nokia - IN/Bangalore)" <b....@nokia.com> on 2019/08/30 06:43:50 UTC

Disconnected Relationship support in Connect WebSocket processor in Nifi

Hi ,

We are using Connect WebSocket processor to connect to a WebSocket server. As part of the requirement, when the WebSocket server closes the connection, we need to do retry mechanism.
Current connect WebSocket processor does not have disconnected relationship that indicates jetty @OnWebSocketClose callback.
This is required, so that in case of the disconnected relationship we can do the retry mechanism.


  *   In case where the server side is shutdown gracefully we don't want to retry.
  *   server does close call on the client  side will get a call back @OnWebSocketClose
  *   but if it is network connection error or server got killed client side will get @ Onerror .

Considering above requirement I think WebSocket  "disconnected " relationship  support is required in Nifi .

Thanks & Regards,
Ganesh.B
9900355223



RE: Disconnected Relationship support in Connect WebSocket processor in Nifi

Posted by "Ganesh, B (Nokia - IN/Bangalore)" <b....@nokia.com>.
Yes I can .

-----Original Message-----
From: Otto Fowler <ot...@gmail.com> 
Sent: Friday, August 30, 2019 5:40 PM
To: dev@nifi.apache.org
Subject: Re: Disconnected Relationship support in Connect WebSocket processor in Nifi

Can you create a jira?




On August 30, 2019 at 02:44:04, Ganesh, B (Nokia - IN/Bangalore) (
b.ganesh@nokia.com) wrote:

Hi ,

We are using Connect WebSocket processor to connect to a WebSocket server.
As part of the requirement, when the WebSocket server closes the connection, we need to do retry mechanism.
Current connect WebSocket processor does not have disconnected relationship that indicates jetty @OnWebSocketClose callback.
This is required, so that in case of the disconnected relationship we can do the retry mechanism.


* In case where the server side is shutdown gracefully we don't want to retry.
* server does close call on the client side will get a call back @OnWebSocketClose
* but if it is network connection error or server got killed client side will get @ Onerror .

Considering above requirement I think WebSocket "disconnected "
relationship support is required in Nifi .

Thanks & Regards,
Ganesh.B
9900355223

Re: Disconnected Relationship support in Connect WebSocket processor in Nifi

Posted by Otto Fowler <ot...@gmail.com>.
Can you create a jira?




On August 30, 2019 at 02:44:04, Ganesh, B (Nokia - IN/Bangalore) (
b.ganesh@nokia.com) wrote:

Hi ,

We are using Connect WebSocket processor to connect to a WebSocket server.
As part of the requirement, when the WebSocket server closes the
connection, we need to do retry mechanism.
Current connect WebSocket processor does not have disconnected relationship
that indicates jetty @OnWebSocketClose callback.
This is required, so that in case of the disconnected relationship we can
do the retry mechanism.


* In case where the server side is shutdown gracefully we don't want to
retry.
* server does close call on the client side will get a call back
@OnWebSocketClose
* but if it is network connection error or server got killed client side
will get @ Onerror .

Considering above requirement I think WebSocket "disconnected "
relationship support is required in Nifi .

Thanks & Regards,
Ganesh.B
9900355223