Class: Hermann::Discovery::Metadata::Partition
- Inherits:
-
Struct
- Object
- Struct
- Hermann::Discovery::Metadata::Partition
- Defined in:
- lib/hermann/discovery/metadata.rb
Instance Attribute Summary collapse
-
#id ⇒ Object
Returns the value of attribute id.
-
#insync_replicas ⇒ Object
Returns the value of attribute insync_replicas.
-
#leader ⇒ Object
Returns the value of attribute leader.
-
#replicas ⇒ Object
Returns the value of attribute replicas.
-
#topic_name ⇒ Object
Returns the value of attribute topic_name.
Instance Method Summary collapse
Instance Attribute Details
#id ⇒ Object
Returns the value of attribute id
14 15 16 |
# File 'lib/hermann/discovery/metadata.rb', line 14 def id @id end |
#insync_replicas ⇒ Object
Returns the value of attribute insync_replicas
14 15 16 |
# File 'lib/hermann/discovery/metadata.rb', line 14 def insync_replicas @insync_replicas end |
#leader ⇒ Object
Returns the value of attribute leader
14 15 16 |
# File 'lib/hermann/discovery/metadata.rb', line 14 def leader @leader end |
#replicas ⇒ Object
Returns the value of attribute replicas
14 15 16 |
# File 'lib/hermann/discovery/metadata.rb', line 14 def replicas @replicas end |
#topic_name ⇒ Object
Returns the value of attribute topic_name
14 15 16 |
# File 'lib/hermann/discovery/metadata.rb', line 14 def topic_name @topic_name end |