You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm publishing to a subject using go and reading from the subject using python. Although I'm acknowledging messages using python after processing the messages are not removed from the queue and I'm reprocessing them again and again.
# Subscribe to streamsub=awaitjs.subscribe("mystream.jobs", "workers")
whileTrue:
# Get the next messagemsg=awaitsub.next_msg(timeout=60)
# ... do some processing ...# Acknowledge messageawaitmsg.ack()
Am I doing something wrong? Is there something I don't understand?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm publishing to a subject using go and reading from the subject using python. Although I'm acknowledging messages using python after processing the messages are not removed from the queue and I'm reprocessing them again and again.
Am I doing something wrong? Is there something I don't understand?
Beta Was this translation helpful? Give feedback.
All reactions