Hey pd,
Unfortunately, I'm not a Java programmer. I do PHP, Python and bash and decided not to develop in Java many years ago as it appeared to be way too complex compared to other solutions. Also, at that point in time, Java was still having speed issues being psuedo compiled. The language I was using at that time was fully compilable.
Also, I assumed that Cloudera would get around to it eventually, as it's a part of the tools that appear to be under the CM support umbrella. Or, at least it's installed with the Kafka CSD.
I would think some kind of CSD to generically allow scripts to be run based on service/role events would be ideal???
Thanks for finally getting back to me!
Have a great day!