Class RetentionDescriptionResponse


  • public final class RetentionDescriptionResponse
    extends java.lang.Object
    • Method Detail

      • cleanupPolicy

        public java.util.Optional<java.lang.String> cleanupPolicy()
        Returns:
        Enumerates the possible values for cleanup policy
      • retentionTimeInHours

        public java.util.Optional<java.lang.Double> retentionTimeInHours()
        Returns:
        Number of hours to retain the events for this Event Hub. This value is only used when cleanupPolicy is Delete. If cleanupPolicy is Compact the returned value of this property is Long.MaxValue
      • tombstoneRetentionTimeInHours

        public java.util.Optional<java.lang.Integer> tombstoneRetentionTimeInHours()
        Returns:
        Number of hours to retain the tombstone markers of a compacted Event Hub. This value is only used when cleanupPolicy is Compact. Consumer must complete reading the tombstone marker within this specified amount of time if consumer begins from starting offset to ensure they get a valid snapshot for the specific key described by the tombstone marker within the compacted Event Hub