I am trying to deploy bpmn files using spring boot application, I have my all bpmn files inside resources/models folder in spring boot application. I am able to deploy it while running locally as well as running local docker container. But when i deploy it on my AWS eks cluster I am getting below error.
Caused by: java.util.concurrent.ExecutionException: io.grpc.StatusRuntimeException: DEADLINE_EXCEEDED: deadline exceeded after 7.495694245s. [closed=[], open=[[buffered_nanos=7902077611, waiting_for_connection]]]
I tried below options, but it has not worked:
1)@Deployment(resources = “classpath*:/models/.”)
2)@Deployment(resources = “classpath:/models/.”)
2)@Deployment(resources = “classpath*:models/.”)
4)@Deployment(resources = “classpath:/models/test.bpmn”)
5)DeploymentEvent deploymentEvent =
zeebeClient.newDeployResourceCommand()
.addResourceFromClasspath(“models/test.bpmn”)
.send()
.join();
But I am always getting same error. I am not getting any error while running locally or on local docker.It is deploying successfully. Only i am getting this error on my eks cluster. I have cross checked folder structure is same on eks and local docker.
BOOT-INF/classes/models/*bpmn