You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "dejan2609 (via GitHub)" <gi...@apache.org> on 2025/03/13 13:49:21 UTC

[PR] MINOR: redundant gradle expression is removed [kafka]

dejan2609 opened a new pull request, #19200:
URL: https://github.com/apache/kafka/pull/19200

   Note: this is a #18018 offshoot.
   
   See this comment made by @Goooler: https://github.com/apache/kafka/pull/18018#discussion_r1897025851 
   
   ![image](https://github.com/user-attachments/assets/c41acba6-9f2a-44a5-b47f-60a4d7078100)
   
   
   FYI @mumrah, @apoorvmittal10 


-- 
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: jira-unsubscribe@kafka.apache.org

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


Re: [PR] MINOR: redundant gradle expression is removed [kafka]

Posted by "apoorvmittal10 (via GitHub)" <gi...@apache.org>.
apoorvmittal10 merged PR #19200:
URL: https://github.com/apache/kafka/pull/19200


-- 
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: jira-unsubscribe@kafka.apache.org

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


Re: [PR] MINOR: redundant gradle expression is removed [kafka]

Posted by "apoorvmittal10 (via GitHub)" <gi...@apache.org>.
apoorvmittal10 commented on PR #19200:
URL: https://github.com/apache/kafka/pull/19200#issuecomment-2721367929

   Thanks @dejan2609, can you please confirm the pom and other outputs. If they are same, I ll check them myself too.


-- 
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: jira-unsubscribe@kafka.apache.org

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


Re: [PR] MINOR: redundant gradle expression is removed [kafka]

Posted by "dejan2609 (via GitHub)" <gi...@apache.org>.
dejan2609 commented on PR #19200:
URL: https://github.com/apache/kafka/pull/19200#issuecomment-2745141233

   ### Testing scenario: 
   
   1. create two `kafka-clients` versions via `./gradlew :clients:publishToMavenLocal -PskipSigning=true`
   - use kafka trunk and create `kafka-clients` version `4.1.0-SNAPSHOT`
   - use this PR (and change version in `gradle.properties`) in order to create `4.2.0-SNAPSHOT` version
   
   2. compare these two versions:
   
   ```
   dejan@dejan-HP-ProBook-450-G7:~/kafka$ diff ~/.m2/repository/org/apache/kafka/kafka-clients/4.1.0-SNAPSHOT/kafka-clients-4.1.0-SNAPSHOT.pom ~/.m2/repository/org/apache/kafka/kafka-clients/4.2.0-SNAPSHOT/kafka-clients-4.2.0-SNAPSHOT.pom 
   6c6
   <   <version>4.1.0-SNAPSHOT</version>
   ---
   >   <version>4.2.0-SNAPSHOT</version>
   ```
   
   ![image](https://github.com/user-attachments/assets/c35fc84b-07a0-4c9c-b610-5e41c6f87778)
   
   3. test these two versions created above using this helper project: https://github.com/dejan2609/poc-kafka-18142
   - change `kafka-clients` version in build.gradle to 4.1.0-SNAPSHOT and create dependency tree:
   ```
   dejan@dejan-HP-ProBook-450-G7:~/IdeaProjects/terraform/poc-kafka-18142$ ./gradlew dependencies > 4.1.0.txt 
   change `kafka-clients` version to 4.2.0-SNAPSHOT
   ```
   - change `kafka-clients` version in build.gradle to 4.2.0-SNAPSHOT and create another dependency tree:
   ```
   dejan@dejan-HP-ProBook-450-G7:~/IdeaProjects/terraform/poc-kafka-18142$ ./gradlew dependencies > 4.2.0.txt 
   ```
   - compare two dependency trees:
   ```
   dejan@dejan-HP-ProBook-450-G7:~/IdeaProjects/poc-kafka-18142$ diff 4.1.0.txt 4.2.0.txt 
   12c12
   < \--- org.apache.kafka:kafka-clients:4.1.0-SNAPSHOT
   ---
   > \--- org.apache.kafka:kafka-clients:4.2.0-SNAPSHOT
   21c21
   < \--- org.apache.kafka:kafka-clients:4.1.0-SNAPSHOT (n)
   ---
   > \--- org.apache.kafka:kafka-clients:4.2.0-SNAPSHOT (n)
   27c27
   < \--- org.apache.kafka:kafka-clients:4.1.0-SNAPSHOT
   ---
   > \--- org.apache.kafka:kafka-clients:4.2.0-SNAPSHOT
   43c43
   < +--- org.apache.kafka:kafka-clients:4.1.0-SNAPSHOT
   ---
   > +--- org.apache.kafka:kafka-clients:4.2.0-SNAPSHOT
   71c71
   < +--- org.apache.kafka:kafka-clients:4.1.0-SNAPSHOT
   ---
   > +--- org.apache.kafka:kafka-clients:4.2.0-SNAPSHOT
   dejan@dejan-HP-ProBook-450-G7:~/IdeaProjects/poc-kafka-18142$
   ```


-- 
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: jira-unsubscribe@kafka.apache.org

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


Re: [PR] MINOR: redundant gradle expression is removed [kafka]

Posted by "dejan2609 (via GitHub)" <gi...@apache.org>.
dejan2609 commented on PR #19200:
URL: https://github.com/apache/kafka/pull/19200#issuecomment-2781405881

   Just a reminder for @apoorvmittal10 and @mumrah 


-- 
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: jira-unsubscribe@kafka.apache.org

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


Re: [PR] MINOR: redundant gradle expression is removed [kafka]

Posted by "dejan2609 (via GitHub)" <gi...@apache.org>.
dejan2609 commented on PR #19200:
URL: https://github.com/apache/kafka/pull/19200#issuecomment-2745141869

   I did some testing and it seems that we are good to go.
   
   @apoorvmittal10 and @mumrah: feel free to review (test on your side).


-- 
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: jira-unsubscribe@kafka.apache.org

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


Re: [PR] MINOR: redundant gradle expression is removed [kafka]

Posted by "apoorvmittal10 (via GitHub)" <gi...@apache.org>.
apoorvmittal10 commented on PR #19200:
URL: https://github.com/apache/kafka/pull/19200#issuecomment-2819324703

   @dejan2609 Sorry for the delay, I was away for sometime. The PR is on my pending list for review now.


-- 
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: jira-unsubscribe@kafka.apache.org

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


Re: [PR] MINOR: redundant gradle expression is removed [kafka]

Posted by "dejan2609 (via GitHub)" <gi...@apache.org>.
dejan2609 commented on PR #19200:
URL: https://github.com/apache/kafka/pull/19200#issuecomment-2820292214

   @apoorvmittal10 Changes are rebased onto trunk.


-- 
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: jira-unsubscribe@kafka.apache.org

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