aerospike / aerospike-client-java

Aerospike Java Client Library
Other
236 stars 212 forks source link

Support kqueue netty native transport #175

Closed SamBarker closed 3 years ago

SamBarker commented 3 years ago

Our team has a mix of Linux and Macos users and we reently tried to enable support for native transport in our apps using netty.

However this failed mysteriously for all the Macos users when trying to run our aerospike tests. After a lot of digging we realised that it was because netty was able to load the native transport driver in our project (we have the correct dependency in our pom) we detected that kqueue was available and configured the eventloop group we provided to the aerospike client as a KQueueEventLoopGroup. This doesn't work due to NettyCommand specifying the channel as NioSocketChannel.class.

BrianNichols commented 3 years ago

Your pull request has been accepted. It will appear in the next release of the java client.