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

Make the server side subjects a setting (not a constant) #17

Open
cdevienne opened this issue Oct 20, 2017 · 3 comments
Open

Make the server side subjects a setting (not a constant) #17

cdevienne opened this issue Oct 20, 2017 · 3 comments

Comments

@cdevienne
Copy link
Member

Currently the client side can be configured at runtime to use a different subject.
The server side, on the other hand, uses constants to define the subject it listens to (and parse).
This situation is inconsistent, it should be made consistent by removing the setting on the client or adding some settings on the server.

@zeevallin
Copy link

It would also be nice if we could set a general subject namespace at runtime.

@cdevienne
Copy link
Member Author

Hello @zeeraw,

You can use the package subject parameters to do that:

option (nrpc.packageSubjectParams) = "instance";

@zeevallin
Copy link

That's cool, thank you @cdevienne – Really need to dig deeper into the examples.

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