Function mz_storage::sink::kafka::encode_collection

source ยท
fn encode_collection<G: Scope>(
    name: String,
    input: &Collection<G, (Option<Row>, DiffPair<Row>), Diff>,
    envelope: SinkEnvelope,
    connection: KafkaSinkConnection,
    storage_configuration: StorageConfiguration,
) -> (Collection<G, KafkaMessage, Diff>, Stream<G, HealthStatusMessage>, PressOnDropButton)
Expand description

Encodes a stream of (Option<Row>, Option<Row>) updates using the specified encoder.

Input Row updates must me compatible with the given implementor of Encode.