Hi everybody.
I'm working on my very first codec for Logstash pipeline. The code itself works (according to unit tests).
This is the input configuration in LS pipeline:
input {
jdbc {
#stuff
statement => "select * from mytable"
codec => my_awesome_codec{}
}
}
I receive this error when starting pipeline:
[2019-08-28T13:04:23,492][FATAL][logstash.runner] The given configuration is invalid. Reason: java.lang.NoSuchMethodException: my.package.MyAwesomeCodec.<init>(co.elastic.logstash.api.Configuration,co.elastic.logstash.api.Context)
[2019-08-28T13:04:23,523][ERROR][org.logstash.Logstash] java.lang.IllegalStateException: Logstash stopped processing because of an error: (SystemExit) exit
What could be the reason?