conduktor / kafka-security-manager

Manage your Kafka ACL at scale
https://hub.docker.com/r/simplesteph/kafka-security-manager
MIT License
361 stars 159 forks source link

Built docker image throwing an exception #116

Closed hekme5 closed 2 years ago

hekme5 commented 3 years ago

Greetings,

I built a docker image using the ./docker_build.sh script. When I deploy the image into my kubernetes cluster, I am getting the exception below. I am not sure where this simplesteph.ksm.source file is. I did not find anything mentioning simplesteph in the new code. How can I solve this issue? Thank you

Exception in thread "main" java.lang.ClassNotFoundException: com.github.simplesteph.ksm.source.FileSourceAcl at java.net.URLClassLoader.findClass(URLClassLoader.java:382) at java.lang.ClassLoader.loadClass(ClassLoader.java:418) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352) at java.lang.ClassLoader.loadClass(ClassLoader.java:351) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:348) at kafka.utils.CoreUtils$.createObject(CoreUtils.scala:192) at io.conduktor.ksm.AppConfig$Source$.createSource(AppConfig.scala:35) at io.conduktor.ksm.KafkaSecurityManager$.delayedEndpoint$io$conduktor$ksm$KafkaSecurityManager$1(KafkaSecurityManager.scala:35) at io.conduktor.ksm.KafkaSecurityManager$delayedInit$body.apply(KafkaSecurityManager.scala:10) at scala.Function0.apply$mcV$sp(Function0.scala:39) at scala.Function0.apply$mcV$sp$(Function0.scala:39) at scala.runtime.AbstractFunction0.apply$mcV$sp(AbstractFunction0.scala:17) at scala.App.$anonfun$main$1$adapted(App.scala:80) at scala.collection.immutable.List.foreach(List.scala:392) at scala.App.main(App.scala:80) at scala.App.main$(App.scala:78) at io.conduktor.ksm.KafkaSecurityManager$.main(KafkaSecurityManager.scala:10) at io.conduktor.ksm.KafkaSecurityManager.main(KafkaSecurityManager.scala)

simplesteph commented 3 years ago

Are you sure you're on master? We had refactored KSM