aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoralexbogo <alexbogo@ydb.tech>2022-08-19 13:10:09 +0300
committeralexbogo <alexbogo@ydb.tech>2022-08-19 13:10:09 +0300
commit36af596cd430a979838e9e66aad25ea0b380838f (patch)
treeb4ba8f92415704ce7b7ac35bb14d04c8209d35cb
parent03973a7bbef63b11054496d81516375c437f1202 (diff)
downloadydb-36af596cd430a979838e9e66aad25ea0b380838f.tar.gz
[mirrorer] use aync discovery in persqueue client
init
-rw-r--r--ydb/core/persqueue/actor_persqueue_client_iface.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ydb/core/persqueue/actor_persqueue_client_iface.h b/ydb/core/persqueue/actor_persqueue_client_iface.h
index 2588e1ec3e..29478c4de0 100644
--- a/ydb/core/persqueue/actor_persqueue_client_iface.h
+++ b/ydb/core/persqueue/actor_persqueue_client_iface.h
@@ -81,6 +81,7 @@ public:
) const override {
NYdb::NPersQueue::TPersQueueClientSettings clientSettings = NYdb::NPersQueue::TPersQueueClientSettings()
.DiscoveryEndpoint(TStringBuilder() << config.GetEndpoint() << ":" << config.GetEndpointPort())
+ .DiscoveryMode(NYdb::EDiscoveryMode::Async)
.CredentialsProviderFactory(credentialsProviderFactory)
.EnableSsl(config.GetUseSecureConnection());
if (config.HasDatabase()) {