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

io.nosqlbench.driver.pulsar.exception.PulsarMsgDuplicateException 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 PulsarMsgDuplicateException extends RuntimeException {

    public PulsarMsgDuplicateException(boolean asyncPulsarOp, long nbCycleNum, long curMsgSeqId, long prevMsgSeqId) {
        super("" + (asyncPulsarOp ? "[AsyncAPI]" : "[SyncAPI]") +
            " Detected duplicate message when message deduplication is enabled (curCycleNum=" + nbCycleNum +
            ", curMsgSeqId=" + curMsgSeqId + ", prevMsgSeqId=" + prevMsgSeqId + ").");
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy