Skip to content

Instantly share code, notes, and snippets.

@almibe
Created November 4, 2018 20:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save almibe/26e9c0d2afe1ad8abdf3e6c87bfd18f0 to your computer and use it in GitHub Desktop.
Save almibe/26e9c0d2afe1ad8abdf3e6c87bfd18f0 to your computer and use it in GitHub Desktop.
Local hazelcast config example
val config = Config()
config.networkConfig.join.multicastConfig.isEnabled = false
config.networkConfig.join.tcpIpConfig.isEnabled = true
config.networkConfig.publicAddress = "127.0.0.1"
val instance = Hazelcast.newHazelcastInstance(config)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment