Skip to content

Commit

Permalink
Update burrow.pp
Browse files Browse the repository at this point in the history
  • Loading branch information
paladox authored Oct 4, 2024
1 parent d3cb6f7 commit 076e1d9
Showing 1 changed file with 0 additions and 25 deletions.
25 changes: 0 additions & 25 deletions modules/role/manifests/burrow.pp
Original file line number Diff line number Diff line change
Expand Up @@ -7,31 +7,6 @@
define role::burrow(
$monitoring_config,
) {
$config = {
'name' => 'main',
'brokers' => {
'hash' => brokers,
# array of broker hostnames without port. TODO: change this to use host:port?
'array' => brokers.keys.sort,
# string list of comma-separated host:port broker
'string' => brokers.map { |host, conf| "#{host}:#{conf['port']}" }.sort.join(','),

# array host:ssl_port brokers
'ssl_array' => brokers.map { |host, conf| "#{host}:#{conf['ssl_port']}" }.sort,
# string list of comma-separated host:ssl_port brokers
'ssl_string' => brokers.map { |host, conf| "#{host}:#{conf['ssl_port']}" }.sort.join(','),

'size' => brokers.keys.size
},
'jmx_port' => jmx_port,
'zookeeper' => {
'name' => zk_cluster_name,
'hosts' => zk_hosts,
'chroot' => "/kafka/#{cluster_name}",
'url' => "#{zk_hosts.join(',')}/kafka/#{cluster_name}"
}
}


burrow { 'main':
zookeeper_hosts => [ 'localhost' ],
Expand Down

0 comments on commit 076e1d9

Please sign in to comment.