Skip to content
This repository has been archived by the owner on Jan 20, 2025. It is now read-only.

Support for akka-typed #11

Open
cheatmenot opened this issue Aug 1, 2019 · 13 comments
Open

Support for akka-typed #11

cheatmenot opened this issue Aug 1, 2019 · 13 comments

Comments

@cheatmenot
Copy link

Hello, I am new to zio and akka, and maybe it is best we add support for akk-typed because most new developers are into akka-typed like me. Thanks!

@ghostdogpr
Copy link
Collaborator

@cheatmenot actually I was about to do it when I discovered that PubSub is missing in Akka Typed. There is a ticket for it, which is planned for Akka 2.6: akka/akka#26338

So my plan was to add it once 2.6 is out, but I’m not against adding the rest before that.

@ghostdogpr
Copy link
Collaborator

PubSub in Typed Akka will come later than 2.6.0: https://twitter.com/akkateam/status/1178244105647935488

We could still support cluster events and sharding in the meantime.

@justcoon
Copy link
Contributor

@ghostdogpr
Copy link
Collaborator

Great news! This issue is definitely doable now.

@fancywriter
Copy link

Hey @ghostdogpr. Any news about that?

@ghostdogpr
Copy link
Collaborator

@fancywriter I haven't got the time to work on this for now. If anyone is motivated, feel free to take it!

@MrKustra94
Copy link

I may take it.

@MrKustra94
Copy link

It took me a while, but I should publish the branch within a week.

@MrKustra94
Copy link

I come back with some updates.
I tried my best to try to migrate PubSub to Akka typed.
Unfortunately, basing only on Typed API is not sufficient. I couldn't find a way to check if Subscription is Acked. It implies race condition in tests and real life scenarios. Also, a lot of features could be dropped (lack of grouping, inability to dynamically send messages to arbitrary topic).
The same relates to cluster.
I can push what I've done recently so we can discuss it.

@jxnu-liguobin
Copy link

What is the current status of the issue?

@ghostdogpr
Copy link
Collaborator

What is the current status of the issue?

As the original author of this library, I am not investing time on it anymore, focusing on Shardcake for clustering capabilities. I am happy to transfer ownership if someone is motivated to maintain it.

@jxnu-liguobin
Copy link

I am interested in this, but I need Pekko

@ghostdogpr
Copy link
Collaborator

I think you can fork and make a new repo.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants