Interface TypedRejectionWriter
public interface TypedRejectionWriter
-
Method Summary
Modifier and TypeMethodDescriptionvoidappendRejection(TypedRecord<? extends RecordValue> command, RejectionType type, String reason) Append a rejection command to the result builder
-
Method Details
-
appendRejection
Append a rejection command to the result builder- Parameters:
command- the command that is rejectedtype- the type of rejectionreason- the reason for the rejection- Throws:
ExceededBatchRecordSizeException- if the appended command doesn't fit into the RecordBatch
-