My machine prevents these calls from being made. So I am trying to set AWS_EC2_METADATA_DISABLED_SYSTEM_PROPERTY which is supported by the com.amazonaws:aws-java-sdk-core:1.12.472 library. But the producer still show the above errors.
Hi, did you solve this?
Having the same warnings at startup running on Kuberenetes when using STSAssumeRoleSessionCredentialsProvider as credential provider.
In com.amazonaws:amazon-kinesis-producer:0.15.7
the library triggers EC2MetadataClient calls:
[warning] AWS Log: ERRORCan not retrieve resource from http://169.254.169.254/latest/api/token [warning] AWS Log: ERRORCan not retrieve resource from http://169.254.169.254/latest/meta-data/iam/security-credentials etc
My machine prevents these calls from being made. So I am trying to set AWS_EC2_METADATA_DISABLED_SYSTEM_PROPERTY which is supported by the com.amazonaws:aws-java-sdk-core:1.12.472 library. But the producer still show the above errors.