mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-31 01:57:45 +08:00
feat(drainer): added drainer which reads from redis stream and executes queries on DB (#142)
This commit is contained in:
@ -18,8 +18,12 @@ pub enum RedisError {
|
||||
StreamAppendFailed,
|
||||
#[error("Failed to read entries from Redis stream")]
|
||||
StreamReadFailed,
|
||||
#[error("Failed to get stream length")]
|
||||
GetLengthFailed,
|
||||
#[error("Failed to delete entries from Redis stream")]
|
||||
StreamDeleteFailed,
|
||||
#[error("Failed to trim entries from Redis stream")]
|
||||
StreamTrimFailed,
|
||||
#[error("Failed to acknowledge Redis stream entry")]
|
||||
StreamAcknowledgeFailed,
|
||||
#[error("Failed to create Redis consumer group")]
|
||||
|
||||
Reference in New Issue
Block a user