I am posting messages to a Amazon SQS queue. At start up, I am getting the following warning in my logs.
[http-nio-9090-exec-2][BasicProfileConfigLoader] The legacy profile format
requires the 'profile ' prefix before the profile name. The latest code does
not require such prefix, and will consider it as part of the profile name.
Please remove the prefix if you are seeing this warning.
I am using the following version of Amazon SQS with Maven:
<dependency>
<groupId>com.amazonaws</groupId>
<artifactId>aws-java-sdk-sqs</artifactId>
<version>1.11.125</version>
</dependency>
How can I get rid of this warning?
The default policy allows only the queue owner to send and receive messages. Open the Amazon SQS console at https://console.aws.amazon.com/sqs/ . In the navigation pane, choose Queues. Choose a queue and choose Edit.
You can configure the Amazon SQS message retention period to a value from 1 minute to 14 days. The default is 4 days. Once the message retention quota is reached, your messages are automatically deleted.
However, your AWS account (to which the user belongs) owns the queue resource. If you create an IAM role in your AWS account with permissions to create an Amazon SQS queue, anyone who can assume the role can create a queue. Your AWS account (to which the role belongs) owns the queue resource.
aws that is placed in the " home " folder on your computer. On Linux and macOS, this is typically shown as ~/. aws . On Windows, it is %USERPROFILE%\.
This is most likely referring to your config file that is holding part of your aws credentials. Where this is on your machine will depend on what OS you are using, but for example on my Mac it is in \users\myname.aws\config
The old format was like this (as example):
[profile <profilename>]
region=us-east-1
output=json
and now should look like this instead:
[<profilename>]
region=us-east-1
output=json
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With