KafkaSubscriberSpecification
faststream.confluent.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
34 35 36 37 38 39 40 41 | |
topics property #
topics: list[str]
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]
Source code in faststream/confluent/subscriber/specification.py
33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 | |
get_payloads #
get_payloads() -> list[tuple[dict[str, Any], str]]
Source code in faststream/_internal/endpoint/subscriber/specification.py
62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 | |