module Redis::Commands::Streams

def xack(key, group, *ids)

Returns:
  • (Integer) - the number of entries successfully acknowledged

Parameters:
  • ids (Array) -- one or multiple entry ids
  • group (String) -- the consumer group name
  • key (String) -- the stream key

Other tags:
    Example: With arrayed entry ids -
    Example: With splatted entry ids -
    Example: With a entry id -
def xack(key, group, *ids)
  args = [:xack, key, group].concat(ids.flatten)
  send_command(args)
end