When trying to run the zeebe java client, I am not able to deploy the bpmn model.
This is how I have created it (based on the steps shown in zeebe docs)
final ZeebeClient client = ZeebeClient.newClientBuilder()
// change the contact point if needed
.brokerContactPoint("127.0.0.1:26500")
.build();
System.out.println("Connected.");
final DeploymentEvent deployment = client.newDeployCommand()
.addResourceFromClasspath("order-process.bpmn")
.send()
.join(); //runs into an infinte loop. Waits if necessary for this future to complete and
//then returns its result.