Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-16730

Investigate changes in SERVER-89109: Enhance the DLQ messages to include source, offset info, processorName

      Original Downstream Change Summary

      I don't think we already document the schema of DLQ messages in the Atlas Stream Processing documentation. At some point we should document this schema. We can treat this ticket as the source of truth for the DLQ schema.

      Description of Linked Ticket

      In order for the customer to be able to successfully re-process DLQ messages we would like some additional information added when DLQ documents are written. 

      {
        doc: {
          _ts: ISODate("2023-01-01T00:00:00Z"),
          _stream_meta: {
             source.offset: 42,      // kafka offset/partition info
             source.partition: 1,
             ...
          },
          a: 1
        },
        errInfo: {
           reason: "Input document arrived late."
        },
        processorName: "foo123"   // processor name that originated this message
        instanceName: "mySP01".   // instance name that originated this message
        // Other fields for the specific error. The missedWindowStartTimes is an example for late arriving documents.
        missedWindowStartTimes: [ISODate("2023-01-01T00:00:00Z")] 
      } 

       

            Assignee:
            Unassigned Unassigned
            Reporter:
            backlog-server-pm Backlog - Core Eng Program Management Team
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              3 weeks, 6 days ago