You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Sam Barker (Jira)" <ji...@apache.org> on 2024/09/20 04:16:00 UTC

[jira] [Created] (FLINK-36332) Allow the Operator http client to be customised

Sam Barker created FLINK-36332:
----------------------------------

             Summary: Allow the Operator http client to be customised
                 Key: FLINK-36332
                 URL: https://issues.apache.org/jira/browse/FLINK-36332
             Project: Flink
          Issue Type: Improvement
            Reporter: Sam Barker


We are looking to produce a build of the Flink Kubernetes operator however for internal policy reasons we need to exclude the Kotlin dependencies. 

Kotlin is a transitive dependency of OkHttp and now that  https://issues.apache.org/jira/browse/FLINK-36031 has been merged OkHttp is entirely optional (but a sensible default). The Fabric8 project explicitly support supplying alternative http clients (see https://github.com/fabric8io/kubernetes-client/blob/main/doc/FAQ.md#what-artifacts-should-my-project-depend-on) and the common pattern as demonstrated by the [java-operator-sdk|https://github.com/operator-framework/java-operator-sdk/blob/24494cb6342a5c75dff9a6962156ff488ad0c818/pom.xml#L44] is to define a property with the name of the client implementation. 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)