从Google云平台接收数据的C++示例代码

C++ example code of receiving data from Google Cloud Platform

我想找到一个通过 Google 的“云”通过 Google 的 Pub/Sub 接收数据的 C++ 示例。

这里好像不支持C++:

https://github.com/googleapis/google-cloud-cpp/issues/777

这里又是:

但是在 Github 主页上:

https://github.com/googleapis/google-cloud-cpp

它说语言是 90.5% C++。

任何人都可以 help/is 使用 C++ 从 Google 云接收数据吗?

C++ 中的 Cloud Pub/Sub 客户端库最近可用。 Pub/Sub 文档中的代码示例应该都有 C++ 示例,例如 publishing messages and receiving messages.