danielgmyers / flux-swf-client

Apache License 2.0
9 stars 3 forks source link

Make partition ID hashing behavior toggleable #103

Closed danielgmyers closed 1 year ago

danielgmyers commented 1 year ago

While an arbitrary partition ID is useful in some cases, in others it is more important that the raw activity ID be readable. For such cases, we should allow users to disable the functionality that hashes partition IDs before putting them in activity IDs.

When the hashing functionality is disabled, a stricter length limit will need to be applied to partition IDs, as well as the same character set constraint as the rest of the identifiers, though the can't be the exact string "arn" limitation will not apply.