#include <userver/ydb/topic.hpp>
Settings for TopicProducer.
Public Member Functions | |
| TopicProducerSettings & | CloseTimeout (std::chrono::milliseconds timeout) noexcept |
| Sets the timeout for waiting for buffered message acknowledgments when TopicProducer is destroyed. | |
| std::chrono::milliseconds | GetCloseTimeout () const noexcept |
| Get the graceful close timeout. | |
|
noexcept |
Sets the timeout for waiting for buffered message acknowledgments when TopicProducer is destroyed.
Defaults to 0ms: does not wait for acknowledgments. If the timeout expires, delivery of unacknowledged messages is not guaranteed.