faust.stores.aerospike
¶
Aerospike storage.
- class faust.stores.aerospike.AeroSpikeStore(url: Union[str, URL], app: AppT, table: CollectionT, options: Optional[Mapping[str, Any]] = None, **kwargs: Any)[source]¶
Aerospike table storage.
- BIN_KEY = 'value_key'¶
- static get_aerospike_client(aerospike_config: Dict[Any, Any]) Client [source]¶
Try to get Aerospike client instance.
- Return type:
- logger: logging.Logger = <Logger faust.stores.aerospike (WARNING)>¶
- reset_state() None [source]¶
Remove system state.
This does nothing when using the Aerospike store.
- Return type:
None
- persisted_offset(tp: TP) Optional[int] [source]¶
Return the persisted offset.
This always returns
None
when using the aerospike store.- Return type:
_UnionGenericAlias
[int
,None
]
- aerospike_fun_call_with_retry(fun, *args, **kwargs)[source]¶
Call function and retry until Aerospike throws exception.