Class: Kafka::ConsumerGroup::Assignor::Partition

Inherits:
Struct
  • Object
show all
Defined in:
lib/kafka/consumer_group/assignor.rb

Instance Attribute Summary collapse

Instance Attribute Details

#partition_idObject

Returns the value of attribute partition_id

Returns:

  • (Object)

    the current value of partition_id



10
11
12
# File 'lib/kafka/consumer_group/assignor.rb', line 10

def partition_id
  @partition_id
end

#topicObject

Returns the value of attribute topic

Returns:

  • (Object)

    the current value of topic



10
11
12
# File 'lib/kafka/consumer_group/assignor.rb', line 10

def topic
  @topic
end