Details
-
Task
-
Status: Patch Available
-
Minor
-
Resolution: Unresolved
-
None
-
None
-
None
Description
The MirrorMaker2 connectors instantiate many closeable resources during start() which must be closed in the corresponding stop() method. If a new resource is created, a code defect may be introduced by not updating the stop() method to close the resource, and leaking that resource after the lifetime of the connector.
We should refactor these connectors in some fashion which makes these defects less likely, and explicitly manage the lifetime of these background resources rather than relying on developer & reviewer due diligence.
Attachments
Issue Links
- links to