YDB Topic writer interface and implementation.
Definition in file topic_writer.hpp.
Go to the source code of this file.
#include <memory>#include <optional>#include <string>#include <unordered_map>#include <vector>#include <userver/compiler/impl/lifetime.hpp>#include <userver/utils/impl/transparent_hash.hpp>#include <userver/utils/statistics/fwd.hpp>#include <userver/ydb/topic.hpp>#include <userver/ydb/topic_writer_types.hpp>Classes | |
| struct | ydb::TopicWriterSettings |
| Settings for TopicWriter. More... | |
| class | ydb::TopicWriterBase |
| Base interface for writing messages to a YDB topic. More... | |
| class | ydb::TopicWriter |
| Takes messages provided by the user and sends them to a YDB topic. More... | |
| class | ydb::TopicWriterManager |
| Manages a collection of named YDB topic writers. More... | |
Functions | |
| void | ydb::DumpMetric (utils::statistics::Writer &writer, const TopicWriterManager &manager) |
| Dumps aggregated metrics for all topic writers into the statistics writer. | |
| void | ydb::DumpMetric (utils::statistics::Writer &writer, const TopicWriter &topic_writer) |
| Dumps metrics for a TopicWriter into the statistics writer. | |
| void ydb::DumpMetric | ( | utils::statistics::Writer & | writer, |
| const TopicWriter & | topic_writer ) |
Dumps metrics for a TopicWriter into the statistics writer.
| writer | statistics writer to dump into |
| topic_writer | the topic writer whose metrics to dump |
| void ydb::DumpMetric | ( | utils::statistics::Writer & | writer, |
| const TopicWriterManager & | manager ) |
Dumps aggregated metrics for all topic writers into the statistics writer.
| writer | statistics writer to dump into |
| manager | the topic writer manager whose metrics to dump |