Temporal worker poller does not start after upgrading the springboot and temporal version

I updated the application dependencies from

Old versions:
Springboot: 2.7.3
Temporal & temporal-spring-boot-autoconfigure-alpha: 1.16.0

New versions:
Springboot: 3.0.6
Temporal & temporal-spring-boot-autoconfigure-alpha: 1.19.1

The temporal worker poller seems to be not starting after the update but it works fine with the older versions. We are able to create workflows but it shows as no workers found.

Old:

New:

Application Property yaml

  spring:
    temporal:
      connection:
        target: ${TEMPORAL_HOST}:${TEMPORAL_PORT}
        target.namespace: ${TEMPORAL_NAMESPACE}
      workers:
        - task-queue: GENERIC_WORKFLOW_QUEUE
      workflow-cache:
        max-instances: 10
        max-threads: 10
      workersAutoDiscovery:
        packages: com.endowus.workflow.engine.hk
      timeouts:
        activityStartToCloseTimeout: ${ACTIVITY_START_TO_CLOSE_TIMEOUT}
        workflowTimeout: ${WORKFLOW_TIMEOUT}

Please help out on how I could resolve this. Thanks in advance!

@Anjula_Paulus I will try to reproduce this

1 Like

@antonio.perez Any update on this?

@Anjula_Paulus

I have something working using the same versions, and I can see the pollers.

2023-05-25 13:01:04.961  INFO [temporal-demo,,] 26333 --- [           main] io.temporal.internal.worker.Poller       : start: Poller{name=Workflow Poller taskQueue="DemoTaskQueue", namespace="default", identity=26333@Antonio-Perezs-MacBook-Pro.local}
2023-05-25 13:01:04.963  INFO [temporal-demo,,] 26333 --- [           main] io.temporal.internal.worker.Poller       : start: Poller{name=Activity Poller taskQueue="DemoTaskQueue", namespace="default", identity=26333@Antonio-Perezs-MacBook-Pro.local}

You can find the repo here GitHub - antmendoza/temporal_spring-boot-demo at community_8340

If you want to share something to reproduce it I can take a look

Thanks,

@antonio.perez Does this warn logs mean something?


Thanks

How to enable debig level logs in the SDK?