# Problem with Logstash Kinesis Input Plugin

**URL:** https://discuss.elastic.co/t/problem-with-logstash-kinesis-input-plugin/247037
**Category:** Logstash
**Created:** [September 1, 2020, 4:04am UTC](https://discuss.elastic.co/t/problem-with-logstash-kinesis-input-plugin/247037 "2020-09-01T04:04:30Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Rahul\_Kumar4](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rahul_kumar4/32/67369_2.png) [@Rahul\_Kumar4](https://discuss.elastic.co/u/Rahul_Kumar4)
#### Post date: [September 1, 2020, 4:04am UTC](https://discuss.elastic.co/t/problem-with-logstash-kinesis-input-plugin/247037/1 "2020-09-01T04:04:30Z")

</div>

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?

```auto
[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>"}

```

---

<div class="post-metadata">

### Author: ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)
#### Post date: [September 1, 2020, 3:51pm UTC](https://discuss.elastic.co/t/problem-with-logstash-kinesis-input-plugin/247037/2 "2020-09-01T15:51:00Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![Rahul\_Kumar4](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rahul_kumar4/32/67369_2.png) [@Rahul\_Kumar4](https://discuss.elastic.co/u/Rahul_Kumar4)
#### Post date: [September 1, 2020, 5:39pm UTC](https://discuss.elastic.co/t/problem-with-logstash-kinesis-input-plugin/247037/3 "2020-09-01T17:39:43Z")

</div>

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

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [September 29, 2020, 5:39pm UTC](https://discuss.elastic.co/t/problem-with-logstash-kinesis-input-plugin/247037/4 "2020-09-29T17:39:45Z")

</div>

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