-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
new config-override feature doesn't work #454
Comments
Hi @arnoldyahad, thank you for reporting this issue. There is a The minimal resource for Kafka Connect is:
|
hey @fhussonnois thanks for the quick response! i am using a spec, i forgot to mention it since i thought its not related and i wanted to keep the focus on the actual issue/
(this works when not using the new config-override) i see you made a new commit: b49e2cd was this the issue? |
Hi @arnoldyahad, yes the pre-release should be fixed. You should be able to use the docker image with tag |
hey @fhussonnois thanks a lot for fixing it. but I do get other errors:
and that was the whole point of #416 - to configure it dynamically without being dependent on the configuration file and be able to choose your cluster from the i tried to do a work around and just set a fake connect cluster, as im overwriting it anyway:
but i get this error:
is there a way to use this feature as intended in the issue and not be dependant on the config file?
(i only saw example to URL so i dont know exactly which params can be changed) thanks a lot for looking into this 🙏 |
Hi @arnoldyahad, the here is an example of the use of the new annotation: |
Hi @arnoldyahad, I've did some checks and everything seem OK. But, I've figure out an issue in your configuration. Here is a valid config: apiVersion: kafka.jikkou.io/v1beta1
kind: KafkaConnector
metadata:
name: collection-kafka-connect
labels:
kafka.jikkou.io/connect-cluster: use-override
annotations:
jikkou.io/config-override: |
{ "url": "http://my-real-cluster:8083" } |
thanks a lot @fhussonnois |
trying to use the new feature introduced by @fhussonnois : #429
(thanks for this contribution! 🙏 )
im following the example i see here:
https://github.com/streamthoughts/jikkou/blob/main/docs/content/en/docs/Releases/release-v0.34.0.md?plain=1#L119-L128
and i have a file:
which returns:
if i dont use the annotation:
it works just fine.
To Reproduce
use the configuration above(use any spec you want)
and use this version:
Expected behavior
for the configuration with override to work
Runtime environment
The text was updated successfully, but these errors were encountered: