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

io.quarkiverse.reactive.messaging.nats.jetstream.client.configuration.ConsumerConfiguration Maven / Gradle / Ivy

There is a newer version: 3.17.0
Show newest version
package io.quarkiverse.reactive.messaging.nats.jetstream.client.configuration;

import java.time.Duration;
import java.time.ZonedDateTime;
import java.util.List;
import java.util.Map;
import java.util.Optional;

import io.nats.client.api.AckPolicy;
import io.nats.client.api.DeliverPolicy;
import io.nats.client.api.ReplayPolicy;

public interface ConsumerConfiguration {

    String name();

    String stream();

    Optional durable();

    List filterSubjects();

    Optional ackWait();

    Optional deliverPolicy();

    Optional startSequence();

    Optional startTime();

    Optional description();

    Optional inactiveThreshold();

    Optional maxAckPending();

    Optional maxDeliver();

    Optional replayPolicy();

    Optional replicas();

    Optional memoryStorage();

    Optional sampleFrequency();

    Map metadata();

    List backoff();

    Optional ackPolicy();

    Optional pauseUntil();

    Optional> payloadType();

    boolean traceEnabled();

    boolean exponentialBackoff();

    Duration exponentialBackoffMaxDuration();

    Duration ackTimeout();

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy