Class ExternalEventResponse

  • All Implemented Interfaces:
    java.io.Externalizable , java.io.Serializable , java.lang.Comparable , org.apache.avro.generic.GenericContainer , org.apache.avro.generic.GenericRecord , org.apache.avro.generic.IndexedRecord , org.apache.avro.specific.SpecificRecord

    
    public class ExternalEventResponse
    extends SpecificRecordBase implements SpecificRecord
                        

    Events from workers that are sent back to the flow worker to be consumed by flows

    • Constructor Detail

      • ExternalEventResponse

        ExternalEventResponse()
        Default constructor.
      • ExternalEventResponse

        ExternalEventResponse(String requestId, ByteBuffer payload, ExternalEventResponseError error, Instant timestamp)
        All-args constructor.
        Parameters:
        requestId - The request id of the external event response.
        payload - Avro serialized representation of the underlying payload that can contain domain specific information that is not serialized into the data property.
        error - The ExternalEventResponseError representing an error that occurred when processing the incoming external event request.
        timestamp - Time ([Instant]) in milliseconds when the response was created.