QuestDB JavaScript Client - v5.0.0
    Preparing search index...

    Interface QwpRoutingOptions

    Browser-safe endpoint routing preferences for query sessions.

    Ingress takes none. QuestDB accepts writes on the primary alone: a replica, or a primary still catching up, answers the /write/v4 upgrade with 421 and the role it holds, and the endpoint sweep moves on, so a sender reaches the primary whatever role or zone it could ask for.

    interface QwpRoutingOptions {
        target?: QwpTarget;
        zone?: string;
    }

    Hierarchy (View Summary)

    Index

    Properties

    Properties

    target?: QwpTarget

    Selects any readable node, a primary/standalone node, or a replica.

    zone?: string

    Opaque, case-insensitive preferred zone; cross-zone fallback stays enabled.