data-prepper icon indicating copy to clipboard operation
data-prepper copied to clipboard

Support to remove peers from peer client poll as they exit

Open asifsmohammed opened this issue 2 years ago • 1 comments

Is your feature request related to a problem? Please describe. Core peer forwarder currently stores all the peers in a map as they are made available but it does not remove from the map as they exit.

Describe the solution you'd like Clean up the resources in shutdown call of PeerForwardingProcessorDecorator.

Additional context This is the same behavior even in the peer forwarder plugin here.

There is an existing TODO in peer forwarder plugin to do it.

asifsmohammed avatar Aug 16 '22 17:08 asifsmohammed

We can handle this after releasing 2.0.

dlvenable avatar Oct 05 '22 00:10 dlvenable