本文介绍了公开的Google Cloud发布/订阅主题?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想玩 Google Cloud Pub/Sub 并处理.我可以使用Pub/Sub中的任何公共数据供稿来入门吗?

I'd like to play around with Google Cloud Pub/Sub and processing messages in Dataflow. Are there any public data feeds in Pub/Sub that I can use to get started?

在数据流 WordCount 示例中,从文件中读取输入在云存储gs://dataflow-samples/shakespeare/kinglear.txt中.似乎所有项目都可以访问dataflow-samples,这对于入门非常方便. Pub/Sub有类似的东西吗?

In the Dataflow WordCount example, input is read from a file in Cloud Storage, gs://dataflow-samples/shakespeare/kinglear.txt. It seems that dataflow-samples is accessible to all projects, which is very convenient for getting started. Is there anything similar for Pub/Sub?

推荐答案

当前,Google将该公共主题 projects/pubsub-public-data/topics/taxirides-realtime 保留为Cloud Dataflow的一部分代码实验室.

Currently, Google maintains this public topic projects/pubsub-public-data/topics/taxirides-realtime as part of a Cloud Dataflow code lab.

您可以在此处中找到有关使用方法的更多信息.

You can find more information on how to use it here.

此外,您可以将Dataflow与BigQuery结合使用. Google提供了这种全面的公共数据集.

Additionally, you can use Dataflow with BigQuery. Google provides this comprehensive set of public data.

这篇关于公开的Google Cloud发布/订阅主题?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-22 23:32