Skip to content

Conversation

ivannovosad
Copy link
Contributor

Context

There is an issue when we're calling ActivityLog with a huge payload e.g. an invoice with a lot of fees.
In that case we're hitting the Kafka payload limit (1MB by default) and getting WaterDrop::Errors::MessageInvalidError

Description

In order to fix this issue we skip fees to be serialized for invoices that have more than 25 fees.
So that ActivityLog would still log the invoice except the fees in this case.

@ivannovosad ivannovosad force-pushed the fix-activity-log-invoice-fees branch from a7b4976 to c8f7fc5 Compare August 6, 2025 13:36
@ivannovosad ivannovosad merged commit 83d4af5 into main Aug 6, 2025
14 checks passed
@ivannovosad ivannovosad deleted the fix-activity-log-invoice-fees branch August 6, 2025 13:42
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

Successfully merging this pull request may close these issues.

3 participants