Skip to content
Snippets Groups Projects
Commit 9bb510d4 authored by Sergey Yakubov's avatar Sergey Yakubov
Browse files

set default delay

parent 5377fa8e
No related branches found
No related tags found
No related merge requests found
......@@ -229,7 +229,7 @@ cdef class PyConsumer:
err = self.c_consumer.get().Acknowledge(b_group_id,id,b_stream)
if err:
throw_exception(err)
def neg_acknowledge(self, group_id, uint64_t id, uint64_t delay_ms, stream = "default"):
def neg_acknowledge(self, group_id, uint64_t id, uint64_t delay_ms = 0, stream = "default"):
cdef string b_group_id = _bytes(group_id)
cdef string b_stream = _bytes(stream)
cdef Error err
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment