I am converting code from Cadence to work with Temporal. There are a few changes in Types that I would like to better understand to get a sense of the engineering mindset of Temporal. I intend to ask question on these forums, as asking on Slack is ephemeral.
It appears that the Annotations WorkflowMethod, ActivityMethod no longer support configuration of properties such as:
taskList=TASK_LIST,executionStartToCloseTimeoutSeconds = 180.
What is the reason for this?
EDIT: After reviewing the current implementation, I fail to see the advantage of removing the availability of method specific configuration at declaration with the use of these Annotations (specifically, now the samples are showing configuration of the entire Activity with
ctivityOptions.newBuilder().setScheduleToCloseTimeout(Duration.ofSeconds(10)).build());, as opposed to specific methods). It would appear that one needs to now create wrapping entities to facilitate the functionality or reimplement the functionality in external annotations, if this is not re-added. Not something I mind doing, but I don’t yet understand the reasoning to remove this at this time.