Class/Object

org.locationtech.geomesa.kafka09.consumer.offsets

OffsetManager

Related Docs: object OffsetManager | package offsets

Permalink

class OffsetManager extends Fetcher with Closeable with LazyLogging

Manages storing and retrieving of offsets for a consumer group

Linear Supertypes
Closeable, AutoCloseable, Fetcher, LazyLogging, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. OffsetManager
  2. Closeable
  3. AutoCloseable
  4. Fetcher
  5. LazyLogging
  6. AnyRef
  7. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new OffsetManager(config: ConsumerConfig)

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def close(): Unit

    Permalink
    Definition Classes
    OffsetManager → Closeable → AutoCloseable
  7. def commitOffsets(offsets: Map[TopicAndPartition, OffsetAndMetadata], isAutoCommit: Boolean = false): Unit

    Permalink

    Commit group offsets read

  8. val config: ConsumerConfig

    Permalink
  9. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  11. def fetch(consumer: SimpleConsumer, topic: String, partition: Int, offset: Long, maxBytes: Int): Try[ByteBufferMessageSet]

    Permalink

    Fetch messages

    Fetch messages

    Definition Classes
    Fetcher
  12. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. def findOffsets(topic: String, partitions: Seq[PartitionMetadata], predicate: MessagePredicate, config: ConsumerConfig): Offsets

    Permalink

    Find an offset based on a message predicate - messages are assumed to be sorted according to the predicate

  14. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  15. def getOffsets(topic: String, partitions: Seq[PartitionMetadata], when: RequestedOffset): Offsets

    Permalink

    Get a saved offset.

    Get a saved offset.

    when

    what offset to get (latest, earliest, etc)

  16. def getOffsets(topic: String, when: RequestedOffset): Offsets

    Permalink

    Get a saved offset.

    Get a saved offset.

    when

    what offset to get (latest, earliest, etc)

  17. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  18. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  19. lazy val logger: Logger

    Permalink
    Attributes
    protected
    Definition Classes
    LazyLogging
  20. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  21. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  22. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  23. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  24. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  25. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Closeable

Inherited from AutoCloseable

Inherited from Fetcher

Inherited from LazyLogging

Inherited from AnyRef

Inherited from Any

Ungrouped