Re: [akka-user] File based durable mailboxes for akka actors

2018-01-04 Thread mandeep gandhi
Sure, I will give it a shot.
Thanks for the help.

On Thu, Jan 4, 2018 at 10:45 PM, Konrad “ktoso” Malawski <
konrad.malaw...@lightbend.com> wrote:

> Seems Durable (filebased) mailboxes weren’t even in 2.3, but 2.2… So even
> more ancient ;-)
> A question regarding them, made me assume you’re using those ancient
> version of Akka.
>
> Please give Persistence a try. There’s nothing durable mailboxes did
> better (or even as good as) Persistence does nowadays.
> The LevelDB is basically a file on the local host of the box using it
> anyway, if you just want such guarantee.
>
> --
> Cheers,
> Konrad 'ktoso ' Malawski
> Akka  @ Lightbend 
>
> On January 4, 2018 at 18:11:34, mandeep gandhi (welcomemand...@gmail.com)
> wrote:
>
> I was never using 2.3, I wrote 2.5.3, probably you misread the figures.
> Also, I was looking at Akka persistence as there were some other
> discussions in the forum regarding Durable mailbox vs Akka Persistence.
>
> I was looking for the recommended practices only.
>
>
> On Wednesday, January 3, 2018 at 2:32:52 PM UTC+5:30, Konrad Malawski
> wrote:
>>
>> Firstly, Akka 2.3 is not supported anymore… Since 2015.
>> Please upgrade to an actively maintained version, such as Akka 2.5.
>> Akka 2.4 will be EOL shortly as well. 2.4 and 2.5 are binary compatible
>> so there’s no reason whatsoever to remain on 2.4 (not mentioning 2.3).
>>
>> Akka 2.3 was enver released for Scala 2.12, and never will, thus, the
>> filebased mailboxes don’t exist for 2.12.
>> Because the filebased mailboxes module was deprecated in 2.3 and removed
>> ever since.
>> You can not mix Akka 2.3’s mailboxes with Akka 2.4 or 2.5; Akka 2.4/2.5+
>> are compatible with eachother, 2.3 is not.
>> https://doc.akka.io/docs/akka/current/common/binary-compatib
>> ility-rules.html
>>
>> They were also a very bad idea to begin with; you should be using Akka
>> Persistence which is a replacement for them.
>> Use this: https://doc.akka.io/docs/akka/2.5/scala/persistence.html
>> 
>>
>> If you insist on using filebased mailboxes, you can copy their sources
>> into your codebase and use them like that, the license allows for that.
>>
>> --
>> Cheers,
>> Konrad 'ktoso ' Malawski
>> Akka  @ Lightbend 
>>
>> On January 3, 2018 at 9:06:59, mandeep gandhi (welcome...@gmail.com)
>> wrote:
>>
>> Hi,
>> I wanted to know the current support if durable mailboxes with Akka. I am
>> using Akka version 2.5.3 and Scala 2.12.3 and I want to use
>> akka-mailbox-common for durable mailbox ( file system backed).
>> Unfortunately, akka-mailbox-common is not available for scala 2.12.
>> I tried something in build.sbt in library dependency "com.typesafe.akka"
>> % "akka-mailboxes-common_2.11" % “2.3.16” but it won’t work
>> giving me errors - "Modules were resolved with conflicting cross-version
>> suffixes” for akka-actor & akka-testkit dependency.
>>
>>
>>
>> So my question is -
>> a. Do I need to use some other library to get durable mailbox?
>> b. If not then can anyone suggest any workaround?
>>
>>
>>
>> Exact error -
>>
>> [error] Modules were resolved with conflicting cross-version suffixes in
>> {file:/}root:
>>
>> [error]com.typesafe.akka:akka-testkit _2.12, _2.11
>>
>> [error]com.typesafe.akka:akka-actor _2.12, _2.11
>>
>> [trace] Stack trace suppressed: run last *:update for the full output.
>>
>> [error] (*:update) Conflicting cross-version suffixes in:
>> com.typesafe.akka:akka-testkit, com.typesafe.akka:akka-actor
>>
>> >
>> --
>> >> Read the docs: http://akka.io/docs/
>> >> Check the FAQ: http://doc.akka.io/docs/akka/c
>> urrent/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+...@googlegroups.com.
>> To post to this group, send email to akka...@googlegroups.com.
>> Visit this group at https://groups.google.com/group/akka-user.
>> For more options, visit https://groups.google.com/d/optout.
>>
>> --
> >> 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.
>
>

-- 
>>  Read the docs: 

Re: [akka-user] File based durable mailboxes for akka actors

2018-01-04 Thread Konrad “ktoso” Malawski
Seems Durable (filebased) mailboxes weren’t even in 2.3, but 2.2… So even
more ancient ;-)
A question regarding them, made me assume you’re using those ancient
version of Akka.

Please give Persistence a try. There’s nothing durable mailboxes did better
(or even as good as) Persistence does nowadays.
The LevelDB is basically a file on the local host of the box using it
anyway, if you just want such guarantee.

-- 
Cheers,
Konrad 'ktoso ' Malawski
Akka  @ Lightbend 

On January 4, 2018 at 18:11:34, mandeep gandhi (welcomemand...@gmail.com)
wrote:

I was never using 2.3, I wrote 2.5.3, probably you misread the figures.
Also, I was looking at Akka persistence as there were some other
discussions in the forum regarding Durable mailbox vs Akka Persistence.

I was looking for the recommended practices only.


On Wednesday, January 3, 2018 at 2:32:52 PM UTC+5:30, Konrad Malawski
wrote:
>
> Firstly, Akka 2.3 is not supported anymore… Since 2015.
> Please upgrade to an actively maintained version, such as Akka 2.5.
> Akka 2.4 will be EOL shortly as well. 2.4 and 2.5 are binary compatible so
> there’s no reason whatsoever to remain on 2.4 (not mentioning 2.3).
>
> Akka 2.3 was enver released for Scala 2.12, and never will, thus, the
> filebased mailboxes don’t exist for 2.12.
> Because the filebased mailboxes module was deprecated in 2.3 and removed
> ever since.
> You can not mix Akka 2.3’s mailboxes with Akka 2.4 or 2.5; Akka 2.4/2.5+
> are compatible with eachother, 2.3 is not.
> https://doc.akka.io/docs/akka/current/common/binary-
> compatibility-rules.html
>
> They were also a very bad idea to begin with; you should be using Akka
> Persistence which is a replacement for them.
> Use this: https://doc.akka.io/docs/akka/2.5/scala/persistence.html
> 
>
> If you insist on using filebased mailboxes, you can copy their sources
> into your codebase and use them like that, the license allows for that.
>
> --
> Cheers,
> Konrad 'ktoso ' Malawski
> Akka  @ Lightbend 
>
> On January 3, 2018 at 9:06:59, mandeep gandhi (welcome...@gmail.com)
> wrote:
>
> Hi,
> I wanted to know the current support if durable mailboxes with Akka. I am
> using Akka version 2.5.3 and Scala 2.12.3 and I want to use
> akka-mailbox-common for durable mailbox ( file system backed).
> Unfortunately, akka-mailbox-common is not available for scala 2.12.
> I tried something in build.sbt in library dependency "com.typesafe.akka" %
> "akka-mailboxes-common_2.11" % “2.3.16” but it won’t work
> giving me errors - "Modules were resolved with conflicting cross-version
> suffixes” for akka-actor & akka-testkit dependency.
>
>
>
> So my question is -
> a. Do I need to use some other library to get durable mailbox?
> b. If not then can anyone suggest any workaround?
>
>
>
> Exact error -
>
> [error] Modules were resolved with conflicting cross-version suffixes in
> {file:/}root:
>
> [error]com.typesafe.akka:akka-testkit _2.12, _2.11
>
> [error]com.typesafe.akka:akka-actor _2.12, _2.11
>
> [trace] Stack trace suppressed: run last *:update for the full output.
>
> [error] (*:update) Conflicting cross-version suffixes in:
> com.typesafe.akka:akka-testkit, com.typesafe.akka:akka-actor
>
> >
> --
> >> 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+...@googlegroups.com.
> To post to this group, send email to akka...@googlegroups.com.
> Visit this group at https://groups.google.com/group/akka-user.
> For more options, visit https://groups.google.com/d/optout.
>
> --
>> 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.

-- 
>>  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 

Re: [akka-user] File based durable mailboxes for akka actors

2018-01-04 Thread mandeep gandhi
I was never using 2.3, I wrote 2.5.3, probably you misread the figures.  
Also, I was looking at Akka persistence as there were some other 
discussions in the forum regarding Durable mailbox vs Akka Persistence. 

I was looking for the recommended practices only.


On Wednesday, January 3, 2018 at 2:32:52 PM UTC+5:30, Konrad Malawski wrote:
>
> Firstly, Akka 2.3 is not supported anymore… Since 2015.
> Please upgrade to an actively maintained version, such as Akka 2.5.
> Akka 2.4 will be EOL shortly as well. 2.4 and 2.5 are binary compatible so 
> there’s no reason whatsoever to remain on 2.4 (not mentioning 2.3).
>
> Akka 2.3 was enver released for Scala 2.12, and never will, thus, the 
> filebased mailboxes don’t exist for 2.12.
> Because the filebased mailboxes module was deprecated in 2.3 and removed 
> ever since.
> You can not mix Akka 2.3’s mailboxes with Akka 2.4 or 2.5; Akka 2.4/2.5+ 
> are compatible with eachother, 2.3 is not.
>
> https://doc.akka.io/docs/akka/current/common/binary-compatibility-rules.html
>  
>
> They were also a very bad idea to begin with; you should be using Akka 
> Persistence which is a replacement for them.
> Use this: https://doc.akka.io/docs/akka/2.5/scala/persistence.html 
>  
>
> If you insist on using filebased mailboxes, you can copy their sources 
> into your codebase and use them like that, the license allows for that.
>
> -- 
> Cheers,
> Konrad 'ktoso ' Malawski
> Akka  @ Lightbend 
>
> On January 3, 2018 at 9:06:59, mandeep gandhi (welcome...@gmail.com 
> ) wrote:
>
> Hi, 
> I wanted to know the current support if durable mailboxes with Akka. I am 
> using Akka version 2.5.3 and Scala 2.12.3 and I want to use 
> akka-mailbox-common for durable mailbox ( file system backed). 
> Unfortunately, akka-mailbox-common is not available for scala 2.12.
> I tried something in build.sbt in library dependency "com.typesafe.akka" % 
> "akka-mailboxes-common_2.11" % “2.3.16” but it won’t work
> giving me errors - "Modules were resolved with conflicting cross-version 
> suffixes” for akka-actor & akka-testkit dependency.
>
>
>
> So my question is - 
> a. Do I need to use some other library to get durable mailbox?
> b. If not then can anyone suggest any workaround?
>
>
>
> Exact error - 
>
> [error] Modules were resolved with conflicting cross-version suffixes in 
> {file:/}root:
>
> [error]com.typesafe.akka:akka-testkit _2.12, _2.11
>
> [error]com.typesafe.akka:akka-actor _2.12, _2.11
>
> [trace] Stack trace suppressed: run last *:update for the full output.
>
> [error] (*:update) Conflicting cross-version suffixes in: 
> com.typesafe.akka:akka-testkit, com.typesafe.akka:akka-actor
>
> > 
> --
> >> 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+...@googlegroups.com .
> To post to this group, send email to akka...@googlegroups.com 
> .
> Visit this group at https://groups.google.com/group/akka-user.
> For more options, visit https://groups.google.com/d/optout.
>
>

-- 
>>  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.


Re: [akka-user] File based durable mailboxes for akka actors

2018-01-03 Thread Konrad “ktoso” Malawski
Firstly, Akka 2.3 is not supported anymore… Since 2015.
Please upgrade to an actively maintained version, such as Akka 2.5.
Akka 2.4 will be EOL shortly as well. 2.4 and 2.5 are binary compatible so
there’s no reason whatsoever to remain on 2.4 (not mentioning 2.3).

Akka 2.3 was enver released for Scala 2.12, and never will, thus, the
filebased mailboxes don’t exist for 2.12.
Because the filebased mailboxes module was deprecated in 2.3 and removed
ever since.
You can not mix Akka 2.3’s mailboxes with Akka 2.4 or 2.5; Akka 2.4/2.5+
are compatible with eachother, 2.3 is not.
https://doc.akka.io/docs/akka/current/common/binary-compatibility-rules.html


They were also a very bad idea to begin with; you should be using Akka
Persistence which is a replacement for them.
Use this: https://doc.akka.io/docs/akka/2.5/scala/persistence.html


If you insist on using filebased mailboxes, you can copy their sources into
your codebase and use them like that, the license allows for that.

-- 
Cheers,
Konrad 'ktoso ' Malawski
Akka  @ Lightbend 

On January 3, 2018 at 9:06:59, mandeep gandhi (welcomemand...@gmail.com)
wrote:

Hi,
I wanted to know the current support if durable mailboxes with Akka. I am
using Akka version 2.5.3 and Scala 2.12.3 and I want to use
akka-mailbox-common for durable mailbox ( file system backed).
Unfortunately, akka-mailbox-common is not available for scala 2.12.
I tried something in build.sbt in library dependency "com.typesafe.akka" %
"akka-mailboxes-common_2.11" % “2.3.16” but it won’t work
giving me errors - "Modules were resolved with conflicting cross-version
suffixes” for akka-actor & akka-testkit dependency.



So my question is -
a. Do I need to use some other library to get durable mailbox?
b. If not then can anyone suggest any workaround?



Exact error -

[error] Modules were resolved with conflicting cross-version suffixes in
{file:/}root:

[error]com.typesafe.akka:akka-testkit _2.12, _2.11

[error]com.typesafe.akka:akka-actor _2.12, _2.11

[trace] Stack trace suppressed: run last *:update for the full output.

[error] (*:update) Conflicting cross-version suffixes in:
com.typesafe.akka:akka-testkit, com.typesafe.akka:akka-actor

>
--
>> 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.

-- 
>>  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.