Prechádzať zdrojové kódy

fix(kinesis): partition_key should be of 'template' type

zmstone 1 rok pred
rodič
commit
47df968d4a

+ 1 - 1
apps/emqx_bridge_kinesis/src/emqx_bridge_kinesis.erl

@@ -166,7 +166,7 @@ fields(producer) ->
             )},
             )},
         {partition_key,
         {partition_key,
             sc(
             sc(
-                binary(),
+                emqx_schema:template(),
                 #{
                 #{
                     required => true,
                     required => true,
                     desc => ?DESC("partition_key")
                     desc => ?DESC("partition_key")