Class: Karafka::Pro::Routing::Features::Multiplexing::Config
- Inherits:
 - 
      Struct
      
        
- Object
 - Struct
 - Karafka::Pro::Routing::Features::Multiplexing::Config
 
 
- Defined in:
 - lib/karafka/pro/routing/features/multiplexing/config.rb
 
Overview
Multiplexing configuration
Instance Attribute Summary collapse
- 
  
    
      #active  ⇒ Object 
    
    
      (also: #active?)
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute active.
 - 
  
    
      #boot  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute boot.
 - 
  
    
      #max  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute max.
 - 
  
    
      #min  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute min.
 
Instance Method Summary collapse
- 
  
    
      #dynamic?  ⇒ Boolean 
    
    
  
  
  
  
  
  
  
  
  
    
True if we are allowed to upscale and downscale.
 
Instance Attribute Details
#active ⇒ Object Also known as: active?
Returns the value of attribute active
      20 21 22  | 
    
      # File 'lib/karafka/pro/routing/features/multiplexing/config.rb', line 20 def active @active end  | 
  
#boot ⇒ Object
Returns the value of attribute boot
      20 21 22  | 
    
      # File 'lib/karafka/pro/routing/features/multiplexing/config.rb', line 20 def boot @boot end  | 
  
#max ⇒ Object
Returns the value of attribute max
      20 21 22  | 
    
      # File 'lib/karafka/pro/routing/features/multiplexing/config.rb', line 20 def max @max end  | 
  
#min ⇒ Object
Returns the value of attribute min
      20 21 22  | 
    
      # File 'lib/karafka/pro/routing/features/multiplexing/config.rb', line 20 def min @min end  | 
  
Instance Method Details
#dynamic? ⇒ Boolean
Returns true if we are allowed to upscale and downscale.
      30 31 32  | 
    
      # File 'lib/karafka/pro/routing/features/multiplexing/config.rb', line 30 def dynamic? min < max end  |