EventHubProperties Class
- java.
lang. Object - com.
azure. messaging. eventhubs. EventHubProperties
- com.
public final class EventHubProperties
Holds information about an Event Hub which can come handy while performing operations like receiveFromPartition(String partitionId, EventPosition startingPosition).
Modifier and Type | Method and Description |
---|---|
Instant |
get Gets the instant, in UTC, at which Event Hub was created. |
String |
get Gets the name of the Event Hub. |
Iterable |
get Gets the list of partition identifiers of the Event Hub. |
Methods inherited from java.lang.Object
getCreatedAt
public Instant getCreatedAt()
Gets the instant, in UTC, at which Event Hub was created.
Returns:
The instant, in UTC, at which the Event Hub was created.
getName
public String getName()
Gets the name of the Event Hub.
Returns:
Name of the Event Hub.
getPartitionIds
public IterableStream
Gets the list of partition identifiers of the Event Hub.
Returns:
The list of partition identifiers of the Event Hub.