Skip to content

Commit

Permalink
feat: allow format plain encode bytes for Nats connector (#15806)
Browse files Browse the repository at this point in the history
Signed-off-by: tabVersion <[email protected]>
  • Loading branch information
tabVersion authored Mar 20, 2024
1 parent 0188945 commit ab5b7bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/frontend/src/handler/create_source.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1012,7 +1012,7 @@ static CONNECTORS_COMPATIBLE_FORMATS: LazyLock<HashMap<String, HashMap<Format, V
Format::DebeziumMongo => vec![Encode::Json],
),
NATS_CONNECTOR => hashmap!(
Format::Plain => vec![Encode::Json, Encode::Protobuf],
Format::Plain => vec![Encode::Json, Encode::Protobuf, Encode::Bytes],
),
MQTT_CONNECTOR => hashmap!(
Format::Plain => vec![Encode::Json, Encode::Bytes],
Expand Down

0 comments on commit ab5b7bc

Please sign in to comment.