- 
          
- 
                Notifications
    You must be signed in to change notification settings 
- Fork 6
feat: custom version for Kafka #1171
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
          
     Merged
      
      
    
  
     Merged
                    Changes from all commits
      Commits
    
    
            Show all changes
          
          
            8 commits
          
        
        Select commit
          Hold shift + click to select a range
      
      3d3bf26
              
                feat: support custom product versions
              
              
                dervoeti 589ff1c
              
                chore: changelog
              
              
                dervoeti 5d2be53
              
                Merge branch 'main' of https://github.com/stackabletech/docker-images…
              
              
                dervoeti 0834479
              
                Merge branch 'main' into feat/custom-product-versions-kafka
              
              
                dervoeti d22bc61
              
                Merge branch 'main' of https://github.com/stackabletech/docker-images…
              
              
                dervoeti 672de70
              
                feat: move version patched to separate patch files
              
              
                dervoeti b06732c
              
                fix: Hive 4.0.0 build (#1182)
              
              
                dervoeti a7ff3f1
              
                Merge branch 'main' into feat/custom-product-versions-kafka
              
              
                razvan File filter
Filter by extension
Conversations
          Failed to load comments.   
        
        
          
      Loading
        
  Jump to
        
          Jump to file
        
      
      
          Failed to load files.   
        
        
          
      Loading
        
  Diff view
Diff view
There are no files selected for viewing
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
        
          
          
            116 changes: 116 additions & 0 deletions
          
          116 
        
  kafka/stackable/patches/3.7.2/0003-Build-custom-Stackable-version.patch
  
  
      
      
   
        
      
      
    
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              | Original file line number | Diff line number | Diff line change | 
|---|---|---|
| @@ -0,0 +1,116 @@ | ||
| From 508c8053273b091b599c5ab9804cee877483703f Mon Sep 17 00:00:00 2001 | ||
| From: dervoeti <[email protected]> | ||
| Date: Wed, 18 Jun 2025 12:15:17 +0200 | ||
| Subject: Build custom Stackable version | ||
|  | ||
| --- | ||
| docs/js/templateData.js | 2 +- | ||
| gradle.properties | 2 +- | ||
| kafka-merge-pr.py | 2 +- | ||
| streams/quickstart/java/pom.xml | 2 +- | ||
| .../java/src/main/resources/archetype-resources/pom.xml | 2 +- | ||
| streams/quickstart/pom.xml | 2 +- | ||
| tests/kafkatest/__init__.py | 2 +- | ||
| tests/kafkatest/version.py | 2 +- | ||
| 8 files changed, 8 insertions(+), 8 deletions(-) | ||
|  | ||
| diff --git a/docs/js/templateData.js b/docs/js/templateData.js | ||
| index 7700e24003..8affa51e55 100644 | ||
| --- a/docs/js/templateData.js | ||
| +++ b/docs/js/templateData.js | ||
| @@ -19,6 +19,6 @@ limitations under the License. | ||
| var context={ | ||
| "version": "37", | ||
| "dotVersion": "3.7", | ||
| - "fullDotVersion": "3.7.2", | ||
| + "fullDotVersion": "3.7.2-stackable0.0.0-dev", | ||
| "scalaVersion": "2.13" | ||
| }; | ||
| diff --git a/gradle.properties b/gradle.properties | ||
| index 08ae0ded1e..779dcfb829 100644 | ||
| --- a/gradle.properties | ||
| +++ b/gradle.properties | ||
| @@ -23,7 +23,7 @@ group=org.apache.kafka | ||
| # - streams/quickstart/pom.xml | ||
| # - streams/quickstart/java/src/main/resources/archetype-resources/pom.xml | ||
| # - streams/quickstart/java/pom.xml | ||
| -version=3.7.2 | ||
| +version=3.7.2-stackable0.0.0-dev | ||
| scalaVersion=2.13.12 | ||
| # Adding swaggerVersion in gradle.properties to have a single version in place for swagger | ||
| # New version of Swagger 2.2.14 requires minimum JDK 11. | ||
| diff --git a/kafka-merge-pr.py b/kafka-merge-pr.py | ||
| index c16c811178..41b6794b8c 100755 | ||
| --- a/kafka-merge-pr.py | ||
| +++ b/kafka-merge-pr.py | ||
| @@ -70,7 +70,7 @@ TEMP_BRANCH_PREFIX = "PR_TOOL" | ||
|  | ||
| DEV_BRANCH_NAME = "trunk" | ||
|  | ||
| -DEFAULT_FIX_VERSION = os.environ.get("DEFAULT_FIX_VERSION", "3.7.2-SNAPSHOT") | ||
| +DEFAULT_FIX_VERSION = os.environ.get("DEFAULT_FIX_VERSION", "3.7.2-stackable0.0.0-dev-SNAPSHOT") | ||
|  | ||
| ORIGINAL_HEAD = "" | ||
|  | ||
| diff --git a/streams/quickstart/java/pom.xml b/streams/quickstart/java/pom.xml | ||
| index 1335f0d58b..e9e8cfe1ec 100644 | ||
| --- a/streams/quickstart/java/pom.xml | ||
| +++ b/streams/quickstart/java/pom.xml | ||
| @@ -26,7 +26,7 @@ | ||
| <parent> | ||
| <groupId>org.apache.kafka</groupId> | ||
| <artifactId>streams-quickstart</artifactId> | ||
| - <version>3.7.2</version> | ||
| + <version>3.7.2-stackable0.0.0-dev</version> | ||
| <relativePath>..</relativePath> | ||
| </parent> | ||
|  | ||
| diff --git a/streams/quickstart/java/src/main/resources/archetype-resources/pom.xml b/streams/quickstart/java/src/main/resources/archetype-resources/pom.xml | ||
| index 445fab4b83..21cb230fc4 100644 | ||
| --- a/streams/quickstart/java/src/main/resources/archetype-resources/pom.xml | ||
| +++ b/streams/quickstart/java/src/main/resources/archetype-resources/pom.xml | ||
| @@ -29,7 +29,7 @@ | ||
|  | ||
| <properties> | ||
| <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | ||
| - <kafka.version>3.7.2</kafka.version> | ||
| + <kafka.version>3.7.2-stackable0.0.0-dev</kafka.version> | ||
| <slf4j.version>1.7.36</slf4j.version> | ||
| </properties> | ||
|  | ||
| diff --git a/streams/quickstart/pom.xml b/streams/quickstart/pom.xml | ||
| index 94ac32fcac..2cc1fcd600 100644 | ||
| --- a/streams/quickstart/pom.xml | ||
| +++ b/streams/quickstart/pom.xml | ||
| @@ -22,7 +22,7 @@ | ||
| <groupId>org.apache.kafka</groupId> | ||
| <artifactId>streams-quickstart</artifactId> | ||
| <packaging>pom</packaging> | ||
| - <version>3.7.2</version> | ||
| + <version>3.7.2-stackable0.0.0-dev</version> | ||
|  | ||
| <name>Kafka Streams :: Quickstart</name> | ||
|  | ||
| diff --git a/tests/kafkatest/__init__.py b/tests/kafkatest/__init__.py | ||
| index 1c66c2bcfd..9274ce1fd0 100644 | ||
| --- a/tests/kafkatest/__init__.py | ||
| +++ b/tests/kafkatest/__init__.py | ||
| @@ -22,4 +22,4 @@ | ||
| # Instead, in development branches, the version should have a suffix of the form ".devN" | ||
| # | ||
| # For example, when Kafka is at version 1.0.0-SNAPSHOT, this should be something like "1.0.0.dev0" | ||
| -__version__ = '3.7.2' | ||
| +__version__ = '3.7.2-stackable0.0.0-dev' | ||
| diff --git a/tests/kafkatest/version.py b/tests/kafkatest/version.py | ||
| index bed7cffac2..55dc3cbc7d 100644 | ||
| --- a/tests/kafkatest/version.py | ||
| +++ b/tests/kafkatest/version.py | ||
| @@ -122,7 +122,7 @@ def get_version(node=None): | ||
| return DEV_BRANCH | ||
|  | ||
| DEV_BRANCH = KafkaVersion("dev") | ||
| -DEV_VERSION = KafkaVersion("3.7.2-SNAPSHOT") | ||
| +DEV_VERSION = KafkaVersion("3.7.2-stackable0.0.0-dev") | ||
|  | ||
| LATEST_METADATA_VERSION = "3.7" | ||
|  | 
        
          
          
            137 changes: 137 additions & 0 deletions
          
          137 
        
  kafka/stackable/patches/3.9.0/0003-Build-custom-Stackable-version.patch
  
  
      
      
   
        
      
      
    
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              | Original file line number | Diff line number | Diff line change | 
|---|---|---|
| @@ -0,0 +1,137 @@ | ||
| From de4d98f9cd65d93bb4bb061c233f6647efc951f4 Mon Sep 17 00:00:00 2001 | ||
| From: dervoeti <[email protected]> | ||
| Date: Wed, 18 Jun 2025 12:16:46 +0200 | ||
| Subject: Build custom Stackable version | ||
|  | ||
| --- | ||
| docs/js/templateData.js | 2 +- | ||
| docs/streams/upgrade-guide.html | 2 +- | ||
| gradle.properties | 2 +- | ||
| kafka-merge-pr.py | 2 +- | ||
| streams/quickstart/java/pom.xml | 2 +- | ||
| .../java/src/main/resources/archetype-resources/pom.xml | 2 +- | ||
| streams/quickstart/pom.xml | 2 +- | ||
| tests/kafkatest/__init__.py | 2 +- | ||
| tests/kafkatest/version.py | 4 ++-- | ||
| 9 files changed, 10 insertions(+), 10 deletions(-) | ||
|  | ||
| diff --git a/docs/js/templateData.js b/docs/js/templateData.js | ||
| index 13d352fc70..42d3549382 100644 | ||
| --- a/docs/js/templateData.js | ||
| +++ b/docs/js/templateData.js | ||
| @@ -19,6 +19,6 @@ limitations under the License. | ||
| var context={ | ||
| "version": "39", | ||
| "dotVersion": "3.9", | ||
| - "fullDotVersion": "3.9.0", | ||
| + "fullDotVersion": "3.9.0-stackable0.0.0-dev", | ||
| "scalaVersion": "2.13" | ||
| }; | ||
| diff --git a/docs/streams/upgrade-guide.html b/docs/streams/upgrade-guide.html | ||
| index 6a30e6671b..6d2ecb81aa 100644 | ||
| --- a/docs/streams/upgrade-guide.html | ||
| +++ b/docs/streams/upgrade-guide.html | ||
| @@ -133,7 +133,7 @@ | ||
| More details about the new config <code>StreamsConfig#TOPOLOGY_OPTIMIZATION</code> can be found in <a href="https://cwiki.apache.org/confluence/display/KAFKA/KIP-295%3A+Add+Streams+Configuration+Allowing+for+Optional+Topology+Optimization">KIP-295</a>. | ||
| </p> | ||
|  | ||
| - <h3><a id="streams_api_changes_390" href="#streams_api_changes_390">Streams API changes in 3.9.0</a></h3> | ||
| + <h3><a id="streams_api_changes_390" href="#streams_api_changes_390">Streams API changes in 3.9.0-stackable0.0.0-dev</a></h3> | ||
|  | ||
| <p> | ||
| The introduction of <a href="https://cwiki.apache.org/confluence/display/KAFKA/KIP-1033%3A+Add+Kafka+Streams+exception+handler+for+exceptions+occurring+during+processing">KIP-1033</a> | ||
| diff --git a/gradle.properties b/gradle.properties | ||
| index 0c14658608..b79ee9f0cf 100644 | ||
| --- a/gradle.properties | ||
| +++ b/gradle.properties | ||
| @@ -23,7 +23,7 @@ group=org.apache.kafka | ||
| # - streams/quickstart/pom.xml | ||
| # - streams/quickstart/java/src/main/resources/archetype-resources/pom.xml | ||
| # - streams/quickstart/java/pom.xml | ||
| -version=3.9.0 | ||
| +version=3.9.0-stackable0.0.0-dev | ||
| scalaVersion=2.13.14 | ||
| # Adding swaggerVersion in gradle.properties to have a single version in place for swagger | ||
| # New version of Swagger 2.2.14 requires minimum JDK 11. | ||
| diff --git a/kafka-merge-pr.py b/kafka-merge-pr.py | ||
| index a775a38435..4a7fbac34e 100755 | ||
| --- a/kafka-merge-pr.py | ||
| +++ b/kafka-merge-pr.py | ||
| @@ -70,7 +70,7 @@ TEMP_BRANCH_PREFIX = "PR_TOOL" | ||
|  | ||
| DEV_BRANCH_NAME = "trunk" | ||
|  | ||
| -DEFAULT_FIX_VERSION = os.environ.get("DEFAULT_FIX_VERSION", "3.9.0") | ||
| +DEFAULT_FIX_VERSION = os.environ.get("DEFAULT_FIX_VERSION", "3.9.0-stackable0.0.0-dev") | ||
|  | ||
| ORIGINAL_HEAD = "" | ||
|  | ||
| diff --git a/streams/quickstart/java/pom.xml b/streams/quickstart/java/pom.xml | ||
| index 78e1a70fa7..8698b4eb35 100644 | ||
| --- a/streams/quickstart/java/pom.xml | ||
| +++ b/streams/quickstart/java/pom.xml | ||
| @@ -26,7 +26,7 @@ | ||
| <parent> | ||
| <groupId>org.apache.kafka</groupId> | ||
| <artifactId>streams-quickstart</artifactId> | ||
| - <version>3.9.0</version> | ||
| + <version>3.9.0-stackable0.0.0-dev</version> | ||
| <relativePath>..</relativePath> | ||
| </parent> | ||
|  | ||
| diff --git a/streams/quickstart/java/src/main/resources/archetype-resources/pom.xml b/streams/quickstart/java/src/main/resources/archetype-resources/pom.xml | ||
| index 2bc235eb16..90d566d1a0 100644 | ||
| --- a/streams/quickstart/java/src/main/resources/archetype-resources/pom.xml | ||
| +++ b/streams/quickstart/java/src/main/resources/archetype-resources/pom.xml | ||
| @@ -29,7 +29,7 @@ | ||
|  | ||
| <properties> | ||
| <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | ||
| - <kafka.version>3.9.0</kafka.version> | ||
| + <kafka.version>3.9.0-stackable0.0.0-dev</kafka.version> | ||
| <slf4j.version>1.7.36</slf4j.version> | ||
| </properties> | ||
|  | ||
| diff --git a/streams/quickstart/pom.xml b/streams/quickstart/pom.xml | ||
| index b5101583ee..3c08985e2a 100644 | ||
| --- a/streams/quickstart/pom.xml | ||
| +++ b/streams/quickstart/pom.xml | ||
| @@ -22,7 +22,7 @@ | ||
| <groupId>org.apache.kafka</groupId> | ||
| <artifactId>streams-quickstart</artifactId> | ||
| <packaging>pom</packaging> | ||
| - <version>3.9.0</version> | ||
| + <version>3.9.0-stackable0.0.0-dev</version> | ||
|  | ||
| <name>Kafka Streams :: Quickstart</name> | ||
|  | ||
| diff --git a/tests/kafkatest/__init__.py b/tests/kafkatest/__init__.py | ||
| index a190e05067..0aa8fa7095 100644 | ||
| --- a/tests/kafkatest/__init__.py | ||
| +++ b/tests/kafkatest/__init__.py | ||
| @@ -22,4 +22,4 @@ | ||
| # Instead, in development branches, the version should have a suffix of the form ".devN" | ||
| # | ||
| # For example, when Kafka is at version 1.0.0-SNAPSHOT, this should be something like "1.0.0.dev0" | ||
| -__version__ = '3.9.0' | ||
| +__version__ = '3.9.0-stackable0.0.0-dev' | ||
| diff --git a/tests/kafkatest/version.py b/tests/kafkatest/version.py | ||
| index 4825a46039..06fd3029f9 100644 | ||
| --- a/tests/kafkatest/version.py | ||
| +++ b/tests/kafkatest/version.py | ||
| @@ -122,7 +122,7 @@ def get_version(node=None): | ||
| return DEV_BRANCH | ||
|  | ||
| DEV_BRANCH = KafkaVersion("dev") | ||
| -DEV_VERSION = KafkaVersion("3.9.0-SNAPSHOT") | ||
| +DEV_VERSION = KafkaVersion("3.9.0-stackable0.0.0-dev") | ||
|  | ||
| # This should match the LATEST_PRODUCTION version defined in MetadataVersion.java | ||
| LATEST_STABLE_METADATA_VERSION = "3.9-IV0" | ||
| @@ -276,5 +276,5 @@ V_3_8_0 = KafkaVersion("3.8.0") | ||
| LATEST_3_8 = V_3_8_0 | ||
|  | ||
| # 3.9.x version | ||
| -V_3_9_0 = KafkaVersion("3.9.0") | ||
| +V_3_9_0 = KafkaVersion("3.9.0-stackable0.0.0-dev") | ||
| LATEST_3_9 = V_3_9_0 | 
      
      Oops, something went wrong.
        
    
  
  Add this suggestion to a batch that can be applied as a single commit.
  This suggestion is invalid because no changes were made to the code.
  Suggestions cannot be applied while the pull request is closed.
  Suggestions cannot be applied while viewing a subset of changes.
  Only one suggestion per line can be applied in a batch.
  Add this suggestion to a batch that can be applied as a single commit.
  Applying suggestions on deleted lines is not supported.
  You must change the existing code in this line in order to create a valid suggestion.
  Outdated suggestions cannot be applied.
  This suggestion has been applied or marked resolved.
  Suggestions cannot be applied from pending reviews.
  Suggestions cannot be applied on multi-line comments.
  Suggestions cannot be applied while the pull request is queued to merge.
  Suggestion cannot be applied right now. Please check back later.
  
    
  
    
Uh oh!
There was an error while loading. Please reload this page.