Question

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.

Était-ce utile?

La solution

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.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top