Interface TypedRejectionWriter


public interface TypedRejectionWriter
  • Method Details

    • appendRejection

      void appendRejection(TypedRecord<? extends RecordValue> command, RejectionType type, String reason)
      Append a rejection command to the result builder
      Parameters:
      command - the command that is rejected
      type - the type of rejection
      reason - the reason for the rejection
      Throws:
      ExceededBatchRecordSizeException - if the appended command doesn't fit into the RecordBatch