You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Do the following (because Sonatype OSS snapshots is currently down) to publish a local snapshot of Micronaut Kafka. Sorry about this step but Sonatype OSS snapshots repo is down currently:
Error: com.oracle.graal.pointsto.constraints.UnsupportedFeatureException: Invoke with MethodHandle argument could not be reduced to at most a single call: java.lang.invoke.LambdaForm$MH.87134021.invoke_MT(Object, Object, Object)
Trace:
at parsing org.apache.kafka.common.record.CompressionType$5.wrapForOutput(CompressionType.java:122)
Call path from entry point to org.apache.kafka.common.record.CompressionType$5.wrapForOutput(ByteBufferOutputStream, byte):
at org.apache.kafka.common.record.CompressionType$5.wrapForOutput(CompressionType.java:122)
at org.apache.kafka.common.record.MemoryRecordsBuilder.<init>(MemoryRecordsBuilder.java:130)
at org.apache.kafka.common.record.MemoryRecordsBuilder.<init>(MemoryRecordsBuilder.java:166)
at org.apache.kafka.common.record.MemoryRecords.builder(MemoryRecords.java:534)
at org.apache.kafka.common.record.MemoryRecords.builder(MemoryRecords.java:516)
at org.apache.kafka.common.record.MemoryRecords.builder(MemoryRecords.java:451)
at org.apache.kafka.common.record.RecordsUtil.convertRecordBatch(RecordsUtil.java:110)
at org.apache.kafka.common.record.RecordsUtil.downConvert(RecordsUtil.java:88)
The text was updated successfully, but these errors were encountered:
I have seen similar issue appear with Akka and GraalVM 19.0.0 even though it was not present in with the -rc GraalVM versions. I was able to get things working by initializing all classes at build time (--initialize-at-build-time) which I believe was the default behavior before the 19.0.0. release. See vmencik/akka-graal-native#3 for details.
I am attempting to get Micronaut + Kafka Client operational on Graal 19.
I have the following flags specified additional to the ones that are already working for Micronaut core:
However, the native image build fails when processing the Kafka client code. Is this a known issue?
You can find a sample at https://github.com/micronaut-graal-tests/micronaut-graal-experiments/tree/master/kaftest
Steps to reproduce the issue:
Do the following (because Sonatype OSS snapshots is currently down) to publish a local snapshot of Micronaut Kafka. Sorry about this step but Sonatype OSS snapshots repo is down currently:
Then checkout the sample application:
Error result:
The text was updated successfully, but these errors were encountered: