userver: ydb::TopicWriteResult Class Reference
Loading...
Searching...
No Matches
ydb::TopicWriteResult Class Reference

#include <userver/ydb/topic_writer_types.hpp>

Detailed Description

Provides the result of the message handling.

Note
Although initially this interface was intended to be awaitable, underlying YDB driver doesn't support waiting for result without enabled deduplication.

Definition at line 49 of file topic_writer_types.hpp.

Public Member Functions

 TopicWriteResult (TopicWriteStatus status)
 Constructs a write result.
 
TopicWriteStatus GetStatus () const
 

Constructor & Destructor Documentation

◆ TopicWriteResult()

ydb::TopicWriteResult::TopicWriteResult ( TopicWriteStatus status)
explicit

Constructs a write result.

Parameters
statusthe status of the write operation

Member Function Documentation

◆ GetStatus()

TopicWriteStatus ydb::TopicWriteResult::GetStatus ( ) const
inline

Status of whether the message has been accepted for handling by the library. Note that this status does not reflect the result of the message processing by YDB itself.

Definition at line 70 of file topic_writer_types.hpp.


The documentation for this class was generated from the following file: