You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/** * Lookup the name and return a string of the form name:port that represents the endpoint or control param * of the URI. * * @param name to lookup * @param uriParamName that the lookup is for. * @param isReLookup {@code true} if this is a re-lookup or {@code true} if initial lookup. * @return string in name:port form. */defaultStringlookup(Stringname, StringuriParamName, booleanisReLookup)
{
returnname;
}
it's not really clear from the java docs what this method really does. It returns the given name by default. In which cases would you return something different? Am I able through this to override the given control host/port for instance?
Thank you.
The text was updated successfully, but these errors were encountered:
Couldn't find my answer in the official wiki docs - https://github.com/real-logic/aeron/wiki/Name-Resolution.
I understand the default name resolver can be taken out and replaced with a custom implementation based on the NameResolver interface https://github.com/real-logic/aeron/blob/master/aeron-driver/src/main/java/io/aeron/driver/NameResolver.java.
Looking at the interface
it's not really clear from the java docs what this method really does. It returns the given name by default. In which cases would you return something different? Am I able through this to override the given control host/port for instance?
Thank you.
The text was updated successfully, but these errors were encountered: