afedulov opened a new pull request, #19856:
URL: https://github.com/apache/flink/pull/19856

   ## What is the purpose of the change
   
   FlinkImageBuilder and FlinkContainerBuilder are tightly coupled with using 
flink-dist to create Flink images on the flight. Some configuration is 
currently "hardcoded" in those classes and cannot be controlled by the user 
creating the FlinkContainerTestEnvironment.  For externalized connectors, we 
need the setup to be more flexible and to also work with the existing images 
published to GHCR, without relying on flink-dist. 
   
   ## Brief change log
   
   This PR introduces a single configuration holder FlinkContainersConfig that:
   - enables more flexible control over the container properties
   - refactors out hardcoded configuration
   - allows test environments based on existing base images rather than on 
flink-dist
   
   ## Verifying this change
   
   Verified manually by running tests based on the new approach
   
   ## Does this pull request potentially affect one of the following parts:
   
     - Dependencies (does it add or upgrade a dependency): (yes / **no**)
     - The public API, i.e., is any changed class annotated with 
`@Public(Evolving)`: (yes / **no**)
     - The serializers: (yes / **no** / don't know)
     - The runtime per-record code paths (performance sensitive): (yes / **no** 
/ don't know)
     - Anything that affects deployment or recovery: JobManager (and its 
components), Checkpointing, Kubernetes/Yarn, ZooKeeper: (yes / **no** / don't 
know)
     - The S3 file system connector: (yes / **no** / don't know)
   
   ## Documentation
   
     - Does this pull request introduce a new feature? (yes / **no**)
     - If yes, how is the feature documented? (not applicable / docs / 
**JavaDocs** / not documented)
   


-- 
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: issues-unsubscr...@flink.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to