-
Notifications
You must be signed in to change notification settings - Fork 25.6k
[ML] Refactor stream metrics #125092
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
[ML] Refactor stream metrics #125092
Conversation
Remove the use of DelegatingProcessor and replace it with an inline processor.
|
Pinging @elastic/ml-core (Team:ML) |
| String localNodeId, | ||
| Flow.Processor<T, T> upstream | ||
| ) { | ||
| return downstream -> { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Publisher has a single method subscribe, so when our downstream calls subscribe we will forward it to the upstream.subscribe, tying the upstream and downstream together with this function
💔 Backport failed
You can use sqren/backport to manually backport by running |
Remove the use of DelegatingProcessor and replace it with an inline processor.
Remove the use of DelegatingProcessor and replace it with an inline processor.
Remove the use of DelegatingProcessor and replace it with an inline processor.
Remove the use of DelegatingProcessor and replace it with an inline processor.
Verified that metrics still publish: