You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Zachary Houfek (Jira)" <ji...@apache.org> on 2021/05/06 13:11:00 UTC
[jira] [Created] (BEAM-12297) PubsubIO support for reading protos
from schema
Zachary Houfek created BEAM-12297:
-------------------------------------
Summary: PubsubIO support for reading protos from schema
Key: BEAM-12297
URL: https://issues.apache.org/jira/browse/BEAM-12297
Project: Beam
Issue Type: New Feature
Components: io-java-gcp
Reporter: Zachary Houfek
We're trying to add a Dataflow template for Pubsub -> BigQuery where the Pubsub topic contains serialized proto data. This is similar to our existing template for Pubsub -> BigQuery using Avro.
However, it seems the PubsubIO currently only supports protos where the class is known.[1] We'll need something similar to the generic Avro reader[2].
[1] [https://github.com/apache/beam/blob/243128a8fc52798e1b58b0cf1a271d95ee7aa241/sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/pubsub/PubsubIO.java#L478]
[2] [https://github.com/apache/beam/blob/243128a8fc52798e1b58b0cf1a271d95ee7aa241/sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/pubsub/PubsubIO.java#L515]
--
This message was sent by Atlassian Jira
(v8.3.4#803005)