of

fun of(properties: WowProperties, environment: Environment): NodeIdentity

The identity properties configure: wow.service, else spring.application.name; wow.node.id, else the host name with a random suffix, so a restarted node is a new member; wow.node.address, else the internal server's bind address (this host's when it binds every interface) and wow.internal.port, or, when that port is 0, the port the internal server is bound at, known once it is, written as NodeAddress.of writes an address ([::1]:9191 for an IPv6 host); the bindHost, wow.internal.host, else the host of that member address. A wow.node.address that is a bare IPv6 literal with a port fails.