akka-persistence-sql-async icon indicating copy to clipboard operation
akka-persistence-sql-async copied to clipboard

PostgreSQL message/record size

Open areczeq opened this issue 10 years ago • 2 comments

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

areczeq avatar Nov 17 '15 21:11 areczeq

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.

okumin avatar Dec 03 '15 17:12 okumin

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

https://github.com/scalikejdbc/scalikejdbc/issues/482

NoOrdInaryGuy avatar Jan 18 '16 16:01 NoOrdInaryGuy