logstash icon indicating copy to clipboard operation
logstash copied to clipboard

Adds method and pass the invokation through Java's filter delegator

Open andsel opened this issue 2 years ago • 0 comments

Release notes

Adds new close method to Java's Filter API to be used to clean shutdown resources allocated by the filter during registration phase.

What does this PR do?

  • Adds a new method to the public API interface
  • Pass the call through the JavaFilterDelegatorExt

Why is it important/What is the impact to the user?

Checklist

  • [ ] My code follows the style guidelines of this project
  • [ ] I have commented my code, particularly in hard-to-understand areas
  • [ ] I have made corresponding changes to the documentation
  • [ ] I have made corresponding change to the default configuration files (and/or docker env variables)
  • [ ] I have added tests that prove my fix is effective or that my feature works

Author's Checklist

  • [ ]

How to test this PR locally

Related issues

  • Closes #14367

Use cases

Screenshots

Logs

andsel avatar Aug 31 '22 14:08 andsel