Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add SafeProcessor wrapper #34647

Merged
merged 5 commits into from
Feb 24, 2023
Merged

Commits on Feb 22, 2023

  1. Add SafeProcessor wrapper

    Each processor might end up in multiple processor groups.
    Every group has its own `Close` that calls `Close` on each
    processor of that group which leads to multiple `Close` calls
    on the same processor.
    
    If the `SafeProcessor` wrapper was not used,
    the processor would have to handle multiple `Close` calls with
    adding `sync.Once` in its `Close` function.
    
    We make it easer for processor developers and take care of it
    in the processor registry instead.
    rdner committed Feb 22, 2023
    Configuration menu
    Copy the full SHA
    1e23b10 View commit details
    Browse the repository at this point in the history

Commits on Feb 23, 2023

  1. Resolve linter issues

    rdner committed Feb 23, 2023
    Configuration menu
    Copy the full SHA
    415ed00 View commit details
    Browse the repository at this point in the history
  2. Remove wrong import

    rdner committed Feb 23, 2023
    Configuration menu
    Copy the full SHA
    70a07d4 View commit details
    Browse the repository at this point in the history
  3. Add changelog entry

    rdner committed Feb 23, 2023
    Configuration menu
    Copy the full SHA
    982bcd8 View commit details
    Browse the repository at this point in the history

Commits on Feb 24, 2023

  1. Update libbeat/processors/safe_processor.go

    Co-authored-by: Craig MacKenzie <[email protected]>
    rdner and cmacknz authored Feb 24, 2023
    Configuration menu
    Copy the full SHA
    31af6b2 View commit details
    Browse the repository at this point in the history