The code for all three implementations, Java, Groovy, and Kotlin, is in this GitHub repository, which retains many other illustrations as well. I guess to actually go overboard I must insert this to some Docker container, or transform it into a microservice and deploy it like a cloud purpose, or — no, this is currently a lot more than sufficient.