faust.agents.manager
¶
Agent manager.
- class faust.agents.manager.AgentManager(app: AppT, **kwargs: Any)[source]¶
Agent manager.
- traceback_header: str = '\n=======================================\n TRACEBACK OF ALL RUNNING AGENT ACTORS\n=======================================\n'¶
- traceback_format: str = '\n* {name} ----->\n============================================================\n{traceback}\n\n'¶
- app: _AppT¶
- data: MutableMapping[KT, VT]¶
- async on_rebalance(revoked: Set[TP], newly_assigned: Set[TP]) None [source]¶
Call when a rebalance is needed.
- Return type:
None
- logger: logging.Logger = <Logger faust.agents.manager (WARNING)>¶
- log: CompositeLogger¶
- diag: DiagT¶
- async_exit_stack: AsyncExitStack¶
- exit_stack: ExitStack¶