Hi

I was trying to use Scala Pickling to build a serializer. 

My basic problem is that I'm building an app with akka persistence and 
event streams, but it is hard to go into the database and look at what is 
going on. I'm using the Cassandra plugin and that plugin persists a 
serialized value in a blob. When debugging I think it is valuable to be 
able to browse the persisted state in a human readable form.

I succeeded after a fashion, I got it to pickle to JSON and persist that. 
But then I realized that my real problem was that the viewer I'm using to 
browse data would not display the binary data in any text format. 

If you have any idéas around this or know how other people solved it, that 
would be very interesting. My assumption now is that I will have to build a 
app specific viewer to see what is in the event log, which feels like 
spending time on solving the wrong type of problem.

/Magnus

Den fredag 3 april 2015 kl. 18:40:52 UTC+2 skrev Akka Team:
>
> Hi Magnus,
>  
>
>> But is this is a bug or expected behaviour? 
>>
> Yes, it is expected behavious.
> ActorPublisher / Subscriber / Processor are not meant to be sent around 
> over the network, thus they are not serializable.
> We'd like to work on distributing streams in an akka cluster, but it's not 
> a 1.0 goal for us (streams are pre-1.0).
>  
>
>> I can't continue with serialization as long as akka-stream is on my 
>> classpath.
>>
> I'm not sure what you are working on, but this should not be a blocker in 
> any case.
> The only thing we are preventing here is to serialize elements of a stream 
> which need to run locally, 
> so if you'd serialize it and send it around it would not work anyway.
>
> What are you trying to build? If you could describe the end result you 
> want to get to we can discuss how and if that's doable with the current 
> streams impl.
>  
>
>>
> -- Konrad
>  

-- 
>>>>>>>>>>      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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to