Cloud PubSub Multi-Team Design

Поделиться
HTML-код
  • Опубликовано: 10 сен 2024

Комментарии • 10

  • @TheKielar
    @TheKielar Год назад +2

    What I love about your videos is that you have real world use cases. Usually when someone presents a topic, it either requires deep knowledge to understand or the example is a way too simple. It's never the case for your videos and you perfectly balance the two. Can't wait for new content! Cheers!

    • @practicalgcp2780
      @practicalgcp2780  Год назад +2

      I am glad you feel this way Lukasz, I think this is what makes these videos more useful in the real world. There are many ways to solve problems, but a good design / bad design only applies in a specific context, and I felt it’s always important to explain the granular detail on the why and by presenting real world problems and solutions. And thanks so much for the kind words. 🙏

    • @sitimahmudah8536
      @sitimahmudah8536 Год назад +2

      100% this, awesome videos!

  • @user-ye1fu1rz5c
    @user-ye1fu1rz5c 10 месяцев назад

    hi, how do you have your subscriber trigger any cloud run/function, astro etc? Because only topics trigger cloud functions, not subcribers.

    • @practicalgcp2780
      @practicalgcp2780  10 месяцев назад

      This is how you can do it cloud.google.com/run/docs/triggering/pubsub-push it’s via the https endpoint of the cloud run / cloud function

    • @raghukpara7907
      @raghukpara7907 10 месяцев назад

      @@practicalgcp2780thank you. Another quick question pls - cross project terraform is creating a problem. So how do we exactly create or test create a subscription for the topic on another project. We wanna test this before we can involve other teams. Google console on sandbox works but terraform is failing saying user doesn’t have permission. We tried to create subscription in the terraform for project that already has the topic and passed the project id as a different project. Pls explain thank you.

    • @raghukpara7907
      @raghukpara7907 10 месяцев назад +1

      And apparently it’s the same service account we use - we’re actually testing between sandbox and dev. By the way I’m the same user originally asked in this thread just shows a different username thanks

    • @practicalgcp2780
      @practicalgcp2780  10 месяцев назад

      @@raghukpara7907just make sure you create the subscription on the consumer project not where the topic lives. Or you can break operational boundaries

    • @raghukpara7907
      @raghukpara7907 10 месяцев назад

      Is there a terraform code for that to be created on the project where topic doesn’t reside in. Any git link?