Тёмный

Spring Cloud AWS | Amazon Simple Queue Service | SQS | Spring Boot | JavaTechie 

Java Techie
Подписаться 178 тыс.
Просмотров 46 тыс.
0% 0

This tutorial will guide you ,how to use Amazon's SQS (Simple Queue Service) using Spring Boot also you will learn how to publish and subscribe message from Queue
#javatechie #AWS #SQS #SpringBoot
GitHub:
github.com/Jav...
Blogs:
/ javatechie
Facebook:
/ 919464521471923
guys if you like this video please do subscribe now and press the bell icon to not miss any update from Java Techie
Disclaimer/Policy:
--------------------------------
Note : All uploaded content in this channel is mine and its not copied from any community , you are free to use source code from above mentioned GitHub account

Опубликовано:

 

4 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 136   
@1dagmawi
@1dagmawi Год назад
every time I search something aws and java related hoping to find one of your videos, and never disappointed, you always come in clutch. Keep it up brother
@Javatechie
@Javatechie Год назад
Thank you brother keep learning 😃
@1dagmawi
@1dagmawi Год назад
@@Javatechie yessir
@malleswaaraor9733
@malleswaaraor9733 4 года назад
I am a big fan of your teaching style. Thanks for providing such a great content
@Javatechie
@Javatechie 4 года назад
Thank you 😊
@gandhamganesh7035
@gandhamganesh7035 6 дней назад
Great explanation ❤
@deveshkumar607
@deveshkumar607 4 дня назад
Very nice
@techieguru718
@techieguru718 2 года назад
If anyone is using spring boot 2.5.* then execute below 3 classes @SpringBootApplication (exclude = {ContextStackAutoConfiguration.class, ContextInstanceDataAutoConfiguration.class, ContextRegionProviderAutoConfiguration.class})
@MenukaIshan
@MenukaIshan Год назад
Good content. Thumbs up from Sri Lanka brother 😃
@maheshwaghmare2312
@maheshwaghmare2312 4 месяца назад
informative session
@surendram3612
@surendram3612 3 года назад
Excellent explanation I am big fan of your teaching I learn a lot from your tech videos
@parthdeveloper2793
@parthdeveloper2793 3 года назад
Highly recommended videos ✌️🙌 Please publishing videos on cognito with spring boot.
@hasyar706
@hasyar706 4 года назад
Hi, I really liked your explanation on AWS SQS with SpringBoot. In that video you have created a standard queue. Can you upload one video with AWS SQS FIFO queue. Because I see some errors while trying to publish a message using FIFO queue. Thanks
@Javatechie
@Javatechie 4 года назад
Sure I will try this 👍
@aminebouita7185
@aminebouita7185 4 года назад
thanks for the tutorial go on go on
@farrukhahmedsid
@farrukhahmedsid 4 года назад
Very helpful tutorial.. Nicely explained, clear voice and clear video.. thanks...
@thatpanditTV
@thatpanditTV 3 года назад
4k+ views and 0 dislikes. WOW. Keep it up.
@nriitg1672
@nriitg1672 3 года назад
Wow nice job brother I have learnt many topics in a single day. Keep up good work.
@rakeshnarang8545
@rakeshnarang8545 2 года назад
Thank you for this tutorial Very good and clean video
@adrienmbiandji8282
@adrienmbiandji8282 4 года назад
Hi , I like what you do, how you explain. Please can you provide a course on how to use spring cloud stream, specially how share security context between microservices, how to use routing key expression etc...it will be helpful. Thanks
@Javatechie
@Javatechie 4 года назад
Spring cloud stream already I explained but yes security context I need to check
@PracticeTech-rg7yh
@PracticeTech-rg7yh 11 месяцев назад
​@@Javatechiehi do you have additional tutorial implementing dlq and events related to this topic? Thank you
@Manuel-oe4gv
@Manuel-oe4gv 3 года назад
Great job. God bless you.
@sagarsri4143
@sagarsri4143 4 года назад
Superb explanation👌
@sriharshaakurathi7568
@sriharshaakurathi7568 4 года назад
Please prepare a video on AWS SNS as well. Your videos are really simple and they hit the point directly. Could you please prepare a video on RabbitMq.
@Javatechie
@Javatechie 4 года назад
SNS is my next tutorial
@tejachowdary309
@tejachowdary309 Год назад
@@Javatechie SNS tutorial is on the list?
@Javatechie
@Javatechie Год назад
No I haven't uploaded it yet . Will do soon
@ashok.9761
@ashok.9761 4 года назад
Excellent video ...
@user-yx2zz1pk5j
@user-yx2zz1pk5j 11 месяцев назад
Greate
@nikhithagoli9737
@nikhithagoli9737 3 года назад
Hi , can you please share a video to implement multiple @sqslisterners for a single sqs queue in spring boot
@shirish2005
@shirish2005 3 года назад
very nice . thanks
@vasudhareddy31
@vasudhareddy31 3 года назад
Thks good content.. really helpd..do sns & s3 bucket also..
@Javatechie
@Javatechie 3 года назад
Okay I will
@matheuscardoso9844
@matheuscardoso9844 3 года назад
Hi, I'm from Brazil and I really like the way you explain! Keep going
@Javatechie
@Javatechie 3 года назад
Glad to hear this 🤗
@infowizz3797
@infowizz3797 Год назад
you are too good
@nikitakhandelwal6865
@nikitakhandelwal6865 Год назад
Can plz make a video on the same thing but using producer consumer logic
@srikanthdannarapu2419
@srikanthdannarapu2419 4 года назад
Hi Basant, love your teaching style simple and straight to the point. I have one question - are all these dynamo db, sqs free tier ? Can we try it ? Thanks in advance
@Javatechie
@Javatechie 4 года назад
Yes free tire Srikanth , you can try this
@gaurgovindsingh8085
@gaurgovindsingh8085 2 года назад
Much appreciated. Your code helped.
@gouravkumar-or6jy
@gouravkumar-or6jy Год назад
Thanks sir 🙏
@arghyamitra3281
@arghyamitra3281 4 года назад
Good learning , please do video on Spring boot - Lambda - dynamo dB
@Javatechie
@Javatechie 4 года назад
With AWS lambda I will
@malleswarrao3887
@malleswarrao3887 3 месяца назад
Hi Sir , do we have any session/course for Spring boot with Azure cloud computing
@abhinandanjhansi5
@abhinandanjhansi5 2 года назад
How are you able to do so many tech videos? Where do you understand all this? You have helped me a lot through your videos
@Javatechie
@Javatechie 2 года назад
Cool buddy .
@thesadanand6599
@thesadanand6599 Год назад
Hey Basant, Can you make one v on aws GLUE/spring... much needed I guess
@gam4524
@gam4524 10 месяцев назад
should I write SqsListener in RestController class or can I write some class for it with deserialising to some Object?
@ManeeshKumar-nd8rg
@ManeeshKumar-nd8rg Год назад
As i worked , my SQS sender in working fine and sending messages in queue. But my sqs listener is not receving messages at all , please help, i have done exactly same things as , u stil logs are not printing , messages present in it.
@SoumyaDassrd
@SoumyaDassrd 2 года назад
Thanks bro..
@vsingh-26
@vsingh-26 11 месяцев назад
Is there any way to add multiple threads for the same listener, so that during load multiple messages are consumed in parallel.
@Javatechie
@Javatechie 11 месяцев назад
Use ExecutorService
@ManishKumar-fi4ig
@ManishKumar-fi4ig 2 года назад
You are a gem. I have one query . After creating secret key from IAM . How that key is mapped to SQS? So that in our java code which we are writing inside eclipse would know this secret key belongs to particular resource or particular SQS
@Javatechie
@Javatechie 2 года назад
Manish with your IAM credential your application authenticate with aws service . if credential are valid then you can connect to any aws service from your application .
@ManishKumar-fi4ig
@ManishKumar-fi4ig 2 года назад
@@Javatechie Meaning I can create only one IAM to access all the available AWS services(dynamo DB SQS Notifications ) & can access all of them using one access and secret key. Correct ?
@ManishKumar-fi4ig
@ManishKumar-fi4ig 2 года назад
@@Javatechie Request If you can include one small video on this series related to IAM
@arindamdas11
@arindamdas11 2 года назад
Nice concept and description. How ever this Template issue is still unresolved. 'org.springframework.cloud.aws.messaging.core.QueueMessagingTemplate' that could not be found
@vijivenkat9414
@vijivenkat9414 2 года назад
hi, am not getting the option of amazon web services in my eclipse while adding the dependencies.. can you help me for it..
@Javatechie
@Javatechie 2 года назад
Please copy paste that dependency manually
@premraj.m
@premraj.m 3 года назад
hi @java Techie, Can you please explain how AnonymousAWSCredentia works basically we don't pass credentials .. I think it might be work on ROLE base. Could you please confirm
@sureshmanne7245
@sureshmanne7245 Год назад
What's the difference b/w SNS & SES, both can send emails right? Do you have SES topic link available?
@Javatechie
@Javatechie Год назад
Try to find out abbreviations of these 2 terms you will get it
@bharat_news433
@bharat_news433 9 месяцев назад
@javatechie how we will proceed with more than 256kb payload size. How to handle that in @Sqslistner, is sqa will able to read that message key and bucket name...
@Javatechie
@Javatechie 8 месяцев назад
Buddy i haven't tried that but will check and update
@bharat_news433
@bharat_news433 8 месяцев назад
@@Javatechie ok I am waiting⏳
@supritavenkat3807
@supritavenkat3807 10 месяцев назад
Can u plz provide a link where we can construct and send a JSON object to SQS queue with same configuration in java?
@shashibhushan6623
@shashibhushan6623 Год назад
Hi Do you have demo on spring-boot Kinesis ?
@infosmart346
@infosmart346 2 года назад
Thanks for the tutorial, really enjoyed and learnt from it. My IntelliJ doesn't have Aws dependency on the spring initializer, can you tell me how to add that, please?
@Javatechie
@Javatechie 2 года назад
You can use dependency from my pom.xml mentioned over video description
@infosmart346
@infosmart346 2 года назад
@@Javatechie Thank you
@user-bs1xp7bh7l
@user-bs1xp7bh7l 6 месяцев назад
can someone explain why @Primary anotation is used while declaring beans
@ashok.9761
@ashok.9761 4 года назад
Can you make one video docker swam and dockerfile .. How to setup one app on that topics
@Javatechie
@Javatechie 4 года назад
I will try this
@ashok.9761
@ashok.9761 4 года назад
@@Javatechie thank you 😊
@abhishekwasave9010
@abhishekwasave9010 2 года назад
Thanks for such a great explanation , its hard to find such tutorial easily on internet ... do you have any course on udemy for aws using java springboot ?
@Javatechie
@Javatechie 2 года назад
No Abhishek no udemey course. Everything is there in my RU-vid please checkout my AWS playlist 😊.
@leochongsh
@leochongsh Год назад
If some error is thrown in the load message method, will the message be deleted in the queue?
@Javatechie
@Javatechie Год назад
No it won't
@ambidextrousTrades
@ambidextrousTrades Год назад
SqsListener is not working for me. I am using spring boot version 3.0.5.
@Javatechie
@Javatechie Год назад
Spring boot 3.0 not sure what changes have been made. I will check and update you
@ambidextrousTrades
@ambidextrousTrades Год назад
@@Javatechie I found it. Using spring 3.0.5 eliminates the start up issue that we have when not excluding ContextStackAutoConfiguration.class. But if we don't exclude ContextStackAutoConfiguration.class, for some reason SqsListener stops working.
@Javatechie
@Javatechie Год назад
@@ambidextrousTrades great 👍.
@AbhiRam-kz1ks
@AbhiRam-kz1ks 2 года назад
I am interested in sns concept can you please prepare video on it
@Javatechie
@Javatechie 2 года назад
It's already there please checkout my AWS playlist
@thisisnimish3thisisnimish39
if there are different nodes listening from the same queue will this work?
@mrinalinitarvekar4181
@mrinalinitarvekar4181 2 года назад
Do we need user credentials for only consuming message from sqs?
@Javatechie
@Javatechie 2 года назад
Credentials required to access any AWS service
@rajarajagopal7522
@rajarajagopal7522 4 года назад
Hi Basant, Could you please reply to my question? I would like to continue the SQS example. Thanks, Raja Rajagopal
@Javatechie
@Javatechie 4 года назад
Please tag your question
@rajarajagopal7522
@rajarajagopal7522 4 года назад
Hi Basant, Thanks for the reply. This is my question. Hope you are doing good. When I tried this Amazon SQS, I am getting below error message. However, my access key is correct. Even I deleted and created new one too. com.amazonaws.services.sqs.model.AmazonSQSException: The security token included in the request is invalid. (Service: AmazonSQS; Status Code: 403; Error Code: InvalidClientTokenId; Request ID: 038c430b-4caf-56c3-b2ca-1486bbc14678) Also, for the end point, in my eclipse it showing warring as "colud.aws.end-point" is unknown property. Please check this and let me know. Is something I am doing wrong.
@JavaTechnicalKnowledge
@JavaTechnicalKnowledge Год назад
Hi, I am using same code as explained in this video, but my message goes to " message in flight" instead of "available message". Please help and suggest.
@mustafakamalsirajudeen8133
@mustafakamalsirajudeen8133 4 года назад
Please do video on Amazon SMS service as you said.
@saiprasanth159
@saiprasanth159 4 года назад
very nice content, is it possible to achieve distributed messaging like kafka with different group ids in sqs
@Javatechie
@Javatechie 4 года назад
Kafka am not sure I will check and update
@rajarajagopal7522
@rajarajagopal7522 4 года назад
Hi Basant, Hope you are doing good. When I tried this Amazon SQS, I am getting below error message. However, my access key is correct. Even I deleted and created new one too. com.amazonaws.services.sqs.model.AmazonSQSException: The security token included in the request is invalid. (Service: AmazonSQS; Status Code: 403; Error Code: InvalidClientTokenId; Request ID: 038c430b-4caf-56c3-b2ca-1486bbc14678) Also, for the end point, in my eclipse it showing warring as "colud.aws.end-point" is unknown property. Please check this and let me know. Is something I am doing wrong.
@saikiran901
@saikiran901 3 года назад
If we want to deploy in new region do we want to change yml file in jar ? Or any dynamic way to do that ?
@Javatechie
@Javatechie 3 года назад
I believe Region is optional please do try once
@sagar1689
@sagar1689 3 года назад
Great explanation and upto the point. Can we keep the secrets outside our code?
@Javatechie
@Javatechie 3 года назад
Yes we should store it outside the code
@jamshedhussain6621
@jamshedhussain6621 3 года назад
In my appication.yml file end-point is showing as unknown property how to solve that plzz do reply..!!
@Javatechie
@Javatechie 3 года назад
Please align it properly
@sairammanchala40
@sairammanchala40 2 года назад
Hi Basant, what is difference between activeMq and Aws sqs. Where we have use activeMQ and where we have to use Aws SQS. if both are same which one is best and why?
@bahab.6038
@bahab.6038 Год назад
have you got knowledge regarded your question?
@souvikc37
@souvikc37 3 года назад
Yes interested for SNS
@Javatechie
@Javatechie 3 года назад
Already uploaded
@souvikc37
@souvikc37 3 года назад
Can you kindly make a tutorial on firebase integration with spring boot or Java?
@sureshgangavarapu7382
@sureshgangavarapu7382 2 года назад
How is @sqsLisntener configured ?????, if anyone know please tell
@harshaghanta1
@harshaghanta1 3 года назад
For some reason, the listener event is not firing? any ideas?
@surendram3612
@surendram3612 3 года назад
I am getting error when I connected AWS SQS FIFO QUEUE can you help why same code is not working for FIFO queues
@Javatechie
@Javatechie 3 года назад
Did you pass your own secret key and access key
@surendram3612
@surendram3612 3 года назад
@@Javatechie yes I have passed both keys and I am getting status code 400 and The queue doesn't exist or no access to perform action SQS:GetQueueurl
@mallikarjunaathota2954
@mallikarjunaathota2954 3 года назад
Hi , I need FIFO example. can you provide me the any site link?
@veerendrashukla
@veerendrashukla Год назад
I don't want to store access key and password in app properties file while running spring boot in EC2. How can I do that?
@malikisdon
@malikisdon 25 дней назад
use AWS Secret Manager
@vijayraj0502
@vijayraj0502 2 года назад
Only poll messages from SQS Queue. How we can do it?
@marcosradix1
@marcosradix1 3 года назад
Is it possible to use more than one queue configuration in yml file?
@Javatechie
@Javatechie 3 года назад
Yes we can configure many queue
@mrvxkumar
@mrvxkumar 4 года назад
Please make a video on java aws lambda.
@Javatechie
@Javatechie 4 года назад
Yes you can find it in upcoming tutorial
@VinuezaDario
@VinuezaDario 2 года назад
Hi, Can I conect Axon and Sqs?
@robgreen9479
@robgreen9479 3 года назад
Hello, i keep getting "com.amazonaws.SdkClientException: Failed to connect to service endpoint. " Even when I download your code and try to run it. Is there some setting I need to adjust to enable the aws cloud libraries? I usually use : com.amazonaws aws-java-sdk-sqs
@Javatechie
@Javatechie 3 года назад
Did you configure your client I'd and secret key and region properly ?
@vinay2841
@vinay2841 2 года назад
@SpringBootApplication( exclude = { org.springframework.cloud.aws.autoconfigure.context.ContextInstanceDataAutoConfiguration.class, org.springframework.cloud.aws.autoconfigure.context.ContextStackAutoConfiguration.class, org.springframework.cloud.aws.autoconfigure.context.ContextRegionProviderAutoConfiguration.class } )
@mallikarjunaathota2954
@mallikarjunaathota2954 3 года назад
Hi ,I need FIFO example. is there any example?
@VinuezaDario
@VinuezaDario 2 года назад
Ho, Can I conecto Axon and Sqs?
@RaviVerma-bg6ul
@RaviVerma-bg6ul 2 года назад
Hi sir, Is this SQS is paid in aws ?
@Javatechie
@Javatechie 2 года назад
No free
@RaviVerma-bg6ul
@RaviVerma-bg6ul 2 года назад
@@Javatechie Thanks Basant for quick reply
@gauravkumardwivedi2290
@gauravkumardwivedi2290 4 года назад
Hi Basant Is SQS same like Apache Kafka
@Javatechie
@Javatechie 4 года назад
Basically at High level both are following the same principle But for high throughput always recommend to use Kafka over AWS SQS/SNS Please go through below link for more info stackoverflow.com/questions/16449126/kafka-or-sns-or-something-else
@gauravkumardwivedi2290
@gauravkumardwivedi2290 4 года назад
@@Javatechie thanks
@gauravkumardwivedi2290
@gauravkumardwivedi2290 4 года назад
Hi Basant could you make one spring boot video using SseEmitter it will be great help.
@Javatechie
@Javatechie 4 года назад
Okay I will
@siddarthakamble9166
@siddarthakamble9166 4 года назад
Diff between rabbit mq and Kafka?
@mustafakamalsirajudeen8133
@mustafakamalsirajudeen8133 4 года назад
Few diffs are there. The one which I know for sure is that Kafka will hold the message for some time even though the consumer consumed the message.
Далее
AWS SQS FIFO Queues Overview and Demonstration
28:15
Просмотров 12 тыс.
Triple Protein Sandwich
00:32
Просмотров 3,9 млн
AWS SQS vs SNS vs EventBridge - When to Use What?
22:37
SQS Using JAVA -  Send, Receive And Delete data
13:28
Просмотров 15 тыс.