interface Options {
    chunkSize?: number;
    endpoint?: Endpoint;
    id: Name;
    innerSigner?: Signer;
    mappingSigner?: Signer;
    outerSigner?: Signer;
    pOpts?: ProducerOptions;
    store: SvPublisher.DataStore;
    sync: SvSync;
}

Properties

chunkSize?: number

Segment chunk size of inner Data packet.

Default Value

8000
endpoint?: Endpoint

Endpoint for communication.

Deprecated

Specify .pOpts.

id: Name

Publisher node ID.

innerSigner?: Signer

Inner Data signer.

Default Value

nullSigner
mappingSigner?: Signer

Mapping Data signer.

Default Value

nullSigner
outerSigner?: Signer

Outer Data signer.

Default Value

nullSigner

Producer options.

Remarks

  • .describe is overridden as "SVS-PS" + prefix.
  • .dataSigner is overridden.

Data repository used for this publisher.

sync: SvSync

SvSync instance.

Remarks

Multiple SvSubscribers and SvPublishers may reuse the same SvSync instance. However, publications from a publisher cannot reach subscribers on the same SvSync instance.