interface StreamConfig {
    appId?: string;
    batchSize?: number;
    maxRetries?: number;
    namespace?: string;
    nats?: {
        ackWait?: number;
        deliverPolicy?:
            | "all"
            | "new"
            | "last"
            | "byStartSequence"
            | "byStartTime";
        durableName?: string;
        jetstream?: boolean;
    };
    postgres?: {
        cleanupInterval?: number;
        partitionInterval?: "daily" | "weekly" | "monthly";
        pollInterval?: number;
        vacuumInterval?: number;
    };
    provider?: StreamProviderType;
    redis?: {
        blockingTimeout?: number;
        claimTimeout?: number;
        minIdleTime?: number;
    };
    sqs?: {
        deadLetterQueue?: string;
        dlqArn?: string;
        messageRetentionPeriod?: number;
        visibilityTimeout?: number;
        waitTimeSeconds?: number;
    };
    timeout?: number;
}

Properties

appId?: string
batchSize?: number
maxRetries?: number
namespace?: string
nats?: {
    ackWait?: number;
    deliverPolicy?:
        | "all"
        | "new"
        | "last"
        | "byStartSequence"
        | "byStartTime";
    durableName?: string;
    jetstream?: boolean;
}
postgres?: {
    cleanupInterval?: number;
    partitionInterval?: "daily" | "weekly" | "monthly";
    pollInterval?: number;
    vacuumInterval?: number;
}
redis?: {
    blockingTimeout?: number;
    claimTimeout?: number;
    minIdleTime?: number;
}
sqs?: {
    deadLetterQueue?: string;
    dlqArn?: string;
    messageRetentionPeriod?: number;
    visibilityTimeout?: number;
    waitTimeSeconds?: number;
}
timeout?: number