Class PipelineRecordDistributionContext
- Namespace
- Pipelinez.Core.Distributed
- Assembly
- Pipelinez.dll
Captures the distributed execution context associated with a single record.
public sealed class PipelineRecordDistributionContext
- Inheritance
-
PipelineRecordDistributionContext
- Inherited Members
Constructors
PipelineRecordDistributionContext(string, string, string?, string?, string?, int?, long?)
Initializes a new record distribution context.
public PipelineRecordDistributionContext(string instanceId, string workerId, string? transportName, string? leaseId, string? partitionKey, int? partitionId, long? offset)
Parameters
instanceIdstringworkerIdstringtransportNamestringleaseIdstringpartitionKeystringpartitionIdint?offsetlong?
Properties
InstanceId
Gets the host instance identifier that processed the record.
public string InstanceId { get; }
Property Value
LeaseId
Gets the logical lease identifier, if the source provided one.
public string? LeaseId { get; }
Property Value
Offset
Gets the transport offset, if the source provided one.
public long? Offset { get; }
Property Value
- long?
PartitionId
Gets the numeric partition identifier, if the source provided one.
public int? PartitionId { get; }
Property Value
- int?
PartitionKey
Gets the logical partition key, if the source provided one.
public string? PartitionKey { get; }
Property Value
TransportName
Gets the transport name, if the source provided one.
public string? TransportName { get; }
Property Value
WorkerId
Gets the worker identifier that processed the record.
public string WorkerId { get; }