UDF/UDAF not Loaded after put on a image that build on k8s

I have Confluent 6.1.0 Running on top k8s, I custom confluent-ksql-server image for added my custom jar into the cp-ksql-server.

I set already for KSQL_KSQL_EXTENTION_DIR and KSQL_EXTENTION_DIR and also set ksql.extention.dir in config resource.

I build 2 Jar files, 1 Jar from Example confluent official Doc and another one is my own custom UDF/UDAF.

There is no ERROR/WARN Log for failed load or anything, everything seems good but the custom jar not Loaded.

Any Idea or suggestion?

@tanzilgr2288 to confirm, are you using the env var KSQL_KSQL_EXTENSION_DIR? In your text you quote KSQL_KSQL_EXTENTION_DIR which has a misspelling.

1 Like

Yes i’m using both.
I have solve this issue.

By change the user of the jar file into Appuser not root, so the KSQL can execute the JAR.

Thank you Rick

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.