object BackupClientInterface
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- BackupClientInterface
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Value Members
- def calculateKey(offsetDateTime: OffsetDateTime, timeConfiguration: TimeConfiguration, maybeCompression: Option[Compression]): String
Calculate an object storage key or filename for a ReducedConsumerRecord
Calculate an object storage key or filename for a ReducedConsumerRecord
- offsetDateTime
A given time
- returns
A
String
that can be used either as some object key or a filename
- def formatOffsetDateTime(offsetDateTime: OffsetDateTime): String
- def isAtBoundary(dividedPeriodsBefore: Long, dividedPeriodsAfter: Long): Boolean
Calculates whether we have rolled over a time period given number of divided periods.
Calculates whether we have rolled over a time period given number of divided periods.
- dividedPeriodsBefore
The number of divided periods in the first element of the slide. -1 is used as a sentinel value to indicate the start of the stream
- dividedPeriodsAfter
The number of divided periods in the second element of the slide
- returns
true
if we have hit a time boundary otherwisefalse
- def reducedConsumerRecordAsString(reducedConsumerRecord: ReducedConsumerRecord): String