All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.microsoft.azure.reactiveeventhubs.SourceRuntimeInfo.scala Maven / Gradle / Ivy

The newest version!
// Copyright (c) Microsoft. All rights reserved.

package com.microsoft.azure.reactiveeventhubs

import java.time.Instant

/** Runtime information from the source
  *
  * @param partitionInfo Partition information
  */
class SourceRuntimeInfo(val partitionInfo: SourcePartitionInfo)

/** Information about the partition where the message is stored
  *
  * @param partitionNumber    Partition number
  * @param lastSequenceNumber Sequence number of the last message in the partition
  * @param lastOffset         Offset of the last message in the partition
  * @param lastTimeUtc        UTC time of the last message in the partition
  */
class SourcePartitionInfo(
    val partitionNumber: Option[Int],
    val lastSequenceNumber: Option[Long],
    val lastOffset: Option[String],
    val lastTimeUtc: Option[Instant])




© 2015 - 2024 Weber Informatics LLC | Privacy Policy