The documentation says the codec is used to decode netflow packets. The code does not have an encode method, so I am not surprised that an exception occurs. I am surprised at what that exception is (A stack overflow!)
There is an open issue requesting support for use of the codec on an output.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.