Integrate Ammonite
Closed this issue · 1 comments
saig0 commented
Support scripting in Scala with Ammonite.
saig0 commented
I tried but I was not able to run a given script and get the result out of it.
As an alternative, it is possible to run the Zeebe client inside Ammonite:
import $ivy.`io.zeebe:zeebe-client-java:0.23.0`
val zeebeClient = ZeebeClient.newClientBuilder().usePlaintext().build()
zeebeClient.newTopologyRequest().send().join()
zeebeClient.newWorker().jobType("amm").handler((client, job) => client.newCompleteCommand(job.getKey()).send()).open()