Class: Racecar::Consumer::Subscription

Inherits:
Struct
  • Object
show all
Defined in:
lib/racecar/consumer.rb

Instance Attribute Summary collapse

Instance Attribute Details

#max_bytes_per_partitionObject

Returns the value of attribute max_bytes_per_partition

Returns:

  • (Object)

    the current value of max_bytes_per_partition



3
4
5
# File 'lib/racecar/consumer.rb', line 3

def max_bytes_per_partition
  @max_bytes_per_partition
end

#start_from_beginningObject

Returns the value of attribute start_from_beginning

Returns:

  • (Object)

    the current value of start_from_beginning



3
4
5
# File 'lib/racecar/consumer.rb', line 3

def start_from_beginning
  @start_from_beginning
end

#topicObject

Returns the value of attribute topic

Returns:

  • (Object)

    the current value of topic



3
4
5
# File 'lib/racecar/consumer.rb', line 3

def topic
  @topic
end