Skip to content

ExchangeType

faststream.rabbit.ExchangeType #

Bases: str, Enum

A class to represent the exchange type.

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'