fix: issues with the RabbitMQ config
This commit is contained in:
parent
08af90daa9
commit
41f5eff014
|
@ -95,7 +95,7 @@ fields("config") ->
|
|||
fields("creation_opts") ->
|
||||
emqx_resource_schema:fields("creation_opts");
|
||||
fields("post") ->
|
||||
fields("post", clickhouse);
|
||||
fields("post", rabbitmq);
|
||||
fields("put") ->
|
||||
fields("config");
|
||||
fields("get") ->
|
||||
|
|
|
@ -72,14 +72,7 @@ fields(config) ->
|
|||
desc => ?DESC("username")
|
||||
}
|
||||
)},
|
||||
{password,
|
||||
hoconsc:mk(
|
||||
typerefl:binary(),
|
||||
#{
|
||||
required => true,
|
||||
desc => ?DESC("password")
|
||||
}
|
||||
)},
|
||||
{password, fun emqx_connector_schema_lib:password/1},
|
||||
{pool_size,
|
||||
hoconsc:mk(
|
||||
typerefl:pos_integer(),
|
||||
|
@ -129,14 +122,6 @@ fields(config) ->
|
|||
desc => ?DESC("heartbeat")
|
||||
}
|
||||
)},
|
||||
{auto_reconnect,
|
||||
hoconsc:mk(
|
||||
emqx_schema:duration_ms(),
|
||||
#{
|
||||
default => <<"2s">>,
|
||||
desc => ?DESC("auto_reconnect")
|
||||
}
|
||||
)},
|
||||
%% Things related to sending messages to RabbitMQ
|
||||
{exchange,
|
||||
hoconsc:mk(
|
||||
|
|
Loading…
Reference in New Issue