Skip to content

Publishers: Configuration

TL;DR — This page mirrors the Configuration section from Publishers as a focused reference.

When to use

Use this page when you need the focused member list, signatures, and source notes for this section without scanning the full parent reference.

C# (CAC) usage

WithSerializer

Source file, signature, and docstring

Member PublisherBuilder.WithSerializer(SerializeConfig serializeConfig)

Kind function

Declaring Type PublisherBuilder

Source File QaaS.Runner.Sessions/Actions/Publishers/Builders/PublisherBuilderLogic.cs

Signature

public PublisherBuilder WithSerializer(SerializeConfig serializeConfig)

Docstring

Sets the serializer configuration used by the current Runner publisher builder instance.

Stores settings on this builder for validation and action construction.

WithIterations

Source file, signature, and docstring

Member PublisherBuilder.WithIterations(int iterations)

Kind function

Declaring Type PublisherBuilder

Source File QaaS.Runner.Sessions/Actions/Publishers/Builders/PublisherBuilderLogic.cs

Signature

public PublisherBuilder WithIterations(int iterations)

Docstring

Sets how many iterations the publisher should execute.

Stores settings on this builder for validation and action construction.

WithSleep

Source file, signature, and docstring

Member PublisherBuilder.WithSleep(ulong sleepTimeMs)

Kind function

Declaring Type PublisherBuilder

Source File QaaS.Runner.Sessions/Actions/Publishers/Builders/PublisherBuilderLogic.cs

Signature

public PublisherBuilder WithSleep(ulong sleepTimeMs)

Docstring

Sets the delay applied between publisher iterations.

Stores settings on this builder for validation and action construction.

WithChunks

Source file, signature, and docstring

Member PublisherBuilder.WithChunks(Chunks chunks)

Kind function

Declaring Type PublisherBuilder

Source File QaaS.Runner.Sessions/Actions/Publishers/Builders/PublisherBuilderLogic.cs

Signature

public PublisherBuilder WithChunks(Chunks chunks)

Docstring

Configures chunks on the current Runner publisher builder instance.

Stores settings on this builder for validation and action construction.

WithParallelism

Source file, signature, and docstring

Member PublisherBuilder.WithParallelism(int parallelism)

Kind function

Declaring Type PublisherBuilder

Source File QaaS.Runner.Sessions/Actions/Publishers/Builders/PublisherBuilderLogic.cs

Signature

public PublisherBuilder WithParallelism(int parallelism)

Docstring

Sets the maximum concurrent workers for this publisher action.

The value must be at least one. Each worker sends one item or chunk on the shared sender. Omitting this setting runs sequentially. Protocol connection limits can serialize sends, and concurrent workers do not guarantee completion order.

Edge cases

  • This page is generated from the parent reference section; edit the source XML docs or generator when content needs to change.
  • If a linked source member is renamed, regenerate the reference docs before changing prose by hand.

See also