Class ComponentStateCheckpointStoreUtils

java.lang.Object
org.apache.nifi.processors.azure.eventhub.checkpoint.ComponentStateCheckpointStoreUtils

final class ComponentStateCheckpointStoreUtils extends Object
  • Constructor Details

    • ComponentStateCheckpointStoreUtils

      private ComponentStateCheckpointStoreUtils()
  • Method Details

    • convertOwnership

      static com.azure.messaging.eventhubs.models.PartitionOwnership convertOwnership(String key, String value)
    • convertCheckpoint

      static com.azure.messaging.eventhubs.models.Checkpoint convertCheckpoint(String key, String value)
    • convertPartitionContext

      static com.azure.messaging.eventhubs.models.PartitionContext convertPartitionContext(String key)
    • createOwnershipKey

      static String createOwnershipKey(com.azure.messaging.eventhubs.models.PartitionOwnership partitionOwnership)
    • createCheckpointKey

      static String createCheckpointKey(com.azure.messaging.eventhubs.models.Checkpoint checkpoint)
    • createKey

      private static String createKey(String kind, String fullyQualifiedNamespace, String eventHubName, String consumerGroup, String partitionId)
    • createOwnershipValue

      static String createOwnershipValue(com.azure.messaging.eventhubs.models.PartitionOwnership partitionOwnership)
    • createCheckpointValue

      static String createCheckpointValue(com.azure.messaging.eventhubs.models.Checkpoint checkpoint)
    • ownershipToString

      static String ownershipToString(com.azure.messaging.eventhubs.models.PartitionOwnership partitionOwnership)
    • ownershipListToString

      static List<String> ownershipListToString(List<com.azure.messaging.eventhubs.models.PartitionOwnership> partitionOwnershipList)
    • checkpointToString

      static String checkpointToString(com.azure.messaging.eventhubs.models.Checkpoint checkpoint)