eventuate-tram / eventuate-tram-core

Transactional messaging for microservices
Other
1.03k stars 185 forks source link

Messages Table #6

Open khashish opened 6 years ago

khashish commented 6 years ago

Is there a reason for limiting the payload of a message to 1000 characters only?

https://github.com/eventuate-tram/eventuate-tram-core/blob/master/postgres/initialize-database.sql

cer commented 6 years ago

No. The choice is arbitrary. We could certain increase it.

What message size are you using?

khashish commented 6 years ago

It could maybe saved on the database side with type “text” instead of ”varchar” or is there a reason that its varchar?

feanor777 commented 4 years ago

Yep, the same from my side, our JSON is much longer than 1000 chars. "text" would be much better I think.

feanor777 commented 4 years ago

And as I understood in saga_instance table, saga_data_json column is varchar(1000) for the same, reason?