feat(kafka): support Kafka MQ admin client
This commit is contained in:
1 parent
3e7cf30ce5
commit
7cec4892bf
43 files changed
+4281
-186
No files matched your search
@@ -1018,7 +1018,8 @@ impl AppState {
|
||||
// connectivity via the mq_registry and insert a marker so this
|
||||
// connection_id is recognized as valid.
|
||||
let mqc = self.mq_admin_config_for_connection(connection_id, &config).await?;
|
||||
let adapter = self.mq_registry.build_transient_config(mqc).await?;
|
||||
let kafka_launch = crate::mq::service::resolve_kafka_launch_spec(&mqc, self);
|
||||
let adapter = self.mq_registry.build_transient_config(mqc, kafka_launch).await?;
|
||||
adapter.test_connection().await?;
|
||||
PoolKind::MessageQueue
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user