Skip to main content

transaction_pid_install_decision

Function transaction_pid_install_decision 

Source
pub fn transaction_pid_install_decision(
    partition_matches: bool,
    producer_id: i64,
    producer_epoch: i16,
    next_producer_id: i64,
    next_producer_epoch: i16,
    current_owner_matches: bool,
    next_owner_matches: bool,
) -> TransactionPidInstallDecision
Expand description

Admit only a well-formed, uniquely owned producer-ID pair from the transaction log partition selected by its transactional ID.