chore: add sink prelude (#17595)
Generally our stream based sinks will share a lot of imports. This adds a `crate::sinks::prelude` module that can be imported to bring in the commonly used imports. The advantage is not only reducing the size of our imports and making it easier to maintain (often changes to the framework result in having to change the imports of all the sinks modules which is tedious) but it also encourages and guides using the shared components available. This also updates the following sinks to use the prelude: - amqp - kafka - aws_kinesis - loki - pulsar --------- Signed-off-by: Stephen Wakely <fungus.humungus@gmail.com>
S
Stephen Wakely committed
da939ca645e49cd02cbd739cddcdfe00dcb88a55
Parent: a164952
Committed by GitHub <noreply@github.com>
on 6/5/2023, 2:27:39 PM