The AWS SDK for Java's Service Client builders are not thread safe.
Crypto Tools customer's have reported odd,
occasionally disruptive behavior when using them
in a concurrent setting.
As such,
Crypto Tools should make it clear how to set a KMS Client
in a thread safe manner.
Which can be done via the Regional Client Supplier.
Additionally,
we can improve on the Java Documentation to highlight that
Builders are not thread safe,
and that proper Builder suppliers MUST be used,
or customers SHOULD use the alternative client configuration methods.
Description of changes:
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Check any applicable:
[ ] Were any files moved? Moving files changes their URL, which breaks all hyperlinks to the files.
Issue #, if available:
The AWS SDK for Java's Service Client builders are not thread safe. Crypto Tools customer's have reported odd, occasionally disruptive behavior when using them in a concurrent setting.
As such, Crypto Tools should make it clear how to set a KMS Client in a thread safe manner.
Which can be done via the Regional Client Supplier.
Additionally, we can improve on the Java Documentation to highlight that Builders are not thread safe, and that proper Builder suppliers MUST be used, or customers SHOULD use the alternative client configuration methods.
Description of changes:
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Check any applicable: