You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/07/06 19:58:00 UTC
[jira] [Commented] (NIFI-4157) Improve PutTCP
[ https://issues.apache.org/jira/browse/NIFI-4157?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16077129#comment-16077129 ]
ASF GitHub Bot commented on NIFI-4157:
--------------------------------------
GitHub user bbende opened a pull request:
https://github.com/apache/nifi/pull/1989
NIFI-4157 Improvements to PutTCP
- Expose the ChannelSender's OutputStream
- Use IOUtils to copy the flow file InputStream to the OutputStream
- Make Outgoing Message Delimiter optional and remove default value so it can be blank
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/bbende/nifi NIFI-4157
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/nifi/pull/1989.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1989
----
commit f4a59559b1e22e96ba82b9992d3d770a24d242d9
Author: Bryan Bende <bb...@apache.org>
Date: 2017-07-06T19:40:50Z
NIFI-4157 Improvements to PutTCP
Signed-off-by: Bryan Bende <bb...@apache.org>
----
> Improve PutTCP
> --------------
>
> Key: NIFI-4157
> URL: https://issues.apache.org/jira/browse/NIFI-4157
> Project: Apache NiFi
> Issue Type: Improvement
> Reporter: Bryan Bende
> Assignee: Bryan Bende
>
> Currently PutTCP reads the entire content of a flow file into memory in a ByteArrayOutputStream and then sends the bytes of the BAOS over the connection. We should stream the flow file's InputStream to the socket's OutputStream.
> We also should make the Outgoing Message Delimiter optional for cases where the data is already in the desired format.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)