Comments (8)
Do you think serialization error should fail wrapping future?
from akka-persistence-sql-async.
What I think should happen is that the cause stack trace should be logged to stderr and the resulting SQL should not be executed.
from akka-persistence-sql-async.
I think that it fails……
from akka-persistence-sql-async.
Apparently reference implementation for LevelDB catches serialization exceptions in Try monad but doesnt perform collect { Success() }
on resulting collection of Try
s.
from akka-persistence-sql-async.
Such a error should be notified to PersistentActor since journals don't work if some of them silently fails.
from akka-persistence-sql-async.
I remember that serialization errors can be rejected.
http://doc.akka.io/docs/akka/2.4/scala/persistence.html#Journal_plugin_API
I'm thinking to apply the following patches.
- Not executing when all the payload cannot be serialized
- Logging when a serialization error occurs
- This is for convenience
- Users who want to handle such an error can use onPersistRejected.
from akka-persistence-sql-async.
👍
from akka-persistence-sql-async.
I close this issue since it looks that the above solution is accepted.
The patch has been already applied.
2c449c5
Thanks.
from akka-persistence-sql-async.
Related Issues (19)
- An exception causes bad sql to be generated HOT 3
- Help for migration HOT 2
- PostgreSQL message/record size HOT 2
- Serialize as Json HOT 4
- How to close the debug info? HOT 3
- Metadata and Journal not being written atomically HOT 5
- New release HOT 2
- SSL Connection HOT 1
- Support for multiple Database configurations HOT 2
- Update homepage table instructions HOT 1
- SSL mode is not being parsed HOT 2
- Publish for Scala 2.12 HOT 1
- Change pass to password in configuration HOT 1
- Publish version 0.1.1 for password HOT 1
- Incompatible with Akka 2.4-M2 persistence API HOT 12
- Taking a snapshot and deleting old messages causes highest sequence nr to be reset HOT 9
- Implementing Persistence Query HOT 8
- Serialize writing events for the same persistence id
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from akka-persistence-sql-async.