The code for all a few implementations, Java, Groovy, and Kotlin, is On this GitHub repository, which retains a number of other examples as well. I suppose to actually go overboard I need to include this to some Docker container, or transform it to a microservice and deploy it as being a cloud functionality, or — no, this is presently greater tha