logstash-plugins / logstash-codec-multiline

Apache License 2.0
7 stars 31 forks source link

Fix non stop periodic runner #72

Closed kaisecheng closed 4 months ago

kaisecheng commented 4 months ago

Fixes: https://github.com/logstash-plugins/logstash-input-file/issues/325

Periodic runner blocks the pipeline to shut down due to multiple threads access and set running. This commit prevents multiple threads from interfering and allows the cleaner to finish properly.

IdentityMapCodec is used in file-input and lumberjack-input