Convert sink components to use typetag
#16702
Labels
domain: sinks
Anything related to the Vector's sinks
type: tech debt
A code change that does not add user value.
This is follow-up work to converting the transforms to use
typetag
. The required steps (for sinks) are:SinkOuter.inner
field from theSinks
enum to aBox<dyn SinkConfig>
.Configurable
forBox<dyn SinkConfig>
.typetag
macro wrapper totrait SinkConfig
.typetag
macro wrapper to allimpl SinkConfig for …
blocks.enum Sinks
into the individual component config struct'sconfigurable_component
macro.Once both sources and sinks are done, there is some bits in the config macros that can be cleaned up, in particular in
fn TypedComponent::get_component_desc_registration
.The text was updated successfully, but these errors were encountered: