Class: KafkaCommand::GroupMember
- Inherits:
 - 
      Object
      
        
- Object
 - KafkaCommand::GroupMember
 
 
- Defined in:
 - app/models/kafka_command/group_member.rb
 
Instance Attribute Summary collapse
- 
  
    
      #client_host  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    
Returns the value of attribute client_host.
 - 
  
    
      #client_id  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    
Returns the value of attribute client_id.
 - 
  
    
      #member_id  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    
Returns the value of attribute member_id.
 - 
  
    
      #topic_assignment  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    
Returns the value of attribute topic_assignment.
 
Instance Method Summary collapse
- 
  
    
      #initialize(member_metadata)  ⇒ GroupMember 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of GroupMember.
 - #topic_names ⇒ Object
 
Constructor Details
#initialize(member_metadata) ⇒ GroupMember
Returns a new instance of GroupMember.
      7 8 9 10 11 12  | 
    
      # File 'app/models/kafka_command/group_member.rb', line 7 def initialize() @member_id = .member_id @client_host = .client_host @client_id = .client_id @topic_assignment = .member_assignment.topics end  | 
  
Instance Attribute Details
#client_host ⇒ Object (readonly)
Returns the value of attribute client_host.
      5 6 7  | 
    
      # File 'app/models/kafka_command/group_member.rb', line 5 def client_host @client_host end  | 
  
#client_id ⇒ Object (readonly)
Returns the value of attribute client_id.
      5 6 7  | 
    
      # File 'app/models/kafka_command/group_member.rb', line 5 def client_id @client_id end  | 
  
#member_id ⇒ Object (readonly)
Returns the value of attribute member_id.
      5 6 7  | 
    
      # File 'app/models/kafka_command/group_member.rb', line 5 def member_id @member_id end  | 
  
#topic_assignment ⇒ Object (readonly)
Returns the value of attribute topic_assignment.
      5 6 7  | 
    
      # File 'app/models/kafka_command/group_member.rb', line 5 def topic_assignment @topic_assignment end  | 
  
Instance Method Details
#topic_names ⇒ Object
      14 15 16  | 
    
      # File 'app/models/kafka_command/group_member.rb', line 14 def topic_names @topic_assignment.keys end  |