将数据流pubsub中的流速率调整为bigquery模板

时间:2022-02-09 15:22:58

I want to use the Google-provided template for streaming data from Pubsub to Bigquery, although I want the streaming to be done at 1 row per second. How can I update the streaming speed? Any advice would be appreciated

我想使用谷歌提供的模板将数据从Pubsub传输到Bigquery,尽管我希望流媒体以每秒1行的速度完成。如何更新流媒体速度?任何意见,将不胜感激

1 个解决方案

#1


1  

I don't think you can do that with the template. Only option I see is throttling the rate of messages published to the topic.

我不认为你可以用模板做到这一点。我看到的唯一选项是限制发布到主题的消息的速率。

#1


1  

I don't think you can do that with the template. Only option I see is throttling the rate of messages published to the topic.

我不认为你可以用模板做到这一点。我看到的唯一选项是限制发布到主题的消息的速率。