You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by "squakez (via GitHub)" <gi...@apache.org> on 2026/09/23 15:18:08 UTC
[I] Use context client instead of initializing one [camel-k]
squakez opened a new issue, #6846:
URL: https://github.com/apache/camel-k/issues/6846
For Kafka binding, we are using a new client:
```
type StrimziBindingProvider struct {
Client internalclientset.Interface
}
```
We should instead make use of the one provided normally in the BindingContext which is available in the `Translate` func.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Use context client instead of initializing one [camel-k]
Posted by "squakez (via GitHub)" <gi...@apache.org>.
squakez commented on issue #6846:
URL: https://github.com/apache/camel-k/issues/6846#issuecomment-5808369879
Thanks. You can refer other bindings implementation, but the scope should be: remove the existing parameter and use instead the client available in Context struct.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Use context client instead of initializing one [camel-k]
Posted by "squakez (via GitHub)" <gi...@apache.org>.
squakez commented on issue #6846:
URL: https://github.com/apache/camel-k/issues/6846#issuecomment-5914381513
I realized the original code was fine. Closing as no longer needed.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Use context client instead of initializing one [camel-k]
Posted by "harbinresearcher (via GitHub)" <gi...@apache.org>.
harbinresearcher commented on issue #6846:
URL: https://github.com/apache/camel-k/issues/6846#issuecomment-5805821450
Hi, I'd like to work on this issue.\n\nI'll first trace how BindingContext.Client exposes the Strimzi resources, then update StrimziBindingProvider to reuse that context client instead of constructing a separate clientset. I'll keep the change scoped to the binding implementation and its tests, and report back before coding if the context interface requires a broader API change.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Use context client instead of initializing one [camel-k]
Posted by "squakez (via GitHub)" <gi...@apache.org>.
squakez closed issue #6846: Use context client instead of initializing one
URL: https://github.com/apache/camel-k/issues/6846
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org