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
Change behavior handling of consumer/supplier in builder #512
Comments
this is very verbose can you explain the value and what it try to solve? |
@ronenhamias currently, we just override options when we invoke them again. For example, if I set some seed address firstly and then I want to add members and to do it I need to specify the seed again and the members. |
And java |
can you provide an example that demonstrate a problem or uscase that have issue and how it can be solved? |
@ronenhamias What do you expect from the next sample? Microservices.builder()
.discovery(options -> options.host("177.17.0.1"))
.discovery(options -> options.port(8888)) The current behavior will try to connect to localhost:8888 instead of 177.17.0.1:8888. |
As you know I worked to fix this behavior just recently. Go ahead and verify you concerns with latest code. |
@artem-v |
for now, I lose the previous settings when I invoke the options setter several times:
I'd like to propose making it in the
Microservices
like this:The text was updated successfully, but these errors were encountered: