10#include <ydb-cpp-sdk/client/topic/client.h>
12USERVER_NAMESPACE_BEGIN
29class TopicReadSession
final {
33 explicit TopicReadSession(std::shared_ptr<NYdb::NTopic::IReadSession> read_session);
47 bool Close(std::chrono::milliseconds timeout);
56 std::shared_ptr<NYdb::NTopic::IReadSession> read_session_;
64class TopicClient
final {
68 TopicClient(std::shared_ptr<impl::Driver> driver, impl::TopicSettings settings);
74 void AlterTopic(
const std::string& path,
const NYdb::NTopic::TAlterTopicSettings& settings);
89 std::shared_ptr<impl::Driver> driver_;
90 NYdb::NTopic::TTopicClient topic_client_;