Table of Contents

Interface IStreamSpecification

Namespace
RabbitMQ.AMQP.Client
Assembly
RabbitMQ.AMQP.Client.dll
public interface IStreamSpecification

Methods

FileSizePerChunk(ByteCapacity)

IStreamSpecification FileSizePerChunk(ByteCapacity fileSizePerChunk)

Parameters

fileSizePerChunk ByteCapacity

Returns

IStreamSpecification

InitialClusterSize(int)

IStreamSpecification InitialClusterSize(int initialClusterSize)

Parameters

initialClusterSize int

Returns

IStreamSpecification

InitialOffset(long)

Set the offset from which the stream starts (x-stream-initial-offset). The first message published to the stream gets this offset. Requires RabbitMQ 4.4 or later; declaring the queue against an older broker throws NotSupportedException.

IStreamSpecification InitialOffset(long initialOffset)

Parameters

initialOffset long

A value between 0 and 2^62 - 1 (inclusive).

Returns

IStreamSpecification

MaxAge(TimeSpan)

IStreamSpecification MaxAge(TimeSpan maxAge)

Parameters

maxAge TimeSpan

Returns

IStreamSpecification

MaxSegmentSizeBytes(ByteCapacity)

IStreamSpecification MaxSegmentSizeBytes(ByteCapacity maxSegmentSize)

Parameters

maxSegmentSize ByteCapacity

Returns

IStreamSpecification

Queue()

IQueueSpecification Queue()

Returns

IQueueSpecification