As far as I can see the PersistencePluginProxy can only be used with the
default journal plugin and then you would
use PersistencePluginProxy.start(system).

I hope you need this for testing. PersistencePluginProxy is not intended
for production usage.

Regards,
Patrik

On Sat, Aug 6, 2016 at 12:46 AM, oleksiys <kvr...@gmail.com> wrote:

> Hi,
>
> I have a usecase, where I'd like to be able to move the proxied journal
> from one cluster node to another.
> Looks like I can redirect all the journal clients using:
>
> *PersistencePluginProxy.setTargetLocation(someNewLocation)*
>
> But now on the cluster node, that has to host the journal I need to
> actually start the actual journal plugin (considering the default journal
> plugin is proxied-journal).
> So I need a way to start a non-default journal plugin at runtime.
>
> The closest I could get to it was:
>
> *Persistence(system).adaptersFor(journalPluginId)*
>
> it looks a bit hacky, but unfortunately:
>
> *Persistence(system).journalFor(journalPluginId)*
> *Persistence(system).snapshotStoreFor(snapshotStorePluginId)*
>
> are all in the private[akka] scope.
>
> Any suggestions?
>
> Thank you.
>
> WBR,
> Alexey
>
> --
> >>>>>>>>>> Read the docs: http://akka.io/docs/
> >>>>>>>>>> Check the FAQ: http://doc.akka.io/docs/akka/
> current/additional/faq.html
> >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user
> ---
> You received this message because you are subscribed to the Google Groups
> "Akka User List" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to akka-user+unsubscr...@googlegroups.com.
> To post to this group, send email to akka-user@googlegroups.com.
> Visit this group at https://groups.google.com/group/akka-user.
> For more options, visit https://groups.google.com/d/optout.
>



-- 

Patrik Nordwall
Akka Tech Lead
Lightbend <http://www.lightbend.com/> -  Reactive apps on the JVM
Twitter: @patriknw

-- 
>>>>>>>>>>      Read the docs: http://akka.io/docs/
>>>>>>>>>>      Check the FAQ: 
>>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>>      Search the archives: https://groups.google.com/group/akka-user
--- 
You received this message because you are subscribed to the Google Groups "Akka 
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to akka-user+unsubscr...@googlegroups.com.
To post to this group, send email to akka-user@googlegroups.com.
Visit this group at https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to