[
https://issues.apache.org/jira/browse/MINIFICPP-728?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16758269#comment-16758269
]
Arpad Boda commented on MINIFICPP-728:
--------------------------------------
[~phrocker] This decision seems to be well reasoned, however makes the API a
bit inconsistent. Sending flowfile or any payload keeps the connection, but
retrieving peers closes it. It doesn't cause issue, but seems to be a bit
unexpected in API user perspective in my opinion.
> RawSiteToSite::getPeerList unnecessarily tears down connection after
> successfully retrieving peer list
> ------------------------------------------------------------------------------------------------------
>
> Key: MINIFICPP-728
> URL: https://issues.apache.org/jira/browse/MINIFICPP-728
> Project: NiFi MiNiFi C++
> Issue Type: Improvement
> Reporter: Arpad Boda
> Assignee: Arpad Boda
> Priority: Minor
> Fix For: 0.7.0
>
>
> teardown call seems to be needless in sunny path, the connection could be
> kept after retrieving peers.
> [~phrocker] what do you think?
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)