yoshidan / google-cloud-rust

Google Cloud Client Libraries for Rust.
MIT License
222 stars 80 forks source link

Publishing a message succeeds but causes an error: "failed to notify : id=" #159

Closed julianbraha closed 1 year ago

julianbraha commented 1 year ago

My publisher is successfully publishing messages, and my subscriber is receiving them. But every time a messaged is published, the publisher has an error: "failed to notify : id=". What causes this error?

yoshidan commented 1 year ago

Please show me your code.

julianbraha commented 1 year ago

I've found the problem. After publishing the message, I was not using awaiter.get().await; like in the publishing example. Adding this solved the problem.