Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Agent is deprecated with Akka 2.5, so refactor where it is used #471

Open
anilgursel opened this issue Jun 7, 2017 · 5 comments
Open

Agent is deprecated with Akka 2.5, so refactor where it is used #471

anilgursel opened this issue Jun 7, 2017 · 5 comments
Milestone

Comments

@anilgursel
Copy link
Collaborator

With Akka 2.5, Agent is deprecated. Please see http://doc.akka.io/docs/akka/current/scala/project/migration-guide-2.4.x-2.5.x.html#agents.

It is being used in squbs-unicomplex for keeping state. We need to refactor it.

@anilgursel anilgursel added this to the RELEASE-0.10.0 milestone Jun 7, 2017
@thefourtheye
Copy link
Contributor

There is no substitute for Agents, right? How are we planning to fix this?

@anilgursel
Copy link
Collaborator Author

Agent usage in Unicomplex is pretty small. We have not spend anytime on how to replace it but multiple design choices can be there. We can try to keep the state in an Actor instead. If you have any suggestions, please share.

@muditsin
Copy link

muditsin commented Sep 1, 2017

If this were to be replaced with an Actor, would one use an Await.result(actor ? get, duration)? What other possibilities would one have?

@akara
Copy link
Contributor

akara commented Sep 1, 2017

Can you please let us know your use of Agent. Will take a look how this can be fixed. No, you would not want to await either an agent or an Actor.

@muditsin
Copy link

muditsin commented Sep 1, 2017

@akara No use case of mine, I thought I could try to work on this issue if I knew how to replace the Agent. :)
The use case would be in TimeoutPolicy for Metrics, and Unicomplex.

@anilgursel anilgursel modified the milestones: RELEASE-1.0.0, RELEASE-0.10.0 Sep 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants