Domanda

On the Migration guide from Akka 2.2.x to 2.3 I noticed the following brief mention:

Deprecated STM Support for Agents
Agents participating in enclosing STM transaction is a deprecated feature.

I googled to find out about the reasons for this choice and I could not find any discussion about it.

Why was this feature deprecated (and eventually will be removed) from Akka?
Is there a newer approach to the achieve similar results?

Akka Essentials, by Munish K. Gupta, dedicates a whole chapter to the topic so, being a recent adopter of Akka, I would be surprised if the feature was just dropped...

Thanks for any clarification.

È stato utile?

Soluzione

The main reason is that transactors won't make much sense in a clustered environment. Since akka tries to offer location transparency, this features has fallen out of favor.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top