These are chat archives for atomix/atomix

7th
May 2018
Johno Crawford
@johnou
May 07 2018 13:53
@kuujo PrimaryBackupAtomicValueTest hangs?
otwinows
@otwinows
May 07 2018 14:21
hi @ll again, quick question: I need to react when new LEADER is elected, is there any listener where I can register my custom code???
otwinows
@otwinows
May 07 2018 15:56
ok got it: LeaderElectionExample... thx
rbondar
@rbondar
May 07 2018 17:13
Are there any examples with secure atomix communications on the netty layer? Securing via custom serializing is an option but looks like a workaround.
Johno Crawford
@johnou
May 07 2018 17:13
Atomix supports TLS at Netty level
      String ksLocation = System.getProperty("javax.net.ssl.keyStore", DEFAULT_KS_FILE.toString());
      String tsLocation = System.getProperty("javax.net.ssl.trustStore", DEFAULT_KS_FILE.toString());
      char[] ksPwd = System.getProperty("javax.net.ssl.keyStorePassword", DEFAULT_KS_PASSWORD).toCharArray();
      char[] tsPwd = System.getProperty("javax.net.ssl.trustStorePassword", DEFAULT_KS_PASSWORD).toCharArray();
just need to set these, TLS is enabled by default
rbondar
@rbondar
May 07 2018 17:18
thx @johnou
Jordan Halterman
@kuujo
May 07 2018 20:52
Yeah we need to clean up that Netty configuration