Activity and Workflow configurations

  1. in application.yaml, what is the difference between:
activityWorkerDefaults: 
    activityPoolSize: 200

and this:

workflowDefaults: 
    activityPoolSize: 5

?

  1. to which workflow and activities instantiations these parameters are relevant? only the ones via started-temporal? what about manual instantiations (with options classes)?

Thanks,
Shai

Could you give more info? Which application.yaml are you referring to?

following is the temporal section in application.yaml:

  temporal:
    host: temporal.db-eks.dev.bizzabo.com
    port: 7233
    useSsl: false
    createWorkers: true
    namespace: ${release}-agenda
    activityStubDefaults:
      startToCloseTimeout: PT120S
    activityStubs:
      BulkEditActivities:
        taskQueue: bulk_edit_activities_queue
      BulkDeleteActivities:
        taskQueue: bulk_delete_activities_queue
    workflowDefaults:
      activityPoolSize: 5
      workflowPoolSize: 50
      workflowPollThreadPoolSize: 50
    workflows:
      bulkActionsWF:
        taskQueue: bulk_actions_workflow_queue
      eventBulkActionsMgrWF:
        taskQueue: event_bulk_mgr_workflow_queue
    activityWorkerDefaults:
      activityPoolSize: 50
    activityWorkers:
      BulkEditActivities:
        taskQueue: bulk_edit_activities_queue
      BulkDeleteActivities:
        taskQueue: bulk_delete_activities_queue

Oh so you seem to be using this spring boot starter: GitHub - applicaai/spring-boot-starter-temporal: The driver making it convenient to use Temporal with Spring Boot.

Sorry we cannot provide support for it as it’s not something we maintain and control. Would be best to ask on their channels.

thanks!
Shai

Np, my best guess is that it it would translate to WorkerOptions->maxConcurrentActivityExecutionSize but again, best to ask them or look at their code to figure it out.