Sha256: 8813b74a471e13c6aa42bd9b11e50e76e2a2ab1996c6e3c913c8e1b83e38c542

Contents?: true

Size: 386 Bytes

Versions: 48

Compression:

Stored size: 386 Bytes

Contents

# frozen_string_literal: true

module Karafka
  module Messages
    # "Fake" message that we use as an abstraction layer when seeking back.
    # This allows us to encapsulate a seek with a simple abstraction
    #
    # @note `#offset` can be either the offset value or the time of the offset
    # (first equal or greater)
    Seek = Struct.new(:topic, :partition, :offset)
  end
end

Version data entries

48 entries across 48 versions & 1 rubygems

Version Path
karafka-2.4.14 lib/karafka/messages/seek.rb
karafka-2.4.13 lib/karafka/messages/seek.rb
karafka-2.4.12 lib/karafka/messages/seek.rb
karafka-2.4.11 lib/karafka/messages/seek.rb
karafka-2.4.10 lib/karafka/messages/seek.rb
karafka-2.4.9 lib/karafka/messages/seek.rb
karafka-2.4.8 lib/karafka/messages/seek.rb
karafka-2.4.7 lib/karafka/messages/seek.rb
karafka-2.4.6 lib/karafka/messages/seek.rb
karafka-2.4.5 lib/karafka/messages/seek.rb
karafka-2.4.4 lib/karafka/messages/seek.rb
karafka-2.4.3 lib/karafka/messages/seek.rb
karafka-2.4.0 lib/karafka/messages/seek.rb
karafka-2.4.0.rc1 lib/karafka/messages/seek.rb
karafka-2.3.4 lib/karafka/messages/seek.rb
karafka-2.4.0.beta2 lib/karafka/messages/seek.rb
karafka-2.4.0.beta1 lib/karafka/messages/seek.rb
karafka-2.3.3 lib/karafka/messages/seek.rb
karafka-2.3.2 lib/karafka/messages/seek.rb
karafka-2.3.1 lib/karafka/messages/seek.rb