Created 05-08-2016 04:12 AM
Hi All,
May be this is a networking question and not specific to NiFi.
I've a locally installed NiFi instance on my laptop, we don't have NiFi installed on our Hadoop cluster yet.
On a remote server a TCP/IP port is setup, to receive real-time streaming data. Using NiFi's ListenTCP processor on my local machine, is it possible to listen to the port on the remote server and receive the real-time streaming data into my local NiFi instance.
Thanks.
Created 05-08-2016 08:27 AM
Hi @Raj B
What's the nature of data source ? Do you need the data in NiFi only or in NiFi and in the remote streaming server ?
The ListenTCP processor listen to a particular port on the local host (not possible for remote host). This is the case of "Listen" processors in general. "Get" processors are used to get data from from remote systems.
To get this data into NiFi on your laptop I see mainly two choices:
The first scenario is better if you can change the source.
Created 05-08-2016 08:27 AM
Hi @Raj B
What's the nature of data source ? Do you need the data in NiFi only or in NiFi and in the remote streaming server ?
The ListenTCP processor listen to a particular port on the local host (not possible for remote host). This is the case of "Listen" processors in general. "Get" processors are used to get data from from remote systems.
To get this data into NiFi on your laptop I see mainly two choices:
The first scenario is better if you can change the source.
Created 05-08-2016 02:45 PM
Hi @Raj B
I believe that @Abdelkrim Hadjidj provided you with some good options. Your original question of: "is it possible to listen to the port on the remote server and receive the real-time streaming data into my local NiFi instance"
This is not possible in general, the way any networking software will work is you listen on and bind to a port on a local machine.
Thanks,
Andrew
Created 05-09-2016 03:46 AM
Thanks guys for confirming what I was thinking (you can only listen to a port on your host machine).
@Abdelkrim Hadjidj The source data is streaming patient data in HL7 message format. Thanks for the 2 options.