interface Options {
    cOpts?: ConsumerOptions;
    endpoint?: Endpoint;
    innerVerifier?: Verifier;
    mappingBatch?: number;
    mappingEntryType?: SvMappingEntry.Constructor<SvMappingEntry>;
    mappingVerifier?: Verifier;
    mustFilterByMapping?: boolean;
    outerVerifier?: Verifier;
    retxLimit?: number;
    sync: SvSync;
}

Properties

Consumer options.

Remarks

  • .describe is overridden as "SVS-PS" + prefix.
  • .retx defaults to Options.retxLimit.
  • .signal and .verifier are overridden.
endpoint?: Endpoint

Endpoint for communication.

Deprecated

Specify .cOpts.

innerVerifier?: Verifier

Inner Data verifier.

Default Value

no verification
mappingBatch?: number

Maximum quantity of MappingEntries to retrieve in a single query.

MappingEntry constructor.

Default Value

MappingEntry base type

mappingVerifier?: Verifier

Mapping Data verifier.

Default Value

no verification
mustFilterByMapping?: boolean

If true, force the retrieval of MappingData.

Remarks

When an update matches a SubscribePublisher, by default the MappingData is not retrieved. Since the filter functions in SubscribePrefixFilter depend on MappingEntry, they are not called, and each SubscribePrefixFilter is treated like a SubscribePrefix, which would receive the message if the topic prefix matches. Set this option to true forces the retrieval of MappingData and ensures filter functions are called.

outerVerifier?: Verifier

Outer Data verifier.

Default Value

no verification
retxLimit?: number

Retransmission limit for Data retrieval.

Default Value

2
sync: SvSync

SvSync instance.

See

SvPublisher.Options.sync regarding reuse