Purushottam Sinha created FLINK-40065:
-----------------------------------------

             Summary: flink-connector-aws: update flink-connector-parent to 
2.0.0 and flink.version to 2.1.
                 Key: FLINK-40065
                 URL: https://issues.apache.org/jira/browse/FLINK-40065
             Project: Flink
          Issue Type: Improvement
          Components: Connectors / AWS
            Reporter: Purushottam Sinha


  Problem                                                                       
                                                                                
                                                 
  The connector still builds with flink-connector-parent 1.0.0 (Java 8 era) and 
Flink 2.0.0, which has dropped out of the supported window now that 2.1/2.2 are 
the two latest minors. Parent 2.0.0 also enables the RAT license check by 
default (FLINK-39007), which this repo currently misses.                        
                                                                                
                      
                                                                                
                                                                                
                                                 
  Evidence                                                                      
                                                                                
                                                 
  - pom.xml: parent version 1.0.0, <flink.version> 2.0.0; latest parent is 
2.0.0 (raises base Java to 11, FLINK-38048)                                     
                                                      
  - Parent 2.0.0 pins Checkstyle 10.18.2, which rejects legacy JavadocMethod 
properties in tools/maven/checkstyle.xml ("Property 'allowUndeclaredRTE' does 
not exist" — same failure visible on flink-connector-jdbc PR #202)              
                                                                                
                                                                                
    
  - Same update done for Kafka (FLINK-39138), OpenSearch (FLINK-39707), 
Elasticsearch (FLINK-39809), JDBC (FLINK-40061)                                 
                                                         
                                                                                
                                                                                
                                                 
  Proposed fix                                                                  
                                                                                
                                                 
  - Bump parent to 2.0.0 and flink.version to 2.1.2 in pom.xml                  
                                                                                
                                                 
  - Fix JavadocMethod config in tools/maven/checkstyle.xml; apply Spotless 
(google-java-format 1.24.0)                                                     
                                                      
  - Update CI: push_pr.yml [2.0.0] → [2.1.2, 2.2.1], nightly.yml [2.0-SNAPSHOT] 
→ [2.2-SNAPSHOT]                                                                
                                                 
                                                                                
                                                                                
                                                 
  Acceptance                                                                    
                                                                                
                                                 
  - mvn clean install passes (Checkstyle, Spotless, RAT included)               
                                                                                
                                                 
  - CI matrix builds against Flink 2.1.2 and 2.2.1



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

Reply via email to