awslabs / payload-offloading-java-common-lib-for-aws

Shared library between AWS extended messaging clients to manage payloads larger than their limits.
Apache License 2.0
32 stars 15 forks source link

Random UUID value for the s3Key #11

Closed ahmedhammad97 closed 3 years ago

ahmedhammad97 commented 3 years ago

I believe such a generic library should not be forcing the consumers to use an UUID for the s3Key, specially when this key can be used to give further information about the execution or the request.

@Override
    public String storeOriginalPayload(String payload) {
        String s3Key = UUID.randomUUID().toString();
        ...
    }
ahmedhammad97 commented 3 years ago

Closing as it's solved in #12