Disabling Native class

Hello,

I’m trying to use java-client with graalvm native build I have problem with instantiating the com.couchbase.client.core.deps.io.netty.channel.kqueue.Native class. Is there a way to disable this native mode ? is it mandatory for usage of couchbase java client ?

Thks in advance

Z.

@zbendhiba on the IoEnvironment, you can set nativeIoEnabled to false which will make it use the regular java NIO based event loop etc.

But please note that we are still working on full grallvm native support for the SDK, it’s not done yet and you might run into other issues. Btw if you got a native build to work for your env, it would be great if you could share the config files you used so we can double check with our work in progress.

Thanks!

Thanks, I let you know.

Do you have an open issue related to that work on your team, that I can check?

By the way, I didn’t find that piece of code on github. Is the version 3.x of the SDK on GitHub and open source ?
Thanks in advance

Zineb

Yes, SDK 3 is fully open source and can be found here: https://github.com/couchbaselabs/couchbase-jvm-clients

Thanks for feedback.

Can you keep me update with your work?

Can I know what sort of native config are you working on and if you’re planning to have a quarkus extension ?

This is my gitHub issue : have a quarkus native extension for couchbase in camel-quarkus : https://github.com/apache/camel-quarkus/issues/1188 . I am postponing this one.

Thanks in advance

Zineb