All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.nosqlbench.driver.pulsar.exception.PulsarMsgLossException Maven / Gradle / Ivy

Go to download

A Pulsar driver for nosqlbench. This provides the ability to inject synthetic data into a pulsar system.

There is a newer version: 4.15.102
Show newest version
package io.nosqlbench.driver.pulsar.exception;

public class PulsarMsgLossException extends RuntimeException {

    public PulsarMsgLossException(boolean asyncPulsarOp, long nbCycleNum, long curMsgSeqId, long prevMsgSeqId) {
        super("" + (asyncPulsarOp ? "[AsyncAPI]" : "[SyncAPI]") +
            " Detected message sequence id gap (curCycleNum=" + nbCycleNum +
            ", curMsgSeqId=" + curMsgSeqId + ", prevMsgSeqId=" + prevMsgSeqId + "). " +
            "Some published messages are not received!");
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy