nats-rpc/nrpc

The project maintainability is dropping

Closed this issue · 2 comments

kulak commented

I tried rebuilding the project and I found that things are hard to recompile:

  • test assert is gone.
  • reflection based protocol buffers library is out.
  • and protocol buffers promise to drop support for generator:
WARNING: Package "github.com/golang/protobuf/protoc-gen-go/generator" is deprecated.
        A future release of golang/protobuf will delete this package,
        which has long been excluded from the compatibility promise.
kulak commented

The reason I raised the issue is that I've been looking at what it would take to upgrade it to latest protocol buffers implementation from Google. It is actually not that bad.

I have a commit here: kulak@3307e4f

But, I was defeated by protoc-gen-nrpc and the need to replace "github.com/golang/protobuf/protoc-gen-go/generator". While I can do it, it will take me a lot more time to understand the plumbing and to locate the replacement library and to actually replace it.

So, I will be moving my private project to direct use of NATS, because I need to use int64 string serialization provided by latest version of JSON serializer for protocol buffers. Unless of course original maintainers upgrade the project ;)

I should have the same issue soon so I will definitely fix it. Thanks for reporting.
My goal is to keep nrpc up-to-date with upstream projects, so you should not have big issue with maintainability.