I am referring this page for temporal worker versioning using build id.
Java SDK developer’s guide - Versioning | Temporal Documentation
Should I keep the existing worker running and every time create a new worker with a new build id? And how should integrate with temporal sdk autoconfigure? Configurations such as:
- task-queue: your-task-queue-name
name: your-worker-name # unique name of the Worker. If not specified, Task Queue is used as the Worker name.