confluentinc / event-streaming-patterns

A collection of Event Streaming Patterns, including problem statements, solutions, and implementation examples.
Apache License 2.0
13 stars 6 forks source link

Pattern for Claim Check for large messages #138 #144

Closed ybyzek closed 3 years ago

ybyzek commented 3 years ago

Description

https://github.com/confluentinc/event-streaming-patterns/issues/138

This pattern is a sister to https://github.com/confluentinc/event-streaming-patterns/pull/146

@benstopford @miguno this pattern was not on the original list, so in addition to normal review, please also validate:

  1. Title
  2. Categorization

New Pattern Checklist

benstopford commented 3 years ago

Nice. Just thinking about the name. "Message By Reference" might be better or something along those lines.

ybyzek commented 3 years ago

Nice. Just thinking about the name. "Message By Reference" might be better or something along those lines.

@benstopford @miguno I've also seen this pattern referred to as Bag Check or Claim Check. Additional references for this name:

So renaming options include:

  1. Message by Reference
  2. Bag Check
  3. Claim Check
  4. ...

Based on frequency in my brief searching, my leaning is number 3 Claim Check. Thoughts?

rspurgeon commented 3 years ago

@ybyzek in the diagram, the Event Processor has an arrow pointing to the external data source, that might confuse someone thinking that the event processor is writing to it. IMO The event processor should indicate that it reads only from the external source based on the address in the event.

miguno commented 3 years ago

About the pattern name: I don't have a strong opinion. I'm fine with "Claim Check". What also works for me is "Event Reference" or "Event By Reference".