Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fix: default daemon count should be 1 for kafka-contrib apps

Change-Id: I1bc5fca4f224f309fe01a85a8ade2b1f1caa963b
  • Loading branch information...
commit 644ff2a4d3f0532eca970c80627d295bb46dee77 1 parent 895004a
@joshbronson joshbronson authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  cookbooks/kafka/definitions/run_contrib_app.rb
View
2  cookbooks/kafka/definitions/run_contrib_app.rb
@@ -57,7 +57,7 @@ def hadoop_hdfs_host
log_monitor_info = {}
daemon_monitor_info = {}
- daemons = params[:daemon_count] || node[:kafka][:contrib][:app][:daemon_count] || 0
+ daemons = params[:daemon_count] || node[:kafka][:contrib][:app][:daemon_count] || 1
daemons.times do |index|
app_name_with_index = "#{app_name}-#{index}"
Please sign in to comment.
Something went wrong with that request. Please try again.