enhancement(socket sink): Integrate `encoding::Encoder` with `socket` sink (#10684)
* Remove `deny_unknown_fields` that create conflicting requirements with `flatten` Signed-off-by: Pablo Sichert <mail@pablosichert.com> * Integrate `encoding::Encoder` with `socket` sink Signed-off-by: Pablo Sichert <mail@pablosichert.com> * Propagate `Encoder` down to socket implementations to avoid cloning/borrowing Signed-off-by: Pablo Sichert <mail@pablosichert.com> * Make encoder in socket sinks generic such that other sinks can build on top of it Signed-off-by: Pablo Sichert <mail@pablosichert.com> * Fix component features Signed-off-by: Pablo Sichert <mail@pablosichert.com> * Add criterion bench to compare `vector::sinks::util::encode_log` with `vector::codecs::Encoder::encode` Signed-off-by: Pablo Sichert <mail@pablosichert.com> * Default to `BytesEncoder` for message-based socket sinks Signed-off-by: Pablo Sichert <mail@pablosichert.com> * Fix component features Signed-off-by: Pablo Sichert <mail@pablosichert.com>
P
Pablo Sichert committed
d8f74c4e1fef1664199f3d86ea4e56d2737a53c1
Parent: 2871f24
Committed by GitHub <noreply@github.com>
on 4/14/2022, 9:57:07 PM