Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Pubsub Schema creation from .avsc file

  1. Can we maintain schema registry for Pubsub in GCS ? If possible please share example or documentation link for Google Config Connector and terraform.

    Can we put our .avsc files which describe Pubsub schema in Cloud storage buckets and refer them while creating Punsub schema ?

    I went through documentation and it looks like that we have a attribute "definition-file" when we try to do it using gcloud command .

    1) Gcloud Command Link : https://cloud.google.com/pubsub/docs/schemas#gcloud_1
    2) Config Connector Link : https://github.com/GoogleCloudPlatform/k8s-config-connector/blob/master/crds/pubsub_v1beta1_pubsubsc...
    https://cloud.google.com/config-connector/docs/reference/resource-docs/pubsub/pubsubschema
    3) Terraform Link : https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/pubsub_topic.html#nes...
     
3 9 895
9 REPLIES 9