apache/beam

Python DirectRunner _PubSubReadEvaluator creates new client per bundle

开放

#19,712 创建于 2022年6月4日

 (0 条评论) (0 个反应) (0 位负责人)Java (4,097 个派生)batch import
P3bugcoregood first issuepython

仓库指标

星标
 (7,313 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

Lots of credential fetches. Similar to https://issues.apache.org/jira/browse/BEAM-2264 but in this case the DirectRunner implementation seems to be creating a new client for each bundle: https://github.com/apache/beam/blob/d5d7a7b7d0408d8435031e7bfce1abe2227115f5/sdks/python/apache_beam/runners/direct/transform_evaluator.py#L474

From: https://stackoverflow.com/questions/57010426/dataflow-access-to-pubsub-access-tokens

Imported from Jira BEAM-7763. Original Jira may contain additional context. Reported by: udim.

贡献者指南