No warning logged that I could see.
I "wrote" the thing out and when I ran recovery it wasn't there.
But investigations are still on-going as turning the messages on causes
exceptions prior to this particular item as I'm apparently attempting to
serialize things that I didn't think I was.

Is some form of warning part of the tck?


On 21 February 2016 at 10:31, Patrik Nordwall <patrik.nordw...@gmail.com>
wrote:

> What do you mean with silently swallows? Either it will be logged as
> warning "Rejected to persist event type..." or as error "Failed to persist
> event type..." depending on if your journal plugin treats serialization
> issues as rejections or failures.
>
> /Patrik
>
> On Sun, Feb 21, 2016 at 10:52 AM, Tim Pigden <tim.pig...@optrak.com>
> wrote:
>
>> I've just spent a few hours tracking down a mysterious failure in
>> previously working code that used akka persistence.
>> Eventually I tracked it down to the fact that akka persistence silently
>> swallows non-serializable messages with no warning.
>> Now I appreciate that
>> serialize-message = on
>> is a documented setting and it does the job.
>>
>> But it's kinda hidden way down the serialization page in the docs.
>> And since at least 2 serializers (default java and contributed kyro) need
>> no configuration, and there's a big red warning not to use it in
>> production, it is quite likely that people will not see it or not think to
>> turn it on.
>>
>> So firstly, is it that hard to efficiently report on a failed attempt at
>> serialization at run time, for normal use? After all - it's got to be a
>> programming error hasn't it? At least in akka-persistence.
>> Secondly, perhaps users of akka persistence should get a strong
>> recommendation in the docs to turn it on in their tests.
>>
>> ------------------------------------
>> “But the plans were on display…”
>> “On display? I eventually had to go down to the cellar to find them.”
>> “That’s the display department.”
>> “With a flashlight.”
>> “Ah, well, the lights had probably gone.”
>> “So had the stairs.”
>> “But look, you found the notice, didn’t you?”
>> “Yes,” said Arthur, “yes I did. It was on display in the bottom of a
>> locked filing cabinet stuck in a disused lavatory with a sign on the door
>> saying ‘Beware of the Leopard.”
>> The Hitchhiker's Guide to the Galaxy
>>
>>
>> --
>> >>>>>>>>>> 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
> Typesafe <http://typesafe.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 a topic in the
> Google Groups "Akka User List" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/akka-user/437oIzqVhTk/unsubscribe.
> To unsubscribe from this group and all its topics, 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.
>



-- 
Tim Pigden
Optrak Distribution Software Limited
+44 (0)1992 517100
http://www.linkedin.com/in/timpigden
http://optrak.com
Optrak Distribution Software Ltd is a limited company registered in England
and Wales.
Company Registration No. 2327613 Registered Offices: Suite 6,The Maltings,
Hoe Lane, Ware, SG12 9LR England
This email and any attachments to it may be confidential and are intended
solely for the use of the individual to whom it is addressed. Any views or
opinions expressed are solely those of the author and do not necessarily
represent those of Optrak Distribution Software Ltd. If you are not the
intended recipient of this email, you must neither take any action based
upon its contents, nor copy or show it to anyone. Please contact the sender
if you believe you have received this email in error.

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