faust.transport.conductor
¶
The conductor delegates messages from the consumer to the streams.
-
class
faust.transport.conductor.
Conductor
(app: faust.types.app.AppT, **kwargs) → None[source]¶ Manages the channels that subscribe to topics.
- Consumes messages from topic using a single consumer.
- Forwards messages to all channels subscribing to a topic.
-
logger
= <Logger faust.transport.conductor (WARNING)>¶
-
coroutine
commit
(self, topics: AbstractSet[Union[str, faust.types.tuples.TP]]) → bool[source]¶ Return type: bool
-
coroutine
on_partitions_assigned
(self, assigned: Set[faust.types.tuples.TP]) → None[source]¶ Return type: None
-
coroutine
on_partitions_revoked
(self, revoked: Set[faust.types.tuples.TP]) → None[source]¶ Return type: None