spring boot pubsub example || Google Pub/Sub Produce with Spring boot || Example from scratch

แชร์
ฝัง
  • เผยแพร่เมื่อ 15 ก.ย. 2024
  • Simple Example project on how to produce the message to Google Cloud PubSub.
    This example focus on Producing the message to Pub Sub. Explanation has a flow chart for better understanding on the design.
    git: github.com/ama...

ความคิดเห็น • 18

  • @mohammadaslam3939
    @mohammadaslam3939 ปีที่แล้ว +1

    I wasn't aware we can define bean inside component. Thanks

    • @Prasoonvarshney16
      @Prasoonvarshney16 ปีที่แล้ว +1

      for that you have to make your class configurable

  • @MrEnjoyingtoday
    @MrEnjoyingtoday ปีที่แล้ว +1

    Informative Video!!! Thank you!

  • @JosephGrech90
    @JosephGrech90 ปีที่แล้ว

    I've been having some trouble setting up an application capable of publishing to multiple PubSub projects. I tried all the Google-suggested "environment" properties. Do you happen to have a working example of this?

  • @udaykiran3746
    @udaykiran3746 ปีที่แล้ว +1

    Hey i am facing permission denied the caller don’t have permission to publish error. could anyone help me with this

    • @anbuzhobbiez
      @anbuzhobbiez  ปีที่แล้ว

      Check your service account for the required access to publish to topic

  • @AbishekYL
    @AbishekYL ปีที่แล้ว

    sorry, i dont understand. finally the message is being pulled by subscriber or pushed from the publisher?

    • @anbuzhobbiez
      @anbuzhobbiez  ปีที่แล้ว

      The message will be pushed by the publisher into the topic and all the subscribers to the topic will receive the message copy.

  • @lakshmipravallika8827
    @lakshmipravallika8827 ปีที่แล้ว

    What if there is an error while publishing and we have to send the error response from our controller to the client? Could you please explain how to handle
    this?

    • @anbuzhobbiez
      @anbuzhobbiez  ปีที่แล้ว

      This is common error handling. When there's error send different response to client.

  • @bhuvanncc
    @bhuvanncc ปีที่แล้ว +1

    Can we have the diagram link?
    I could not see that in git

    • @anbuzhobbiez
      @anbuzhobbiez  ปีที่แล้ว

      I don't have that handy. If available, will put it in git and share it with you.

  • @AshishKumar-lc8lt
    @AshishKumar-lc8lt ปีที่แล้ว +1

    you should add more details about how to set pub-sub subcription , key n all. Thanks

    • @anbuzhobbiez
      @anbuzhobbiez  ปีที่แล้ว

      It is in my previous video. Let me know if that covers what you want.

    • @rmendezsve
      @rmendezsve ปีที่แล้ว

      @@anbuzhobbiez Where's your previous video? I can't find it

    • @anbuzhobbiez
      @anbuzhobbiez  ปีที่แล้ว

      th-cam.com/video/SwQO8nQshvg/w-d-xo.html

    • @logeshwarankannan6678
      @logeshwarankannan6678 ปีที่แล้ว +1

      Yes you can create a seperate playlist if possible it will be helpful, Thank you.!