Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

not able to understand difference between GetTCP and ListenTCP

avatar
Expert Contributor

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

1 ACCEPTED SOLUTION

avatar
hide-solution

This problem has been solved!

Want to get a detailed solution you have to login/registered on the community

Register/Login
4 REPLIES 4

avatar
Expert Contributor

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:-

https://nifi.apache.org/docs.html

avatar
Expert Contributor

@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

avatar
hide-solution

This problem has been solved!

Want to get a detailed solution you have to login/registered on the community

Register/Login

avatar
Explorer

@Wynner 

What do you mean "pull the data" and "reads the data" with GetTCP processor?