nifi-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andre <andre-li...@fucs.org>
Subject Re: Telnet with username
Date Tue, 06 Feb 2018 21:04:20 GMT
Martin,

It seems like you got your connection directions inverted?

Are you connecting to the telnet server on port 8000 to consume the API or
are you exposing a service on port 8000 on your host and the API connects
to it?

Cheers

On Mon, Feb 5, 2018 at 7:52 AM, Martin Monsalvo <monsalvo@gmail.com> wrote:

> Hello,
> I am trying to determine how to approach this.
>
> I have a data source that broadcasts packets via telnet on a certain port.
>
> e.g
> mytelnet.mydomain.net 8000
>
> Once I connect through telnet it will prompt for my user name like so:
>
> Please enter your user name:
>
> Once you enter your username you start receiving the data one record per
> line.
>
> So far I have been able to process this data stream like so:
>
> I open a telnet connection on my machine. I route the packets to a file
> and I use the TailFile processor to read the incoming packets that get
> appended to that file.
>
> Then I process each line and send it to a Cassandra cluster.
>
> I wonder how can I directly connect to the Telnet source from Nifi, to
> avoid having to flush to a log file and using the TailFile processor as
> intermediate steps.
>
> Any ideas?
>
> Thanks in advance,
>
> Martin
>

Mime
View raw message