Skip to content
This repository has been archived by the owner on Jun 17, 2024. It is now read-only.

Using persistent subscriptions with Akka Streams #94

Open
evan108108 opened this issue Jun 13, 2017 · 15 comments
Open

Using persistent subscriptions with Akka Streams #94

evan108108 opened this issue Jun 13, 2017 · 15 comments

Comments

@evan108108
Copy link

Does anyone know if using competing consumers with persistent subscriptions is possible via the akka streams interface?

@t3hnar
Copy link
Contributor

t3hnar commented Jun 14, 2017

sure it is possible

@Kajvdh
Copy link

Kajvdh commented Jun 16, 2017

Are there any examples available that show how it is possible to subscribe to a persistent subscription with Java?

@evan108108
Copy link
Author

I would love to see a Scala example using Akka Streams and persistent subscriptions.

@t3hnar
Copy link
Contributor

t3hnar commented Jun 18, 2017

@evan108108
Copy link
Author

Not sure what the wider community wants but I for one would love to have this feature.

@Kajvdh
Copy link

Kajvdh commented Jun 19, 2017

@t3hnar It is just an example on how to create, update or delete Persistent subscriptions. I am looking for an example on how I can actually subscribe to the created persistent subscription.

@michielboekhoff
Copy link
Contributor

@Kajvdh

When you create the PersistentSubscriptionActor, you can specify the actor that is to receive all messages as the second argument to props. We use Scala internally, so I'm not sure how it translates to Java.

@evan108108
Copy link
Author

evan108108 commented Jun 19, 2017

@t3hnar :> Any chance you guys are working on this feature?

@michielboekhoff
Copy link
Contributor

@evan108108 I could have a look at this at some point this week.

@evan108108
Copy link
Author

evan108108 commented Jun 20, 2017

@michielboekhoff:> Thanks that's amazing!

@michielboekhoff
Copy link
Contributor

@evan108108 This issue is sort of blocked by #99. Right now, I'm fixing that issue first - removing all of these deprecations, so it'll work with GraphStage rather than ActorPublisher. I'll keep you updated.

@evan108108
Copy link
Author

@michielboekhoff :> Understood. I really appreciate the update. Let me know if I can help...

@evan108108
Copy link
Author

@t3hnar :> Any chance you guys are working on this feature?

@t3hnar
Copy link
Contributor

t3hnar commented Apr 11, 2018

@evan108108 I have no time on implementing new features in the client, but I'm willing to help client users to implement features on their own and merge in.
Most of the last code changes made by @ahjohannessen, maybe he can share his thoughts on this matter.

@ahjohannessen
Copy link
Contributor

Seems like most of that persistent subscription code is similar to what we implemented with graph stages.

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

5 participants