KafkaSubscriberSpecification
faststream.kafka.subscriber.specification.KafkaSubscriberSpecification #
KafkaSubscriberSpecification(
_outer_config: T_BrokerConfig,
specification_config: T_SpecificationConfig,
calls: CallsCollection[Any],
)
Bases: SubscriberSpecification[KafkaBrokerConfig, KafkaSubscriberSpecificationConfig]
Source code in faststream/_internal/endpoint/subscriber/specification.py
topics property #
The topics this endpoint reads, in the order they were declared.
Deduped through a dict rather than a set: set order varies per process and would reach the document as the order of its channels.
get_schema #
get_schema() -> dict[str, SubscriberSpec]