-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
[ASCII-1081] Remove Stop method from demultiplexer interface #22069
Changes from 5 commits
156410b
3d82b62
cb5e160
da4513a
5499155
bc8bc81
bb6d51a
c6fc678
f775c5f
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,12 +24,6 @@ import ( | |
type Demultiplexer interface { | ||
// General | ||
// -- | ||
|
||
// Run runs all demultiplexer parts | ||
Run() | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Was the There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
// Stop stops the demultiplexer. | ||
// Resources are released, the instance should not be used after a call to `Stop()`. | ||
Stop(flush bool) | ||
// Serializer returns the serializer used by the Demultiplexer instance. | ||
Serializer() serializer.MetricSerializer | ||
|
||
|
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.
Could it change the order in which the components are stopped, similarly to the bug we had a few months ago ?
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.
Yes, indeed, that is why I added QA instructions and carefully check it is OK to stop the aggregator later.