Skip to content

ExchangeType

faststream.rabbit.shared.constants.ExchangeType #

Bases: str, Enum

A class to represent the exchange type.

Note

The above docstring is autogenerated by docstring-gen library (https://docstring-gen.airt.ai)

DIRECT class-attribute instance-attribute #

DIRECT = 'direct'

FANOUT class-attribute instance-attribute #

FANOUT = 'fanout'

HEADERS class-attribute instance-attribute #

HEADERS = 'headers'

TOPIC class-attribute instance-attribute #

TOPIC = 'topic'

X_CONSISTENT_HASH class-attribute instance-attribute #

X_CONSISTENT_HASH = 'x-consistent-hash'

X_DELAYED_MESSAGE class-attribute instance-attribute #

X_DELAYED_MESSAGE = 'x-delayed-message'

X_MODULUS_HASH class-attribute instance-attribute #

X_MODULUS_HASH = 'x-modulus-hash'

Last update: 2023-11-13