Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在 AWS SWF 中安排活动时,您必须提供活动 ID:
https://github.com/aws/aws-sdk-java/blob/557cf674dfbb/aws-java-sdk-simpleworkflow/src/main/java/com/amazonaws/services/simpleworkflow/model/ScheduleActivityTaskDecisionAttributes.java#L68- L78
这个id的含义和范围是什么?对于工作流的每次调用,它是否应该是唯一的?还是纯粹为了我自己的信息目的?
我相信activityId在所有当前计划或执行的活动中应该是唯一的。当通过RequestCancelActivityTask决定请求取消活动时,它至少用于引用活动。