-
Notifications
You must be signed in to change notification settings - Fork 924
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
Ship kafka-clients
in binary distribution tarball without compression libs
#6836
Conversation
@@ -1053,7 +1053,20 @@ | |||
<groupId>org.apache.kafka</groupId> | |||
<artifactId>kafka-clients</artifactId> | |||
<version>${kafka.version}</version> | |||
<optional>true</optional> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
seems the build/dependency.sh
does not correctly handle optional
@@ -306,8 +306,6 @@ io.vertx:vertx-grpc | |||
com.squareup.retrofit2:retrofit | |||
com.squareup.okhttp3:okhttp | |||
org.apache.kafka:kafka-clients | |||
org.lz4:lz4-java | |||
org.xerial.snappy:snappy-java |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the LICENSE/NOTICE should match the real content of artifacts
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #6836 +/- ##
======================================
Coverage 0.00% 0.00%
======================================
Files 687 687
Lines 42441 42441
Branches 5793 5793
======================================
Misses 42441 42441 ☔ View full report in Codecov by Sentry. |
…thout compression libs ### Why are the changes needed? I'd like to include `kafka-clients` in the Kyuubi binary distribution tarball to enable the out-of-box support for sinking Kyuubi events to Kafka. - Kafka is an important component in modern data platforms, and is a defacto message queue implementation, especially in the big data domain - `kafka-clients` is released under Apache License V2, has no legal issue - `kafka-clients` is quite a light lib, has no third-party deps except for `slf4j-api` and a few optional compression libs - `kafka-clients` uses "none" compression as default, in practice, "gzip"(delegate to JDK gzip algorithm, no additional libs are required) already performs well for non-extreme cases Additionally, LOG4J2 has a built-in `KafkaAppender` that supports sinking logging to Kafka, which also requires `kafka-clients` in the classpath, I have some initial ideas to forward both Kyuubi server's and engine bootstrap processes log to Kafka in a structured format, will send another PR to add docs to guide users in configuring that. ### How was this patch tested? Review ### Was this patch authored or co-authored using generative AI tooling? No. Closes #6836 from pan3793/kafka-lib. Closes #6836 b069eb1 [Cheng Pan] Ship kafka-clients in binary distribution tarball without compression libs Authored-by: Cheng Pan <[email protected]> Signed-off-by: Cheng Pan <[email protected]> (cherry picked from commit f2cacd3) Signed-off-by: Cheng Pan <[email protected]>
Thanks, merged to master/1.10 |
Why are the changes needed?
I'd like to include
kafka-clients
in the Kyuubi binary distribution tarball to enable the out-of-box support for sinking Kyuubi events to Kafka.kafka-clients
is released under Apache License V2, has no legal issuekafka-clients
is quite a light lib, has no third-party deps except forslf4j-api
and a few optional compression libskafka-clients
uses "none" compression as default, in practice, "gzip"(delegate to JDK gzip algorithm, no additional libs are required) already performs well for non-extreme casesAdditionally, LOG4J2 has a built-in
KafkaAppender
that supports sinking logging to Kafka, which also requireskafka-clients
in the classpath, I have some initial ideas to forward both Kyuubi server's and engine bootstrap processes log to Kafka in a structured format, will send another PR to add docs to guide users in configuring that.How was this patch tested?
Review
Was this patch authored or co-authored using generative AI tooling?
No.