These are chat archives for RBMHTechnology/eventuate

31st
Mar 2016
Martin Krasser
@krasserm
Mar 31 2016 06:55
@notxcain not out-of-the-box but you can achieve that with conditional requests. What's the use case?
Martin Krasser
@krasserm
Mar 31 2016 07:00
@hmatinho does the activator template as-is print the error messages or a custom application you built?

is there anyway I can create an adaptor for that part to hit the endpoints based on etcd instead of the default ones in conf ?

I do not understand what you mean. Can you elaborate please?

Denis Mikhaylov
@notxcain
Mar 31 2016 07:16
I want to have active-
Martin Krasser
@krasserm
Mar 31 2016 07:37
@notxcain ?
Denis Mikhaylov
@notxcain
Mar 31 2016 07:38
Sorry, buggy iOS version
I want to have active-passive deployment with 2 DCs, and I want to minimize failover downtime
Martin Krasser
@krasserm
Mar 31 2016 07:41
So you want to achieve strong consistency across DCs?
Martin Krasser
@krasserm
Mar 31 2016 08:08
@notxcain Eventuate was built for AP of CAP where individual locations remain available for writes if other locations (DCs) are down. It seems you'd like to choose CP of CAP where writes fail if they cannot be applied to all DCs (see also EACH_QUORUM in Cassandra). Why do you consider Eventuate for your use case at all?
Denis Mikhaylov
@notxcain
Mar 31 2016 08:11
@krasserm I was just curious how tunable consistency level in Eventuate is
Hugo Matinho
@hmatinho
Mar 31 2016 10:51
@krasserm Hi, i'm using gradle, sure what i meant with creating the adaptor was, creating a class that overrides the apply method in the ReplicationEndpoint object in the ReplicationConnection class to take into account that my replication endpoints aren't defined in the configuration but rather in a dynamic environment basically one where the netty.tcp.port is 0 and where i don't know beforehand the ip address of the seed nodes in an Akka Cluster.
Hugo Matinho
@hmatinho
Mar 31 2016 10:57
well basically my major issue comes from config.getStringList("eventuate.endpoint.connections")
if i could get it from the cluster instead of the configuration it would solve it
Martin Krasser
@krasserm
Mar 31 2016 12:25
Why don't you setup replication endpoints programmatically as described in the reference documentation?
I should however note that adding/removing replication connections dynamically to/from an activated replication endpoint is not implemented yet. See #142 and #143
Hugo Matinho
@hmatinho
Mar 31 2016 13:41
@krasserm thanks for the note on the documentation, will wait for the implementation of the adding/removing replication connections dynamically though
but yes indeed that might just work for what i need to do :) thanks @krasserm