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

com.snowplowanalytics.snowplow.sources.internal.LowLevelEvents.scala Maven / Gradle / Ivy

The newest version!
/*
 * Copyright (c) 2023-present Snowplow Analytics Ltd. All rights reserved.
 *
 * This program is licensed to you under the Snowplow Community License Version 1.0,
 * and you may not use this file except in compliance with the Snowplow Community License Version 1.0.
 * You may obtain a copy of the Snowplow Community License Version 1.0 at https://docs.snowplow.io/community-license-1.0
 */
package com.snowplowanalytics.snowplow.sources.internal

import fs2.Chunk

import java.nio.ByteBuffer
import java.time.Instant

/**
 * The events and checkpointable item emitted by a LowLevelSource
 *
 * This library uses LowLevelEvents internally, but it is never exposed to the high level event
 * processor
 */
case class LowLevelEvents[C](
  events: Chunk[ByteBuffer],
  ack: C,
  earliestSourceTstamp: Option[Instant]
)




© 2015 - 2024 Weber Informatics LLC | Privacy Policy