Google pubsub到Google云存储 [英] Google pubsub to Google cloud storage
问题描述
云存储中的存储桶是否有可能从pubSub接收数据/消息?如果是,那怎么办?
目前,我正在将消息发布到pubsub 并且我想使用请求传递类型(为此,我必须提供存储桶的端点URL,而我在任何地方都找不到)
我发现了这个在文档中的某个位置
但这没用.
不,抱歉. GCS仅接受通过HTTP上传完整文件的信息.您可以构建一个小型应用程序,以接收传入的发布/订阅消息并将其作为单独的GCS对象上载,或者将它们分为消息组然后将其上载到GCS,但是没有此类内置功能.</p>
我可以问更多有关您的用例的问题吗?你想做什么?
Is it possible for a bucket in cloud storage to receive data/messages from pubSub? if yes then how??
Currently i am publishing messages to pubsub and i want to use pull delivery type (for that i have to provide endpoint URL for the bucket, which i couldn't find anywhere)
I found this somewhere in there docs
But it didn't work.
No, sorry. GCS only accepts uploads of complete files via HTTP. You could build a small app that took incoming Pub/Sub messages and uploading them as separate GCS objects or batch them into groups of messages and upload those to GCS, but there's no such built-in functionality.
Can I ask you more about your use case? What are you trying to do?
这篇关于Google pubsub到Google云存储的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!