[ 
https://issues.apache.org/jira/browse/NIFI-5531?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16639956#comment-16639956
 ] 

Bryan Bende commented on NIFI-5531:
-----------------------------------

ListenTCP currently is meant to read new-line delimited text, so its reading 
the stream of incoming data and whenever a new line is encountered it takes 
whatever it has read up to that point and treats it as a logical message. Each 
logical message gets written to a flow file depending on how you configured the 
Batch Size, meaning if Batch Size is 1 then each line gets put in it's own flow 
file, if Batch Size is 100 then 100 lines would get put into a single flow 
file. The Outgoing Message Delimiter is what will be written between lines when 
Batch Size is > 1.

> TCPListen issue
> ---------------
>
>                 Key: NIFI-5531
>                 URL: https://issues.apache.org/jira/browse/NIFI-5531
>             Project: Apache NiFi
>          Issue Type: Bug
>    Affects Versions: 0.7.4
>         Environment: RHEL6 server to RHEL6 server over internal network
>            Reporter: Charles Lassiter
>            Priority: Major
>
> When utilizing the postTCP and ListenTCP, I'm receiving chunked files when 
> sending one text file. So as an example, If I send one file via TCP, the 
> ListenTCP receives the file and chunks it into 8+ files. Delimiter is set the 
> same on both ends so I don't understand why the ListenTCP is chunking the 
> files. Any suggestions would help.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to