Skip to content

Bind to port during #register #215

@yaauie

Description

@yaauie

When we fail to bind to the port, we should propagate the failure to prevent the pipeline from starting.

With this netty-based plugin, the pattern should be:

  • bind in #register with the server channel set to disable auto-read
  • enable auto-read in #run once the plugin has a reference to the queue writer

Relates: elastic/logstash#18711

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions