package com.lingniu.ingest.api.consumer;

import java.util.List;

/**
 * Optional extension for consumers that can persist a Kafka poll batch in one
 * storage operation.
 */
public interface EnvelopeBatchIngestor extends EnvelopeIngestor {

    List<EnvelopeIngestResult> tryIngestAll(List<byte[]> kafkaValues);
}
