Skip to content

Commit

Permalink
restrict to Log
Browse files Browse the repository at this point in the history
  • Loading branch information
pront committed Nov 30, 2023
1 parent b9922e3 commit f7ca56e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/codecs/src/encoding/format/protobuf.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -251,7 +251,7 @@ mod tests {
message_type: "test_protobuf.Person".into(),
},
};
assert_eq!(config.input_type(), DataType::all());
assert_eq!(config.input_type(), DataType::Log);
}

#[test]
Expand Down

0 comments on commit f7ca56e

Please sign in to comment.