Skip to content

ChannelBinding

faststream.asyncapi.schema.bindings.kafka.ChannelBinding #

Bases: BaseModel

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

bindingVersion

string representing the binding version

topic class-attribute instance-attribute #

topic = None

partitions class-attribute instance-attribute #

partitions = None

replicas class-attribute instance-attribute #

replicas = None

bindingVersion class-attribute instance-attribute #

bindingVersion = '0.4.0'