The following code generates a java.net.MalformedURLException:
Looking at the underlying implementation of AddressFromURIString, the exception
derives from the use of java.net.URI to parse this string. Which in turn,
correctly throws an exception according to RFC 2396 (because URI hosts may not
contain underscore characters).
However, it is currently perfectly permissible to create an instance of
akka.actor.Address using a DNS hostname (which may contain underscores).
So, at first blush, it would appear that we need something like
AddressFromDNSString (or similar)?
For myself, I’m hitting this problem whilst building Akka clusters using
docker-compose with the scale command. In this use case, I have to expect the
presence of underscores since Docker libnetworking defines Docker containers
based on DNS names.
Any help or advice here greatly appreciated.
>>>>>>>>>> Read the docs: http://akka.io/docs/
>>>>>>>>>> Check the FAQ:
>>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user
You received this message because you are subscribed to the Google Groups "Akka
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email
To post to this group, send email to email@example.com.
Visit this group at https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.