spring boot pubsub example || Gooogle Pub/Sub with Spring Boot || Example from scratch

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

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

  • @ridamnagar8918
    @ridamnagar8918 2 месяца назад +1

    Nice explanation and the diagram really helped in understanding the flow.

  • @RavindranathChowdaryYanamadala
    @RavindranathChowdaryYanamadala 3 года назад +3

    Thanks for the diagram, it helps to understand the things more easily.

    • @anbuzhobbiez
      @anbuzhobbiez  3 года назад

      Nice to hear!!!!Keep Supporting!!!!

  • @ashutoshkadam9508
    @ashutoshkadam9508 2 года назад +1

    Nicely explained Thank you for your service

  • @hadisoleimany6271
    @hadisoleimany6271 Год назад +1

    Thanks for the good video, I would like to suggest avoiding background music or a little bit lighter music

  • @brianc8005
    @brianc8005 2 года назад +1

    It’s not bad but whole thing can be done in a much simpler way. You don’t need to set any GCP env variable externally. Instead you can get credentials directly from your json. Also no need for these adapters an channels….

    • @anbuzhobbiez
      @anbuzhobbiez  2 года назад +1

      Got it. Will make it simple in next videos

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

    Great video!! Can you please clarify why there is a need for a Restcontroller? Per my understanding this is backend application to consume messages from Pub/Sub, so do not see the need of web-starter dependency as well as any REST endpoint

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

      Agreed, we don't need web dependency. I thought of showing some rest endpoints which fetch the data. You can skip that.

  • @parthpathak5712
    @parthpathak5712 2 года назад +1

    Hi AnbuZ
    I wanna to know how we integrate spring cloud gcp pub-sub in spring framework!! You have teach us in spring-boot but how to do in spring framework!! How to initialize the bean for Pub-Sub Template!!
    I am little bit stuck into it!!

  • @sholavandan81
    @sholavandan81 3 года назад +1

    Hi Anbu, how did you create the Google Account Credentials JSON file (That you added to env variables)? I'm missing that part

    • @anbuzhobbiez
      @anbuzhobbiez  3 года назад +1

      You can get it from project settings and security tab

    • @sethurajan3846
      @sethurajan3846 Год назад

      @@anbuzhobbiez where is project settings?

    • @anbuzhobbiez
      @anbuzhobbiez  Год назад

      In firebase console after you are inside the specific application. Click on the settings there you can find the settings. You can refer my previous videos to get this too

  • @RavindranathChowdaryYanamadala
    @RavindranathChowdaryYanamadala 3 года назад +2

    It would be complete, if PUSH subscription concept is also covered.

  • @ambarmca
    @ambarmca Год назад

    Can we publish a CSV file in pubsub through spring boot app

    • @anbuzhobbiez
      @anbuzhobbiez  Год назад +1

      Not directly. But you can make use of cloud functions to do this after you upload the file to cloud storage.
      1.Trigger the cloud function after file is uploaded to cloud storage.
      2. Cloud function will have the details for the file then it posts that to pubsub topic.
      3. From here subscribers will be notified of the file.
      This is what I can think as of now.

  • @chhalmasultanachhaya8386
    @chhalmasultanachhaya8386 9 месяцев назад

    Thank you so much for your nice tutorial. I have followed your pub/Sub producer part which worked for me perfectly. But for the subscriber part, it always shows null. Initially, it was showing PERMISSION_DENIED message but when I gave permission to the topic as a pub/sub admin it didn't show any error message but still couldn't retrieve any message. I don't know what I am doing wrong. I even downloaded your git project and changed project Id and Google credentials. but still it's the same. Please if you want my source file let me know. thank you very much.

    • @anbuzhobbiez
      @anbuzhobbiez  9 месяцев назад

      Can you add pubsub editor to your service account and try. If that doesn’t work let me know the repo.

  • @monimalamahato7757
    @monimalamahato7757 3 года назад

    Hi.. great video but can you provide the source code.. through github link

    • @mfsniper2
      @mfsniper2 3 года назад

      I would like github link for this java project, can you share?

    • @anbuzhobbiez
      @anbuzhobbiez  2 года назад

      github.com/amaialth/pubsubdemo.git

    • @anbuzhobbiez
      @anbuzhobbiez  2 года назад

      Yes, sure. Please find below repo
      github.com/amaialth/pubsubdemo.git