akaltsikis opened a new pull request, #16871:
URL: https://github.com/apache/kafka/pull/16871
Using the native docker image, we faced issues when trying to create a topic
that has `compression_type=zstd".
That basically threw the following error, which was only disappeared when we
tried to disable the compression on the topic.
```
ERROR [ReplicaManager broker=1] Error processing append operation on
partition <topic_name>-<partition_number> (kafka.server.ReplicaManager)
java.lang.NoSuchFieldError:
com.github.luben.zstd.ZstdOutputStreamNoFinalizer.dstPos
at
org.graalvm.nativeimage.builder/com.oracle.svm.core.jni.functions.JNIFunctions$Support.getFieldID(JNIFunctions.java:1357)
at
org.graalvm.nativeimage.builder/com.oracle.svm.core.jni.functions.JNIFunctions.GetFieldID(JNIFunctions.java:449)
at
com.github.luben.zstd.ZstdOutputStreamNoFinalizer.resetCStream(Native Method)
at
com.github.luben.zstd.ZstdOutputStreamNoFinalizer.close(ZstdOutputStreamNoFinalizer.java:423)
at
com.github.luben.zstd.ZstdOutputStreamNoFinalizer.close(ZstdOutputStreamNoFinalizer.java:405)
at
[email protected]/java.io.FilterOutputStream.close(FilterOutputStream.java:193)
at
[email protected]/java.io.FilterOutputStream.close(FilterOutputStream.java:193)
```
*More detailed description of your change,
if necessary. The PR title and PR message become
the squashed commit message, so use a separate
comment to ping reviewers.*
*Summary of testing strategy (including rationale)
for the feature or bug fix. Unit and/or integration
tests are expected for any behaviour change and
system tests should be considered for larger changes.*
### 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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]