PublishEventsRequest: Message<"virtufin.PublishEventsRequest"> & {
    consumer: string;
    events: PublishRequest[];
    pace: boolean;
}

Type declaration

  • consumer: string

    The publisher's own consumer id (ConsumerPosition.consumer), if it consumes a topic it publishes to: its own positions do not hold back its paced call.

    from field: string consumer = 3;

  • events: PublishRequest[]

    from field: repeated virtufin.PublishRequest events = 1;

  • pace: boolean

    Wait while a consumer of one of the topics is behind: while any consumer that reported its progress (ReportProgress) and is not idle lags by the gateway's PubsubPaceHighWaterSeconds (default 30, half the chart's streamTTL) or more, the call is held, and published once none does. Held longer than PubsubPaceMaxWaitSeconds (default 60), it ends with RESOURCE_EXHAUSTED and nothing is published; the status names the slowest consumer and its lag. For a publisher that can wait (a replay, a simulation, synthetic data), never for live data. Unset: published at once, as always.

    from field: bool pace = 2;

from message virtufin.PublishEventsRequest