| Package | Description |
|---|---|
| com.microsoft.azure.eventhubs | |
| com.microsoft.azure.eventhubs.impl |
| Modifier and Type | Method and Description |
|---|---|
static EventPosition |
EventPosition.fromEndOfStream()
Returns the position for the end of a stream.
|
static EventPosition |
EventPosition.fromEnqueuedTime(Instant dateTime)
Creates a position at the given
Instant. |
static EventPosition |
EventPosition.fromOffset(String offset)
Creates a position at the given offset.
|
static EventPosition |
EventPosition.fromOffset(String offset,
boolean inclusiveFlag)
Creates a position at the given offset.
|
static EventPosition |
EventPosition.fromSequenceNumber(Long sequenceNumber)
Creates a position at the given sequence number.
|
static EventPosition |
EventPosition.fromSequenceNumber(Long sequenceNumber,
boolean inclusiveFlag)
Creates a position at the given sequence number.
|
static EventPosition |
EventPosition.fromStartOfStream()
Returns the position for the start of a stream.
|
EventPosition |
PartitionReceiver.getEventPosition()
Get the
EventPosition that corresponds to an EventData which was returned last by the receiver. |
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<PartitionReceiver> |
EventHubClient.createEpochReceiver(String consumerGroupName,
String partitionId,
EventPosition eventPosition,
long epoch)
Create a Epoch based EventHub receiver with given partition id and start receiving from the beginning of the partition stream.
|
CompletableFuture<PartitionReceiver> |
EventHubClient.createEpochReceiver(String consumerGroupName,
String partitionId,
EventPosition eventPosition,
long epoch,
ReceiverOptions receiverOptions)
Create a Epoch based EventHub receiver with given partition id and start receiving from the beginning of the partition stream.
|
default PartitionReceiver |
EventHubClient.createEpochReceiverSync(String consumerGroupName,
String partitionId,
EventPosition eventPosition,
long epoch)
Synchronous version of
EventHubClient.createEpochReceiver(String, String, EventPosition, long). |
default PartitionReceiver |
EventHubClient.createEpochReceiverSync(String consumerGroupName,
String partitionId,
EventPosition eventPosition,
long epoch,
ReceiverOptions receiverOptions)
Synchronous version of
EventHubClient.createEpochReceiver(String, String, EventPosition, long). |
CompletableFuture<PartitionReceiver> |
EventHubClient.createReceiver(String consumerGroupName,
String partitionId,
EventPosition eventPosition)
Create the EventHub receiver with given partition id and start receiving from the specified starting offset.
|
CompletableFuture<PartitionReceiver> |
EventHubClient.createReceiver(String consumerGroupName,
String partitionId,
EventPosition eventPosition,
ReceiverOptions receiverOptions)
Create the EventHub receiver with given partition id and start receiving from the specified starting offset.
|
default PartitionReceiver |
EventHubClient.createReceiverSync(String consumerGroupName,
String partitionId,
EventPosition eventPosition)
Synchronous version of
EventHubClient.createReceiver(String, String, EventPosition). |
default PartitionReceiver |
EventHubClient.createReceiverSync(String consumerGroupName,
String partitionId,
EventPosition eventPosition,
ReceiverOptions receiverOptions)
Synchronous version of
EventHubClient.createReceiver(String, String, EventPosition). |
| Modifier and Type | Class and Description |
|---|---|
class |
EventPositionImpl |
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<PartitionReceiver> |
EventHubClientImpl.createEpochReceiver(String consumerGroupName,
String partitionId,
EventPosition eventPosition,
long epoch) |
CompletableFuture<PartitionReceiver> |
EventHubClientImpl.createEpochReceiver(String consumerGroupName,
String partitionId,
EventPosition eventPosition,
long epoch,
ReceiverOptions receiverOptions) |
CompletableFuture<PartitionReceiver> |
EventHubClientImpl.createReceiver(String consumerGroupName,
String partitionId,
EventPosition eventPosition) |
CompletableFuture<PartitionReceiver> |
EventHubClientImpl.createReceiver(String consumerGroupName,
String partitionId,
EventPosition eventPosition,
ReceiverOptions receiverOptions) |
Copyright © 2019. All rights reserved.