use of org.graylog2.inputs.codecs.CodecsModule in project graylog2-server by Graylog2.
the class MessageInputBindings method configure.
@Override
protected void configure() {
install(new TransportsModule());
install(new CodecsModule());
final MapBinder<String, MessageInput.Factory<? extends MessageInput>> inputMapBinder = inputsMapBinder();
// new style inputs, using transports and codecs
installInput(inputMapBinder, RawTCPInput.class, RawTCPInput.Factory.class);
installInput(inputMapBinder, RawUDPInput.class, RawUDPInput.Factory.class);
installInput(inputMapBinder, RawAMQPInput.class, RawAMQPInput.Factory.class);
installInput(inputMapBinder, RawKafkaInput.class, RawKafkaInput.Factory.class);
installInput(inputMapBinder, SyslogTCPInput.class, SyslogTCPInput.Factory.class);
installInput(inputMapBinder, SyslogUDPInput.class, SyslogUDPInput.Factory.class);
installInput(inputMapBinder, SyslogAMQPInput.class, SyslogAMQPInput.Factory.class);
installInput(inputMapBinder, SyslogKafkaInput.class, SyslogKafkaInput.Factory.class);
installInput(inputMapBinder, FakeHttpMessageInput.class, FakeHttpMessageInput.Factory.class);
installInput(inputMapBinder, GELFTCPInput.class, GELFTCPInput.Factory.class);
installInput(inputMapBinder, GELFHttpInput.class, GELFHttpInput.Factory.class);
installInput(inputMapBinder, GELFUDPInput.class, GELFUDPInput.Factory.class);
installInput(inputMapBinder, GELFAMQPInput.class, GELFAMQPInput.Factory.class);
installInput(inputMapBinder, GELFKafkaInput.class, GELFKafkaInput.Factory.class);
installInput(inputMapBinder, JsonPathInput.class, JsonPathInput.Factory.class);
}
Aggregations