Class: Kafka::Consumer::MetaData

Inherits:
Struct
  • Object
show all
Defined in:
lib/jruby-kafka/consumer.rb

Instance Attribute Summary collapse

Instance Attribute Details

#keyObject

Returns the value of attribute key

Returns:

  • (Object)

    the current value of key



42
43
44
# File 'lib/jruby-kafka/consumer.rb', line 42

def key
  @key
end

#offsetObject

Returns the value of attribute offset

Returns:

  • (Object)

    the current value of offset



42
43
44
# File 'lib/jruby-kafka/consumer.rb', line 42

def offset
  @offset
end

#partitionObject

Returns the value of attribute partition

Returns:

  • (Object)

    the current value of partition



42
43
44
# File 'lib/jruby-kafka/consumer.rb', line 42

def partition
  @partition
end

#topicObject

Returns the value of attribute topic

Returns:

  • (Object)

    the current value of topic



42
43
44
# File 'lib/jruby-kafka/consumer.rb', line 42

def topic
  @topic
end