Fixes https://emqx.atlassian.net/browse/EMQX-9885 The frontend needs the default value to match the duration (binary) type to display correctly.
@@ -1,6 +1,6 @@
{application, emqx_bridge_pulsar, [
{description, "EMQX Pulsar Bridge"},
- {vsn, "0.1.1"},
+ {vsn, "0.1.2"},
{registered, []},
{applications, [
kernel,
@@ -140,7 +140,7 @@ fields(producer_resource_opts) ->
lists:filtermap(
fun
({health_check_interval = Field, MetaFn}) ->
- {true, {Field, override_default(MetaFn, 1_000)}};
+ {true, {Field, override_default(MetaFn, <<"1s">>)}};
({Field, _Meta}) ->
lists:member(Field, SupportedOpts)
end,