Yordis Prieto Logo

Claim Check Pattern

When your messages are too fat for the broker, store the payload elsewhere and send a lightweight reference instead. Read the full blog post for the story behind the pattern.

128 KB
1 KB256 KB512 KB
Enable Claim Check Pattern
ProducerBrokermax 256 KBConsumer1publish(128 KB)2ack3poll4deliver(128 KB)5ack
  1. 1Producer sends the 128 KB payload to the broker.
  2. 2Broker acknowledges receipt.
  3. 3Consumer polls the broker for new messages.
  4. 4Broker delivers the full 128 KB payload to the consumer.
  5. 5Consumer acknowledges processing.