Class NetflowV9CodecAggregator
java.lang.Object
org.graylog.plugins.netflow.codecs.NetflowV9CodecAggregator
- All Implemented Interfaces:
RemoteAddressCodecAggregator
,CodecAggregator
For Netflow v9 packets we want to prepend the corresponding flow template.
If we don't have that template yet, we consider the flow packet to be incomplete and continue to wait for the template.
TODO consider sharing seen templates between nodes in the cluster to minimize wait time
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.graylog2.plugin.inputs.codecs.CodecAggregator
CodecAggregator.Result
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddChunk
(io.netty.buffer.ByteBuf buf, SocketAddress remoteAddress) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.graylog.plugins.netflow.codecs.RemoteAddressCodecAggregator
addChunk
-
Constructor Details
-
NetflowV9CodecAggregator
@Inject public NetflowV9CodecAggregator()
-
-
Method Details
-
addChunk
@Nonnull public CodecAggregator.Result addChunk(io.netty.buffer.ByteBuf buf, SocketAddress remoteAddress) - Specified by:
addChunk
in interfaceRemoteAddressCodecAggregator
-