How to set zeebe client broker server details in application.yml or application.properties file of Spring boot project

Hi Team,

Could you please help me how to set or write zeebe client broker server details in application.yml or application.properties file of Spring boot project

approach 1:
zeebe.worker.defaultName=process-worker
zeebe.client.broker.contactPoint=10.200.240.40:26500
zeebe.client.security.plaintext=true

approach 2:
zeebe:
worker:
defaultName:${multijobprocess-worker}
client:
broker:
contactPoint:${10.200.240.40:26500}
security:
plaintext:true

which approach is correct?

thanks
rk

Both methods are supported, I have tried.

1 Like

@Ramakrishna the first approach looks fine to me. The second has a problem of using ${} which are not needed, neither in the properties or yaml file. In the yaml file what you might be missing is the right indentation… as it is yaml, indentation must be there to be a valid file.