Skip to content

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

@lfygh

Description

@lfygh
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()

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions