简体   繁体   中英

Invalid schema definition: Could not parse schema when creating PubSub subscription

I would like to create a subscription with a delivery type "Write to BigQuery" and Use Topic schema and Write metadata options. So i created Topic with following protobuf schema: 在此处输入图像描述

and a BigQuery table with additional columns for metadata specified in the docs .

在此处输入图像描述

When i try to create subscription with both Use Write Metadata and Use Topic schema options enabled, i get the following error:

API returned error: "Invalid schema definition: Could not parse schema."

Using just Write Metadata or just Use Topic schema works fine and i am able to create subscription and receive msgs

This appears to be an internal issue with how some nested records are processed. Please follow https://issuetracker.google.com/issues/267444753 for the investigation and fix.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM