use of org.graylog.plugins.netflow.codecs.NetflowV9CodecAggregator in project graylog2-server by Graylog2.
the class NetFlowUdpTransportTest method setUp.
@Before
public void setUp() {
final NettyTransportConfiguration nettyTransportConfiguration = new NettyTransportConfiguration("nio", "jdk", 1);
eventLoopGroupFactory = new EventLoopGroupFactory(nettyTransportConfiguration);
eventLoopGroup = new NioEventLoopGroup(1);
transport = new NetFlowUdpTransport(Configuration.EMPTY_CONFIGURATION, eventLoopGroupFactory, nettyTransportConfiguration, new ThroughputCounter(eventLoopGroup), new LocalMetricRegistry());
transport.setMessageAggregator(new NetflowV9CodecAggregator());
}
Aggregations