datastax / kaap

KAAP, Kubernetes Autoscaling for Apache Pulsar
https://datastax.github.io/kaap/
Apache License 2.0
46 stars 16 forks source link

Don't use KubernetesRuntimeFactory because it doesn't work #157

Open pgier opened 1 year ago

pgier commented 1 year ago

Currently the operator set this in functions_worker.conf by default. This should not be set because it doesn't work.

functionRuntimeFactoryClassName: org.apache.pulsar.functions.runtime.kubernetes.KubernetesRuntimeFactory

The problem is that when this is enabled, it causes an incorrect pulsar admin url to be used in the generated connector pod.

Related: https://github.com/apache/pulsar/issues/9213

nicoloboschi commented 9 months ago

@pgier that problem has been resolved in Pulsar 2.8. do you still have the issue?

pgier commented 9 months ago

Yes, I experienced this issue in 2.10. I didn't test with other versions. The workaround was to manually set functionRuntimeFactoryClassName to an empty string.