Class ChannelDescriptor

Class Documentation

class ChannelDescriptor

A description of a channel. This will be constructed by the SDK and passed to an implementation of a SinkChannelFilterFn.

Public Functions

const std::string_view topic() const noexcept

Get the topic of the channel descriptor.

const std::string_view message_encoding() const noexcept

Get the message encoding of the channel descriptor.

const std::optional<std::map<std::string, std::string>> metadata() const noexcept

Get the metadata for the channel descriptor.

const std::optional<Schema> schema() const noexcept

Get the schema of the channel descriptor.