Update 'GoogleCloud.py'
This commit is contained in:
+1
-8
@@ -63,11 +63,4 @@ for received_message in response.received_messages:
|
|||||||
print(f"Received message: {received_message.message.data}")
|
print(f"Received message: {received_message.message.data}")
|
||||||
|
|
||||||
# Acknowledge the message
|
# Acknowledge the message
|
||||||
subscriber.acknowledge(subscription_path, [received_message.ack_id])
|
subscriber.acknowledge(subscription_path, [received_message.ack_id])
|
||||||
|
|
||||||
|
|
||||||
# In[ ]:
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Reference in New Issue
Block a user