Enum strymon_job::operators::publish::Partition [] [src]

pub enum Partition {
    PerWorker,
    Merge,
}

Marker to specify topic partitioning.

A single logical Timely Dataflow stream will have a partition on each worker. When publishing a logical stream, the publishing job can decide to either publish each stream partition indivdually, or have them be merged by a single worker, resulting in a single topic.

Variants

Publish one topic per worker.

The resulting topic name will have the local worker identifier as suffix, e.g. name.1 for the stream produced by worker 1.

Merge all streams and publish a single topic.

No worker identifier is appended to the name.

Trait Implementations

impl Debug for Partition
[src]

[src]

Formats the value using the given formatter. Read more

impl Copy for Partition
[src]

impl Clone for Partition
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more