faust.types.stores

class faust.types.stores.StoreT(url: Union[str, yarl.URL], app: faust.types.stores.AppT, table: faust.types.stores.CollectionT, *, table_name: str = '', key_type: faust.types.stores.ModelArg = None, value_type: faust.types.stores.ModelArg = None, key_serializer: Union[faust.types.codecs.CodecT, str, None] = '', value_serializer: Union[faust.types.codecs.CodecT, str, None] = '', **kwargs) → None[source]
persisted_offset(tp: faust.types.tuples.TP) → Optional[int][source]
Return type:Optional[int]
set_persisted_offset(tp: faust.types.tuples.TP, offset: int) → None[source]
Return type:None
apply_changelog_batch(batch: Iterable[faust.types.events.EventT], to_key: Callable[Any, KT], to_value: Callable[Any, VT]) → None[source]
Return type:None
reset_state() → None[source]
Return type:None
coroutine need_active_standby_for(self, tp: faust.types.tuples.TP) → bool[source]
Return type:bool
coroutine on_rebalance(self, table: faust.types.stores.CollectionT, assigned: Set[faust.types.tuples.TP], revoked: Set[faust.types.tuples.TP], newly_assigned: Set[faust.types.tuples.TP]) → None[source]
Return type:None
coroutine on_recovery_completed(self, active_tps: Set[faust.types.tuples.TP], standby_tps: Set[faust.types.tuples.TP]) → None[source]
Return type:None