danielgmyers / flux-swf-client

Apache License 2.0
8 stars 3 forks source link

Support providing partitions with additional partition-specific attributes #115

Open danielgmyers opened 1 month ago

danielgmyers commented 1 month ago

Currently, partitioned workflows that need per-partition metadata in addition to the partition id must obtain that metadata from some external data store, even if that metadata is not useful outside the context of the workflow.

PartitionIdGeneratorResult already supports adding attributes for all partitions; we should extend it to support per-partition attributes as well. Unlike the additionalAttributes entries, these per-partition attributes should not be passed along to subsequent steps.