Invalid checksum in DLQ

I am getting an exception as follows:

[2019-08-08T09:52:26,478][ERROR][logstash.pipeline ] A plugin had an unrecoverable error. Will restart this plugin.

Pipeline_id:dlqInstance

Plugin: <LogStash::Inputs::DeadLetterQueue pipeline_id=>"instance", path=>"/var/lib/logstash/dead_letter_queue", id=>"99a38b3b092e124b535d1bd025dc8be06c9cca68018506f5e0324c4b30465f14", commit_offsets=>true, enable_metric=>true, codec=><LogStash::Codecs::Plain id=>"plain_0980c072-c45d-4aa8-9963-31c6519386fc", enable_metric=>true, charset=>"UTF-8">>

Error: invalid checksum of record

Exception: Java::JavaLang::RuntimeException

Stack: org.logstash.common.io.RecordIOReader.getRecord(org/logstash/common/io/RecordIOReader.java:217)

org.logstash.common.io.RecordIOReader.readEvent(org/logstash/common/io/RecordIOReader.java:233)

org.logstash.common.io.DeadLetterQueueReader.pollEntryBytes(org/logstash/common/io/DeadLetterQueueReader.java:120)

org.logstash.common.io.DeadLetterQueueReader.pollEntry(org/logstash/common/io/DeadLetterQueueReader.java:97)

org.logstash.input.DeadLetterQueueInputPlugin.run(org/logstash/input/DeadLetterQueueInputPlugin.java:82)

java.lang.reflect.Method.invoke(java/lang/reflect/Method.java:498)

org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling(org/jruby/javasupport/JavaMethod.java:453)

org.jruby.javasupport.JavaMethod.invokeDirect(org/jruby/javasupport/JavaMethod.java:314)

usr.share.logstash.vendor.bundle.jruby.$2_dot_3_dot_0.gems.logstash_minus_input_minus_dead_letter_queue_minus_1_dot_1_dot_4.lib.logstash.inputs.dead_letter_queue.run(/usr/share/logstash/vendor/bundle/jruby/2.3.0/gems/logstash-input-dead_letter_queue-1.1.4/lib/logstash/inputs/dead_letter_queue.rb:60)

usr.share.logstash.logstash_minus_core.lib.logstash.pipeline.inputworker(/usr/share/logstash/logstash-core/lib/logstash/pipeline.rb:426)

usr.share.logstash.logstash_minus_core.lib.logstash.pipeline.block in start_input(/usr/share/logstash/logstash-core/lib/logstash/pipeline.rb:420)

org.jruby.RubyProc.call(org/jruby/RubyProc.java:289)

org.jruby.RubyProc.call(org/jruby/RubyProc.java:246)

java.lang.Thread.run(java/lang/Thread.java:748)

Please suggest how do I proceed with debugging it.

I have gone through a similar post but my case seems to be different.

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