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

Webhook service failts to deliver big messages #257

Open
destag opened this issue Jun 28, 2024 · 0 comments
Open

Webhook service failts to deliver big messages #257

destag opened this issue Jun 28, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@destag
Copy link
Contributor

destag commented Jun 28, 2024

When we change campaign that has big config associated with it, the webhook service associated with it will fail.

How it works:

  • We change the campaign
  • Proca.Stage.Event is emitted to rabbitmq
  • Proca.Stage.Webhook receives the message
  • Proca.Stage.Webhook sends request to webhook service
  • when the payload is bigger than 64KB, it fails because of Tesla.Adapter.Mint http2 error

The question is how should we handle that big messages?


Some details about last error of this kind:

message_size: 239174 bytes
x-death:	
    count: 435
    exchange: org.320.event
    queue: wrk.1.webhook
    reason: rejected
    routing-keys: system.campaign_updated
    time: 1719321465 # 2024-06-25 13:17:45+00:00
@destag destag added the bug Something isn't working label Jun 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant