Bill Neubauer created BEAM-4424:
-----------------------------------
Summary: Improvements to hooks module
Key: BEAM-4424
URL: https://issues.apache.org/jira/browse/BEAM-4424
Project: Beam
Issue Type: Improvement
Components: sdk-go
Affects Versions: Not applicable
Reporter: Bill Neubauer
Assignee: Bill Neubauer
Proposed improvements to the Go hooks API:
Execution order of the hooks should be based on the order in which the hook is
enabled. This gives the runner precise control over ordering so dependencies on
hooked behavior can be well-managed.
Provide an API to disable a hook. Disabling a hook removes it from the ordered
list. If the same hook is later re-Enabled, it has lost its previous ordering
and would be placed at the end of the ordered list.
The invocation of setupRemoteLogging() in harness.Main() will be replaced by a
hook.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)