[ 
https://issues.apache.org/jira/browse/NIFI-6610?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ganesh Boyilla updated NIFI-6610:
---------------------------------
    Description: 
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 " relation ship 
is required 

  was:
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 "


> Disconnected Relationship support of Connect WebSocket processor in Nifi
> ------------------------------------------------------------------------
>
>                 Key: NIFI-6610
>                 URL: https://issues.apache.org/jira/browse/NIFI-6610
>             Project: Apache NiFi
>          Issue Type: Improvement
>    Affects Versions: 1.9.2
>            Reporter: Ganesh Boyilla
>            Assignee: Ganesh Boyilla
>            Priority: Major
>
> 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 " relation ship 
> is required 



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

Reply via email to