Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RedisStream ¶
type RedisStream struct {
// contains filtered or unexported fields
}
RedisStream implements Redis Streams
func NewRedisStream ¶
func NewRedisStream(config *redis.Options, name, step string) (*RedisStream, error)
NewRedisStream implements a new RedisStream instance
func (*RedisStream) Push ¶
func (r *RedisStream) Push(record interface{}, shard *types.Shard) error
Push will push a record to the stream
func (*RedisStream) Read ¶
func (r *RedisStream) Read(options *types.ReadOptions, channel types.Channel)
Read starts to read from ConsumerCount at rate of BatchSize
Click to show internal directories.
Click to hide internal directories.