Google pubsub to Google cloud storage

↘锁芯ラ 提交于 2019-12-12 03:04:58

问题


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.


回答1:


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?



来源:https://stackoverflow.com/questions/40547444/google-pubsub-to-google-cloud-storage

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!