Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PostgreSQL message/record size #12

Open
areczeq opened this issue Nov 17, 2015 · 2 comments
Open

PostgreSQL message/record size #12

areczeq opened this issue Nov 17, 2015 · 2 comments

Comments

@areczeq
Copy link

areczeq commented Nov 17, 2015

In "com.github.mauricio" %% "mysql-async" % "0.2.16" dependency there is a limit for a record size set to 16MB. The internal config parameter name is maximumMessageSize.
If the size is reached the snapshots cannot be read. An exception is thrown:
com.github.mauricio.async.db.postgresql.exceptions.MessageTooLongException: Message of type 68 has size 16948250, higher than the limit 16777216
Unfortunately there is no way to change the limit without the code modification (which I temporarily did)

It would be useful to be able to set that limit up in application.conf (additional configuration key)

Best regards
areczeq

@okumin
Copy link
Owner

okumin commented Dec 3, 2015

Akka-persistence-sql-async depends on ScalikeJDBC and it has no parameter for maximumMessageSize.
I would like to modify ScalikeJDBC first and fix the problem.

@NoOrdInaryGuy
Copy link

I am experiencing this too - I couldn't find an issue on the upstream repository (ScalikeJDBC), so I've raised one:

scalikejdbc/scalikejdbc#482

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants