Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jraft-rheakv 无法直接使用grpc进行通信 #885

Open
lfygh opened this issue Sep 30, 2022 · 1 comment
Open

jraft-rheakv 无法直接使用grpc进行通信 #885

lfygh opened this issue Sep 30, 2022 · 1 comment

Comments

@lfygh
Copy link
Contributor

lfygh commented Sep 30, 2022

Exception in thread "main" java.lang.NullPointerException: null default instance: com.alipay.sofa.jraft.rhea.cmd.store.GetRequest
	at com.alipay.sofa.jraft.util.Requires.requireNonNull(Requires.java:55)
	at com.alipay.sofa.jraft.rpc.impl.GrpcServer.registerProcessor(GrpcServer.java:133)
	at com.alipay.sofa.jraft.rhea.StoreEngineHelper.addKvStoreRequestProcessor(StoreEngineHelper.java:94)

应该是没有自动注册rhea cmd相关的序列化和反序列化,即没有调用rpcFactory.registerProtobufSerializer()

@fengjiachun
Copy link
Contributor

你好,rheakv 没有支持 grpc,主要是序列化部分不支持,有兴趣可以考虑贡献一个 PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants