Implementing a generic distributor using protobuf extensions in Netty?

You can specify an ExtensionRegistry when you construct a ProtobufDecoder as described in the API documentation.

You can specify an ExtensionRegistry when you construct a ProtobufDecoder, as described in the API documentation.

Thanks, Trustin - I already knew that but the bit I'm confused about is that I don't want the distributor to know about all the extensions, and therefore the ExtensionRegistry I give to the ProtobufDecoder will be pretty much empty. I think that's OK - I can reserialize the message and pass it on to a handler that does it's own decoding with an ExtensionRegistry that knows about the relevant extensions. Correct?

– Neil Gendzwill Nov 16 at 14:49 Unfortunately, I didn't have a chance to work with protobuf extensions, so I'm not sure it's correct or not. My guess though is, it should work. Please get back here and let us know if it works.

– Trustin Lee Nov 16 at 23:07.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions