Skip to content

ServerBinding

faststream.asyncapi.schema.bindings.main.ServerBinding #

Bases: BaseModel

A class to represent server bindings.

ATTRIBUTE DESCRIPTION
amqp

AMQP server binding (optional)

kafka

Kafka server binding (optional)

sqs

SQS server binding (optional)

nats

NATS server binding (optional)

redis

Redis server binding (optional)

amqp class-attribute instance-attribute #

amqp = None

kafka class-attribute instance-attribute #

kafka = None

sqs class-attribute instance-attribute #

sqs = None

nats class-attribute instance-attribute #

nats = None

redis class-attribute instance-attribute #

redis = None

model_config class-attribute instance-attribute #

model_config = {'extra': 'allow'}

Config #

extra class-attribute instance-attribute #

extra = 'allow'