No video

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

  Рет қаралды 45,718

Java Techie

Java Techie

Күн бұрын

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

Пікірлер: 134
@malleswaaraor9733
@malleswaaraor9733 4 жыл бұрын
I am a big fan of your teaching style. Thanks for providing such a great content
@Javatechie
@Javatechie 4 жыл бұрын
Thank you 😊
@1dagmawi
@1dagmawi 11 ай бұрын
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 11 ай бұрын
Thank you brother keep learning 😃
@1dagmawi
@1dagmawi 11 ай бұрын
@@Javatechie yessir
@surendram3612
@surendram3612 3 жыл бұрын
Excellent explanation I am big fan of your teaching I learn a lot from your tech videos
@farrukhahmedsid
@farrukhahmedsid 4 жыл бұрын
Very helpful tutorial.. Nicely explained, clear voice and clear video.. thanks...
@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
@MenukaIshan
@MenukaIshan Жыл бұрын
Good content. Thumbs up from Sri Lanka brother 😃
@techieguru718
@techieguru718 2 жыл бұрын
If anyone is using spring boot 2.5.* then execute below 3 classes @SpringBootApplication (exclude = {ContextStackAutoConfiguration.class, ContextInstanceDataAutoConfiguration.class, ContextRegionProviderAutoConfiguration.class})
@parthdeveloper2793
@parthdeveloper2793 3 жыл бұрын
Highly recommended videos ✌️🙌 Please publishing videos on cognito with spring boot.
@thatpanditTV
@thatpanditTV 3 жыл бұрын
4k+ views and 0 dislikes. WOW. Keep it up.
@aminebouita7185
@aminebouita7185 4 жыл бұрын
thanks for the tutorial go on go on
@maheshwaghmare2312
@maheshwaghmare2312 4 ай бұрын
informative session
@Manuel-oe4gv
@Manuel-oe4gv 3 жыл бұрын
Great job. God bless you.
@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 👍
@sagarsri4143
@sagarsri4143 4 жыл бұрын
Superb explanation👌
@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
@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 🤗
@ashok.9761
@ashok.9761 4 жыл бұрын
Excellent video ...
@gaurgovindsingh8085
@gaurgovindsingh8085 2 жыл бұрын
Much appreciated. Your code helped.
@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
@shirish2005
@shirish2005 3 жыл бұрын
very nice . thanks
@nikhithagoli9737
@nikhithagoli9737 3 жыл бұрын
Hi , can you please share a video to implement multiple @sqslisterners for a single sqs queue in spring boot
@vasudhareddy31
@vasudhareddy31 3 жыл бұрын
Thks good content.. really helpd..do sns & s3 bucket also..
@Javatechie
@Javatechie 3 жыл бұрын
Okay I will
@user-yx2zz1pk5j
@user-yx2zz1pk5j 10 ай бұрын
Greate
@infowizz3797
@infowizz3797 Жыл бұрын
you are too good
@gouravkumar-or6jy
@gouravkumar-or6jy Жыл бұрын
Thanks sir 🙏
@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 .
@arghyamitra3281
@arghyamitra3281 4 жыл бұрын
Good learning , please do video on Spring boot - Lambda - dynamo dB
@Javatechie
@Javatechie 4 жыл бұрын
With AWS lambda I will
@nikitakhandelwal6865
@nikitakhandelwal6865 Жыл бұрын
Can plz make a video on the same thing but using producer consumer logic
@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..
@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
@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
@user-bs1xp7bh7l
@user-bs1xp7bh7l 6 ай бұрын
can someone explain why @Primary anotation is used while declaring beans
@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?
@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
@thesadanand6599
@thesadanand6599 Жыл бұрын
Hey Basant, Can you make one v on aws GLUE/spring... much needed I guess
@gam4524
@gam4524 9 ай бұрын
should I write SqsListener in RestController class or can I write some class for it with deserialising to some Object?
@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
@mustafakamalsirajudeen8133
@mustafakamalsirajudeen8133 4 жыл бұрын
Please do video on Amazon SMS service as you said.
@malleswarrao3887
@malleswarrao3887 3 ай бұрын
Hi Sir , do we have any session/course for Spring boot with Azure cloud computing
@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
@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
@vijayraj0502
@vijayraj0502 2 жыл бұрын
Only poll messages from SQS Queue. How we can do it?
@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
@shashibhushan6623
@shashibhushan6623 Жыл бұрын
Hi Do you have demo on spring-boot Kinesis ?
@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 😊
@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
@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.
@bharat_news433
@bharat_news433 8 ай бұрын
@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⏳
@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
@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
@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 KZbin please checkout my AWS playlist 😊.
@thisisnimish3thisisnimish39
@thisisnimish3thisisnimish39 Жыл бұрын
if there are different nodes listening from the same queue will this work?
@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
@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 👍.
@mrinalinitarvekar4181
@mrinalinitarvekar4181 2 жыл бұрын
Do we need user credentials for only consuming message from sqs?
@Javatechie
@Javatechie 2 жыл бұрын
Credentials required to access any AWS service
@sureshgangavarapu7382
@sureshgangavarapu7382 2 жыл бұрын
How is @sqsLisntener configured ?????, if anyone know please tell
@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.
@harshaghanta1
@harshaghanta1 3 жыл бұрын
For some reason, the listener event is not firing? any ideas?
@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
@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
@mrvxkumar
@mrvxkumar 4 жыл бұрын
Please make a video on java aws lambda.
@Javatechie
@Javatechie 4 жыл бұрын
Yes you can find it in upcoming tutorial
@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.
@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
@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?
@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 9 күн бұрын
use AWS Secret Manager
@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?
@VinuezaDario
@VinuezaDario 2 жыл бұрын
Hi, Can I conect Axon and Sqs?
@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
@VinuezaDario
@VinuezaDario 2 жыл бұрын
Ho, Can I conecto Axon and Sqs?
@mallikarjunaathota2954
@mallikarjunaathota2954 3 жыл бұрын
Hi ,I need FIFO example. is there any example?
@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?
@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 } )
@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.
@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
AWS SQS FIFO Queues Overview and Demonstration
28:15
Be A Better Dev
Рет қаралды 12 М.
Running With Bigger And Bigger Feastables
00:17
MrBeast
Рет қаралды 123 МЛН
Challenge matching picture with Alfredo Larin family! 😁
00:21
BigSchool
Рет қаралды 40 МЛН
ISSEI & yellow girl 💛
00:33
ISSEI / いっせい
Рет қаралды 20 МЛН
Пройди игру и получи 5 чупа-чупсов (2024)
00:49
Екатерина Ковалева
Рет қаралды 3,1 МЛН
AWS SQS vs SNS vs EventBridge - When to Use What?
22:37
Be A Better Dev
Рет қаралды 173 М.
Amazon Simple Queue Service (SQS) with SpringBoot | Spring Cloud AWS
17:25
Event Driven Architecture | AWS S3 . SNS . SQS . Lambda
19:54
ListenToLearn
Рет қаралды 15 М.
AWS SQS Overview For Beginners
28:49
Be A Better Dev
Рет қаралды 116 М.
Running With Bigger And Bigger Feastables
00:17
MrBeast
Рет қаралды 123 МЛН