You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "mimaison (via GitHub)" <gi...@apache.org> on 2024/08/02 16:15:12 UTC
[PR] KAFKA-17227: Refactor compression code to only load codecs when used [kafka]
mimaison opened a new pull request, #16782:
URL: https://github.com/apache/kafka/pull/16782
### Committer Checklist (excluded from commit message)
- [ ] Verify design and implementation
- [ ] Verify test coverage and CI build status
- [ ] Verify documentation (including upgrade notes)
--
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] KAFKA-17227: Refactor compression code to only load codecs when used [kafka]
Posted by "mimaison (via GitHub)" <gi...@apache.org>.
mimaison commented on PR #16782:
URL: https://github.com/apache/kafka/pull/16782#issuecomment-2269436576
I confirmed the zstd min and max levels have not changed and are still -131072/22 in 1.5.6-4. Merging to 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
Re: [PR] KAFKA-17227: Refactor compression code to only load codecs when used [kafka]
Posted by "mimaison (via GitHub)" <gi...@apache.org>.
mimaison merged PR #16782:
URL: https://github.com/apache/kafka/pull/16782
--
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] KAFKA-17227: Refactor compression code to only load codecs when used [kafka]
Posted by "jlprat (via GitHub)" <gi...@apache.org>.
jlprat commented on PR #16782:
URL: https://github.com/apache/kafka/pull/16782#issuecomment-2268589351
One small note about this change, the class `CompressionType` is not meant to be a public one, right? It's not i nthe Javadoc, but package-wise it might feel like it's public. A quick search on GH shows some usages of this class (that are not coming from forks of Kafka): https://github.com/search?q=org.apache.kafka.common.record.CompressionType&type=code
If it's public, we the changes made are source-compatible, but not binary-compatible. What this means is that if there is any library that needs this class, it would need to be recompiled in order to work with newer versions (as opposed to binary-compatible where no re-compilation is needed).
--
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] KAFKA-17227: Refactor compression code to only load codecs when used [kafka]
Posted by "mimaison (via GitHub)" <gi...@apache.org>.
mimaison commented on PR #16782:
URL: https://github.com/apache/kafka/pull/16782#issuecomment-2269640228
Yes that's the plan but I got sidetracked by a bunch of other things this afternoon. I'll do the backports tomorrow.
--
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] KAFKA-17227: Refactor compression code to only load codecs when used [kafka]
Posted by "jlprat (via GitHub)" <gi...@apache.org>.
jlprat commented on PR #16782:
URL: https://github.com/apache/kafka/pull/16782#issuecomment-2268409306
Sorry, @mimaison you'll need to rebase as we both added a comment on top of the dependency for zstd-jni (different types of comments though)
--
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] KAFKA-17227: Refactor compression code to only load codecs when used [kafka]
Posted by "jlprat (via GitHub)" <gi...@apache.org>.
jlprat commented on PR #16782:
URL: https://github.com/apache/kafka/pull/16782#issuecomment-2269502906
@mimaison will you backport this to `3.8` and `3.9`?
--
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] KAFKA-17227: Refactor compression code to only load codecs when used [kafka]
Posted by "mimaison (via GitHub)" <gi...@apache.org>.
mimaison commented on PR #16782:
URL: https://github.com/apache/kafka/pull/16782#issuecomment-2268564631
Thanks, I've just rebase my branch. Let's wait for the CI 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] KAFKA-17227: Refactor compression code to only load codecs when used [kafka]
Posted by "mimaison (via GitHub)" <gi...@apache.org>.
mimaison commented on PR #16782:
URL: https://github.com/apache/kafka/pull/16782#issuecomment-2268637350
`CompressionType` is not part of the public API, the whole `org.apache.kafka.common.record` package is not public.
--
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] KAFKA-17227: Refactor compression code to only load codecs when used [kafka]
Posted by "jlprat (via GitHub)" <gi...@apache.org>.
jlprat commented on PR #16782:
URL: https://github.com/apache/kafka/pull/16782#issuecomment-2268640666
Then, all good :+1:
--
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] KAFKA-17227: Refactor compression code to only load codecs when used [kafka]
Posted by "jlprat (via GitHub)" <gi...@apache.org>.
jlprat commented on PR #16782:
URL: https://github.com/apache/kafka/pull/16782#issuecomment-2269292506
All tests failures seem unrelated @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-unsubscribe@kafka.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org