fix(emqx_bridge_azure_event_hub): make ssl mandatory (and give an example)
This commit is contained in:
parent
29683072a1
commit
a89b0c8cf4
|
@ -215,7 +215,13 @@ values({post, connector}) ->
|
||||||
values(common_config),
|
values(common_config),
|
||||||
#{
|
#{
|
||||||
name => <<"my_azure_event_hub_producer_connector">>,
|
name => <<"my_azure_event_hub_producer_connector">>,
|
||||||
type => ?AEH_CONNECTOR_TYPE_BIN
|
type => ?AEH_CONNECTOR_TYPE_BIN,
|
||||||
|
ssl => #{
|
||||||
|
enable => true,
|
||||||
|
server_name_indication => <<"auto">>,
|
||||||
|
verify => <<"verify_none">>,
|
||||||
|
versions => [<<"tlsv1.3">>, <<"tlsv1.2">>]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
values({post, producer}) ->
|
values({post, producer}) ->
|
||||||
|
@ -335,7 +341,13 @@ connector_overrides() ->
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
),
|
),
|
||||||
ssl => mk(ref(ssl_client_opts), #{default => #{<<"enable">> => true}}),
|
ssl => mk(
|
||||||
|
ref(ssl_client_opts),
|
||||||
|
#{
|
||||||
|
required => true,
|
||||||
|
default => #{<<"enable">> => true}
|
||||||
|
}
|
||||||
|
),
|
||||||
type => mk(
|
type => mk(
|
||||||
?AEH_CONNECTOR_TYPE,
|
?AEH_CONNECTOR_TYPE,
|
||||||
#{
|
#{
|
||||||
|
|
Loading…
Reference in New Issue