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

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

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

  • @ridamnagar8918
    @ridamnagar8918 6 месяцев назад +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 3 года назад +1

    Nicely explained Thank you for your service

  • @nirjharray5990
    @nirjharray5990 Год назад +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  Год назад +1

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

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

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

  • @luissantillanes822
    @luissantillanes822 3 месяца назад +1

    Do I have to pay to start using Pub/Sub? Or I'm able to start testing without being charged?

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

      Google provides few credits to discover the services they provide until the credits you are good to use. Just create an account using your gmail and start using it.

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

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

  • @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 2 года назад

      @@anbuzhobbiez where is project settings?

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

      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

  • @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 Год назад

    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  Год назад

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

  • @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

  • @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