Structure of Messages Published to Kafka Topics

The ERP Export service publishes messages to Kafka topics. These messages contain the following sections:
  • Payload: Contains the information of the event that is published. The content of the payload matches that of the Message column in the erp_integration_outbound_standard_messages table.
  • Header: Contains metadata of the message, such as the topic to which the message has been published, the event type, the unique identifier of the message, etc. The following table describes some of the header fields; this list is not comprehensive.
    Field Description
    ID The unique identifier of the message.
    event-type The type of the event that is published. For example:
    • mes.erp.outbound.messages.XMLEventInfo: Indicates an operation complete event.
    • mes.erp.outbound.messages.ProcessOrderEvent: Indicates that the status of the process order has changed.
    event-aggregate-type The topic to which the event has been published.