Re: [PR] KAFKA-16359: Corrected manifest file for kafka-clients [kafka]

2024-04-04 Thread via GitHub


showuon merged PR #15532:
URL: https://github.com/apache/kafka/pull/15532


-- 
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-unsubscr...@kafka.apache.org

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



Re: [PR] KAFKA-16359: Corrected manifest file for kafka-clients [kafka]

2024-04-03 Thread via GitHub


apoorvmittal10 commented on code in PR #15532:
URL: https://github.com/apache/kafka/pull/15532#discussion_r1550228079


##
build.gradle:
##
@@ -1435,10 +1454,10 @@ project(':clients') {
 implementation libs.opentelemetryProto
 
 // libraries which should be added as runtime dependencies in generated 
pom.xml should be defined here:
-shadow libs.zstd
-shadow libs.lz4
-shadow libs.snappy
-shadow libs.slf4jApi
+shadowed libs.zstd
+shadowed libs.lz4
+shadowed libs.snappy
+shadowed libs.slf4jApi

Review Comment:
   Hi @mimaison @showuon I have made the suggested change, just added version 
as well with the group and name. I have verified the pom, jar and manifest file 
they are correct.



-- 
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-unsubscr...@kafka.apache.org

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



Re: [PR] KAFKA-16359: Corrected manifest file for kafka-clients [kafka]

2024-04-03 Thread via GitHub


showuon commented on code in PR #15532:
URL: https://github.com/apache/kafka/pull/15532#discussion_r1549312174


##
build.gradle:
##
@@ -1435,10 +1454,10 @@ project(':clients') {
 implementation libs.opentelemetryProto
 
 // libraries which should be added as runtime dependencies in generated 
pom.xml should be defined here:
-shadow libs.zstd
-shadow libs.lz4
-shadow libs.snappy
-shadow libs.slf4jApi
+shadowed libs.zstd
+shadowed libs.lz4
+shadowed libs.snappy
+shadowed libs.slf4jApi

Review Comment:
   @apoorvmittal10 , is there any update about the suggestion from @mimaison ?



-- 
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-unsubscr...@kafka.apache.org

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



Re: [PR] KAFKA-16359: Corrected manifest file for kafka-clients [kafka]

2024-03-27 Thread via GitHub


apoorvmittal10 commented on code in PR #15532:
URL: https://github.com/apache/kafka/pull/15532#discussion_r1542173327


##
build.gradle:
##
@@ -1435,10 +1454,10 @@ project(':clients') {
 implementation libs.opentelemetryProto
 
 // libraries which should be added as runtime dependencies in generated 
pom.xml should be defined here:
-shadow libs.zstd
-shadow libs.lz4
-shadow libs.snappy
-shadow libs.slf4jApi
+shadowed libs.zstd
+shadowed libs.lz4
+shadowed libs.snappy
+shadowed libs.slf4jApi

Review Comment:
   Thanks for the suggestion, I ll give it a try next week.



-- 
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-unsubscr...@kafka.apache.org

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



Re: [PR] KAFKA-16359: Corrected manifest file for kafka-clients [kafka]

2024-03-27 Thread via GitHub


mimaison commented on code in PR #15532:
URL: https://github.com/apache/kafka/pull/15532#discussion_r1541600741


##
build.gradle:
##
@@ -1435,10 +1454,10 @@ project(':clients') {
 implementation libs.opentelemetryProto
 
 // libraries which should be added as runtime dependencies in generated 
pom.xml should be defined here:
-shadow libs.zstd
-shadow libs.lz4
-shadow libs.snappy
-shadow libs.slf4jApi
+shadowed libs.zstd
+shadowed libs.lz4
+shadowed libs.snappy
+shadowed libs.slf4jApi

Review Comment:
   I wonder if below in `shadowJar`, we should do something like:
   ```
   // dependencies excluded from the final jar, since they are declared as 
runtime dependencies
   dependencies {
 project.configurations.shadowed.allDependencies.each {
   exclude(dependency(it.group + ':' + it.name))
 }
 // exclude proto files from the jar
 exclude "**/opentelemetry/proto/**/*.proto"
 exclude "**/google/protobuf/*.proto"
   }
   ```
   
   Instead of what we currently have where we again list these dependencies:
   ```
   exclude(dependency(libs.snappy))
   exclude(dependency(libs.zstd))
   exclude(dependency(libs.lz4))
   exclude(dependency(libs.slf4jApi))
   ```
   This would avoid having these diverge in the future. WDYT?



-- 
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-unsubscr...@kafka.apache.org

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



Re: [PR] KAFKA-16359: Corrected manifest file for kafka-clients [kafka]

2024-03-20 Thread via GitHub


apoorvmittal10 commented on PR #15532:
URL: https://github.com/apache/kafka/pull/15532#issuecomment-2010700271

   @ijuma Build passes with unrelated test failures.


-- 
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-unsubscr...@kafka.apache.org

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



Re: [PR] KAFKA-16359: Corrected manifest file for kafka-clients [kafka]

2024-03-15 Thread via GitHub


apoorvmittal10 commented on PR #15532:
URL: https://github.com/apache/kafka/pull/15532#issuecomment-1999421797

   Re-triggering the build by re-opening the PR.


-- 
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-unsubscr...@kafka.apache.org

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



Re: [PR] KAFKA-16359: Corrected manifest file for kafka-clients [kafka]

2024-03-15 Thread via GitHub


apoorvmittal10 closed pull request #15532: KAFKA-16359: Corrected manifest file 
for kafka-clients
URL: https://github.com/apache/kafka/pull/15532


-- 
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-unsubscr...@kafka.apache.org

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