InMemoryLog
class InMemoryLog<M> @JvmOverloads constructor(instantSource: InstantSource, val epoch: Int, val partitions: Int = 1) : Log<M>
Types
Link copied to clipboard
@SerialName(value = "!InMemory")
@Serializable
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun readRecords(partition: Int, fromMsgId: MessageId, toMsgId: MessageId): Sequence<Log.Record<M>>
Reads records in the range [fromMsgId, toMsgId) (start-inclusive, end-exclusive). Returns a lazy sequence of decoded records in offset order. If toMsgId exceeds the latest submitted offset, reads up to the latest available record.