Skip to content

ingest-attachments: error sending kafka message #5810

@sentry

Description

@sentry

User reports are occasionally too large for the broker. We should fix this by either lowering the size limit for user reports, or silencing the error for user reports (as long as there outcomes for each dropped user report).

Sentry Issue: RELAY-T

MessageSizeTooLarge: MessageSizeTooLarge (Broker: Message size too large)
KafkaError: Message production error: MessageSizeTooLarge (Broker: Message size too large)
tracing::error!: error sending kafka message
  File "mod.rs", line 275, in relay_kafka::producer::Producer::send::{{closure}}
    relay_log::error!(
  File "mod.rs", line 274, in relay_kafka::producer::Producer::send
    producer.send(record).map_err(|(error, _message)| {
  File "mod.rs", line 380, in relay_kafka::producer::KafkaClient::send
    producer.send(key, headers, variant, payload)
  File "mod.rs", line 353, in relay_kafka::producer::KafkaClient::send_message
    self.send(
  File "store.rs", line 946, in relay_server::services::store::StoreService::produce
    .send_message(topic, &message)
...
(61 additional frame(s) were not displayed)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingfillerRequires little effort to resolve. Ready to be picked up anytime.
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions