userver: kafka::SendException Class Reference
Loading...
Searching...
No Matches
kafka::SendException Class Reference

#include <userver/kafka/exceptions.hpp>

Detailed Description

Base exception thrown by Producer::Send and Producer::SendAsync on send or delivery errors.

Examples
samples/kafka_service/src/produce.cpp.

Definition at line 11 of file exceptions.hpp.

+ Inheritance diagram for kafka::SendException:

Public Member Functions

bool IsRetryable () const noexcept
 Returns whether it makes sense to retry failed send.
 

Protected Member Functions

 SendException (const char *what, bool is_retryable)
 

Member Function Documentation

◆ IsRetryable()

bool kafka::SendException::IsRetryable ( ) const
noexcept

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