Class: Kafka::ConsumerGroup::Assignor::Partition
- Inherits:
-
Struct
- Object
- Struct
- Kafka::ConsumerGroup::Assignor::Partition
- Defined in:
- lib/kafka/consumer_group/assignor.rb
Instance Attribute Summary collapse
-
#partition_id ⇒ Object
Returns the value of attribute partition_id.
-
#topic ⇒ Object
Returns the value of attribute topic.
Instance Attribute Details
#partition_id ⇒ Object
Returns the value of attribute partition_id
10 11 12 |
# File 'lib/kafka/consumer_group/assignor.rb', line 10 def partition_id @partition_id end |
#topic ⇒ Object
Returns the value of attribute topic
10 11 12 |
# File 'lib/kafka/consumer_group/assignor.rb', line 10 def topic @topic end |