EventHubDataAdapter.GetPartitionKey(StreamId) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Get the Event Hub partition key to use for a stream.
public virtual string GetPartitionKey (Orleans.Runtime.StreamId streamId);
abstract member GetPartitionKey : Orleans.Runtime.StreamId -> string
override this.GetPartitionKey : Orleans.Runtime.StreamId -> string
Public Overridable Function GetPartitionKey (streamId As StreamId) As String
Parameters
- streamId
- StreamId
The stream Guid.
Returns
The partition key to use for the stream.