Problem with Logstash Kinesis Input Plugin

Seeing this error in the Kinesis input plugin which is preventing the Kinesis records from getting consumed by the Logstash workers. I switched the log level to DEBUG and managed to see this. Is this a known problem?

[2020-09-01T03:44:56,517][DEBUG][logstash.javapipeline ][cloudwatch] Pipeline terminated by worker error {:pipeline_id=>"cloudwatch", :exception=>#<NoMethodError: undefined method 
`logger' for #<Java::OrgApacheLoggingLog4jJcl::Log4jLog:0x1533bdca>>, 
:backtrace=>["/usr/share/logstash/vendor/bundle/jruby/2.5.0/gems/logstash-input-kinesis-2.1.1-java/lib/logstash/inputs/kinesis.rb:78:in `register'", 
"/usr/share/logstash/logstash-core/lib/logstash/java_pipeline.rb:226:in `block in register_plugins'", 
"org/jruby/RubyArray.java:1809:in `each'", 
"/usr/share/logstash/logstash-core/lib/logstash/java_pipeline.rb:225:in `register_plugins'", 
"/usr/share/logstash/logstash-core/lib/logstash/java_pipeline.rb:359:in `start_inputs'",
 "/usr/share/logstash/logstash-core/lib/logstash/java_pipeline.rb:309:in `start_workers'", 
 "/usr/share/logstash/logstash-core/lib/logstash/java_pipeline.rb:183:in `run'", 
 "/usr/share/logstash/logstash-core/lib/logstash/java_pipeline.rb:134:in `block in start'"], 
 "pipeline.sources"=>["/etc/logstash/conf.d/cumulus-cloudwatch-sb-sit.conf"], 
 :thread=>"#<Thread:0x43c79311@/usr/share/logstash/logstash-core/lib/logstash/pipeline_action/create.rb:53 run>"}

A change to this section of the code was committed a couple of hours ago. Not sure it is related. I cannot make sense of an exception at line 79 in either the old or new code. 77 would make sense in the old.

Yeap, it is related and version 2.1.2 seems to fix that issue. Just tested it out in our workload. Thanks @Badger

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.