mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-07-16 16:51:02 +02:00
Acknowledge messaages from Pulsar, doh!
This commit is contained in:
parent
340d7a224f
commit
c83bbe173e
1 changed files with 3 additions and 0 deletions
|
|
@ -156,6 +156,9 @@ class Subscriber:
|
|||
while True:
|
||||
msg = await consumer.receive()
|
||||
|
||||
# Acknowledge successful reception of the message
|
||||
await consumer.acknowledge(msg)
|
||||
|
||||
try:
|
||||
id = msg.properties()["id"]
|
||||
except:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue