Google PubSub 是否支持其 Python API 的同步拉取?
Does Google PubSub support synchronous pull for its Python API?
我阅读的文档仅涵盖异步拉取 - 我想验证这是 Python API.
的唯一选项
Cloud Pub/Sub client library only support asynchronous subscribing, which is the recommended way to run a subscriber. For specific use cases where a synchronous pull is needed, use the REST/HTTP pull method or the gRPC pull method, which requires generating the service code。
我阅读的文档仅涵盖异步拉取 - 我想验证这是 Python API.
的唯一选项Cloud Pub/Sub client library only support asynchronous subscribing, which is the recommended way to run a subscriber. For specific use cases where a synchronous pull is needed, use the REST/HTTP pull method or the gRPC pull method, which requires generating the service code。