What are custom changes in start-worker options in Spring boot autoconfigure

Hi,

In this link, for the start-workers attribute, it is mentioned that

disable starting WorkersFactory if you want to make any custom changes before the start

What should be considered as custom changes from the following: WorkerFactoryOptions, WorkflowWorkerOptions, ActivityWorkerOptions?

Also is there a sample Temporal SpringBoot autoconfigure project available to refer to?

Setting start-workers to false makes sure workerFactory.start() is not called and you would have to autowire WorkerFactory and call start on it explicitly.

What should be considered as custom changes

Currently could be to create additional workers that have not been configured or auto-discovered via factory.newWorker(...) or get existing worker from factory and register additional workflow/activity types, via factory.tryGetWorker(tqname).

is there a sample Temporal SpringBoot autoconfigure project available to refer to

Yes here is one

I have a total of 4 workers in spring boot project. However, I just want to start only 2 workers. because Activity implementation is not ready for other 2 workflow worker. How to achieve this?

Do you use worker autodiscovery? I guess you could move activities to a package thats not in discovery path you define, or put those not yet completed activities in a different activity interface and dont annotate it with @ActivityImpl.
If you give more info on your specific setup could try give more details