- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
not able to understand difference between GetTCP and ListenTCP
- Labels:
-
Apache NiFi
Created ‎10-11-2017 10:48 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi All,
Thanks
I was trying to understand the difference between LIstenTCP and GetTCP, my understanding is that getTCP pulls tha data and listenTCP we have to push the data, is there any other difference?
Thanks
Created ‎10-27-2017 06:12 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The GetTCP processor does not pull the data, it simply connects to the configured endpoint and then reads the data on that endpoint.
The ListenTCP processor waits for the incoming TCP connection and then reads the data.
Created ‎10-12-2017 12:19 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
GetTCP - Connects over TCP to the provided endpoint(s). Received data will be written as content to the FlowFile
ListenTCP- Listens for incoming TCP connections and reads data from each connection using a line separator as the message demarcator.
Ref:-
Created ‎10-12-2017 12:41 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@avoma thanks for the reply, appreciate your help. This helps however to my understanding getTCP pulls the data from endpoints and listenTCP reads that data which pushed to that nifi node am I correct? Please help
Created ‎10-27-2017 06:12 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The GetTCP processor does not pull the data, it simply connects to the configured endpoint and then reads the data on that endpoint.
The ListenTCP processor waits for the incoming TCP connection and then reads the data.
Created ‎09-04-2020 10:03 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
What do you mean "pull the data" and "reads the data" with GetTCP processor?
