Skip to content

ChannelBinding

faststream.specification.schema.bindings.kafka.ChannelBinding dataclass #

ChannelBinding(topic, partitions, replicas)

A class to represent a channel binding.

ATTRIBUTE DESCRIPTION
topic

optional string representing the topic

partitions

optional positive integer representing the number of partitions

replicas

optional positive integer representing the number of replicas

topic instance-attribute #

topic

partitions instance-attribute #

partitions

replicas instance-attribute #

replicas