risingwave_connector

Macro dispatch_sink_formatter_impl

source
macro_rules! dispatch_sink_formatter_impl {
    ($impl:expr, $name:ident, $body:expr) => { ... };
}
Expand description

Macro to dispatch formatting implementation for all supported sink formatter types. Used when the message key can be either bytes or string.

Takes a formatter implementation ($impl), binds it to a name ($name), and executes the provided code block ($body) with that binding.