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
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.
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!!
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
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.
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.
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….
Nice explanation and the diagram really helped in understanding the flow.
Thanks for the diagram, it helps to understand the things more easily.
Nice to hear!!!!Keep Supporting!!!!
Nicely explained Thank you for your service
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
Agreed, we don't need web dependency. I thought of showing some rest endpoints which fetch the data. You can skip that.
Thanks for the good video, I would like to suggest avoiding background music or a little bit lighter music
Will do .. thanks 👍
Do I have to pay to start using Pub/Sub? Or I'm able to start testing without being charged?
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.
It would be complete, if PUSH subscription concept is also covered.
I will do it soon!!!
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!!
Will try to make a video on it
Hi Anbu, how did you create the Google Account Credentials JSON file (That you added to env variables)? I'm missing that part
You can get it from project settings and security tab
@@anbuzhobbiez where is project settings?
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
Can we publish a CSV file in pubsub through spring boot app
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.
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.
Can you add pubsub editor to your service account and try. If that doesn’t work let me know the repo.
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….
Got it. Will make it simple in next videos
Hi.. great video but can you provide the source code.. through github link
I would like github link for this java project, can you share?
github.com/amaialth/pubsubdemo.git
Yes, sure. Please find below repo
github.com/amaialth/pubsubdemo.git