File tree Expand file tree Collapse file tree 1 file changed +15
-2
lines changed Expand file tree Collapse file tree 1 file changed +15
-2
lines changed Original file line number Diff line number Diff line change 4242        _jq : " instanceGroups[?name=='core_broker'].instances[*].fqdn" 
4343
4444    - name : Deploy example DFX Flow - Kafka to Kafka 
45-       when : " 'teardown' not in ansible_run_tags" 
45+       when :
46+         - " 'teardown' not in ansible_run_tags" 
47+         - kafka_brokers_fqdns | length > 0 
4648      cloudera.cloud.df_deployment :
4749        name : " {{ globals.name_prefix }}_ex_kafkatokafka" 
4850        df_name : " {{ deployment.environment.environmentName }}" 
4951        flow_name : " Kafka to Kafka" 
5052        autoscale : yes 
5153        autostart_flow : yes 
5254        parameter_groups : " {{ parameter_groups }}" 
55+         kpis : " {{ kpis }}" 
5356      vars :
5457        parameter_groups :
5558          - name : " kafka-to-kafka" 
6770              - name : " Kafka Producer ID" 
6871                value : " _ex_cdf_prodc0" 
6972              - name : " Kafka Source Topic" 
70-                 value : " ex_cdf_source" 
73+                 value : " ex_cdf_source" 
74+         kpis :
75+           - metricId : cpuUtilization 
76+             alert :
77+               thresholdMoreThan :
78+                 unitId : percentage 
79+                 value : 25 
80+               frequencyTolerance :
81+                 unit :
82+                   id : MINUTES 
83+                 value : 5 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments