userver: YDB
Loading...
Searching...
No Matches
YDB

Quality: Platinum Tier.

YDB asynchronous driver provides interface to work with Tables, Topics and Coordination Service.

Usage

To use YDB you have to add the component ydb::YdbComponent and configure it according to the documentation. From component you can access required client (ydb::TableClient, ydb::TopicClient, ydb::CoordinationClient).

For writing messages to YDB topics, userver also provides ydb::TopicWriter. It can be constructed directly or obtained from ydb::TopicWriterManager via ydb::TopicWriterComponent.

You may store YQL queries in Embedding SQL/YQL files via userver_add_sql_library.

Examples

Sample YDB usage Sample YDB topic writer usage YDB tests

More information