Type Alias StreamSource

StreamSource: {
    domain?: string;
    external?: ExternalStream;
    filter_subject?: string;
    name: string;
    opt_start_seq?: number;
    opt_start_time?: string;
    subject_transforms?: SubjectTransformConfig[];
}

Type declaration

  • Optionaldomain?: string

    This field is a convenience for setting up an ExternalStream. If set, the value here is used to calculate the JetStreamAPI prefix. This field is never serialized to the server. This value cannot be set if external is set.

  • Optionalexternal?: ExternalStream

    This value cannot be set if domain is set

  • Optionalfilter_subject?: string

    An optional filter subject. If the filter matches the message will be on-boarded.

  • name: string

    Name of the stream source

  • Optionalopt_start_seq?: number

    An optional start sequence from which to start reading messages

  • Optionalopt_start_time?: string

    An optional start time Date string

  • Optionalsubject_transforms?: SubjectTransformConfig[]

    Apply a subject transforms to sourced messages before doing anything else. This feature only supported on 2.10.x and better.