nifi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bryan Bende <bbe...@gmail.com>
Subject Re: ListenTcpRecord
Date Wed, 04 Oct 2017 14:14:35 GMT
Hello,

I wrote a post that shows an example of using ListenTCPRecord with a
GrokReader to receive multi-line log messages. There is a link to a
template of the flow at the very end.

You could easily change the example so that PutTCP is sending a single
JSON document, or an array of JSON documents, and ListenTCPRecord is
using a JsonTreeReader.

We don't have a protobuf record reader so that currently isn't an option.

Let us know if you have any other questions.

-Bryan

[1] https://bryanbende.com/development/2017/10/04/apache-nifi-processing-multiline-logs

On Wed, Oct 4, 2017 at 8:39 AM, Clay Teahouse <clayteahouse@gmail.com> wrote:
> Hi All,
>
> Does anyone have an example of ListenTcpRecord processor in action, say for
> example, with a json or protobuf reader? I am specifically wondering about
> the record length/prefix.
>
> thanks
> Clay

Mime
View raw message