From b01fb02969eefebe6d84d6a13a54401f0b9d0ddc Mon Sep 17 00:00:00 2001 From: Pavlos Rontidis Date: Thu, 30 Nov 2023 20:42:07 +0200 Subject: [PATCH] restrict to Log --- lib/codecs/src/encoding/format/protobuf.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/codecs/src/encoding/format/protobuf.rs b/lib/codecs/src/encoding/format/protobuf.rs index 174bf3727e624..6c0fe8eae9e5e 100644 --- a/lib/codecs/src/encoding/format/protobuf.rs +++ b/lib/codecs/src/encoding/format/protobuf.rs @@ -31,7 +31,7 @@ impl ProtobufSerializerConfig { /// The data type of events that are accepted by `ProtobufSerializer`. pub fn input_type(&self) -> DataType { - DataType::all() + DataType::Log } /// The schema required by the serializer. @@ -252,7 +252,7 @@ mod tests { message_type: "test_protobuf.Person".into(), }, }; - assert_eq!(config.input_type(), DataType::all()); + assert_eq!(config.input_type(), DataType::Log); } #[test]