martinzink commented on code in PR #1419:
URL: https://github.com/apache/nifi-minifi-cpp/pull/1419#discussion_r1005553207


##########
PROCESSORS.md:
##########
@@ -2167,6 +2168,32 @@ In the list below, the names of required properties 
appear in bold. Any other pr
 | success | After a successful SQL update operation, the incoming FlowFile 
sent here |
 
 
+## PutTCP
+
+### Description
+The PutTCP processor receives a FlowFile and transmits the FlowFile content 
over a TCP connection to the configured TCP server. By default, the FlowFiles 
are transmitted over the same TCP connection. To assist the TCP server with 
determining message boundaries, an optional "Outgoing Message Delimiter" string 
can be configured which is appended to the end of each FlowFiles content when 
it is transmitted over the TCP connection. An optional "Connection Per 
FlowFile" parameter can be specified to change the behaviour so that each 
FlowFiles content is transmitted over a single TCP connection which is closed 
after the FlowFile has been sent.
+
+### Properties
+In the list below, the names of required properties appear in bold. Any other 
properties (not in bold) are considered optional. The table also indicates any 
default values, and whether a property supports the NiFi Expression Language.
+
+| Name                           | Default Value | Allowable Values | 
Description                                                                     
                                                                                
                                                                                
                                                                                
                                                                                
   |
+|--------------------------------|---------------|------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| **Hostname**                   | localhost     |                  | The ip 
address or hostname of the destination.<br/>**Supports Expression Language: 
true**                                                                          
                                                                                
                                                                                
                                                                                
|
+| **Port**                       |               |                  | The port 
or service on the destination.<br/>**Supports Expression Language: true**       
                                                                                
                                                                                
                                                                                
                                                                          |
+| **Idle Connection Expiration** | 15 seconds    |                  | The 
amount of time a connection should be held open without being used before 
closing the connection. A value of 0 seconds will disable this 
feature.<br/>**Supports Expression Language: true**                             
                                                                                
                                                                                
                      |
+| **Timeout**                    | 15 seconds    |                  | The 
timeout for connecting to and communicating with the 
destination.<br/>**Supports Expression Language: true**                         
                                                                                
                                                                                
                                                                                
                          |
+| **Connection Per FlowFile**    | false         |                  | 
Specifies whether to send each FlowFile's content on an individual connection.  
                                                                                
                                                                                
                                                                                
                                                                                
   |
+| Outgoing Message Delimiter     |               |                  | 
Specifies the delimiter to use when sending messages out over the same TCP 
stream. The delimiter is appended to each FlowFile message that is transmitted 
over the stream so that the receiver can determine when one message ends and 
the next message begins. Users should ensure that the FlowFile content does not 
contain the delimiter character to avoid errors.<br/>**Supports Expression 
Language: true** |
+| SSL Context Service            |               |                  | The 
Controller Service to use in order to obtain an SSL Context. If this property 
is set, messages will be sent over a secure connection.                         
                                                                                
                                                                                
                                                                                
 |
+| Max Size of Socket Send Buffer |               |                  | The 
maximum size of the socket send buffer that should be used. This is a 
suggestion to the Operating System to indicate how big the socket buffer should 
be.                                                                             
                                                                                
                                                                                
         |
+
+### Properties
+| Name    | Description                                                        
        |
+|---------|----------------------------------------------------------------------------|
+| success | FlowFiles that are sent to the destination are sent out this 
relationship. |
+| failure | FlowFiles that encountered IO errors are send out this 
relationship.       |

Review Comment:
   nice catch, fixed it and where I copy pasted it from
   
https://github.com/apache/nifi-minifi-cpp/pull/1419/commits/195799422c01c11d26803eb8f1cde3e8d3c246a6



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to