Puppet Class: kafka_connect::install

Defined in:
manifests/install.pp

Summary

Main class for the Kafka Connect installation.

Overview



5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# File 'manifests/install.pp', line 5

class kafka_connect::install {
  assert_private()

  if $kafka_connect::install_source == 'package' {
    contain kafka_connect::install::package

    unless $kafka_connect::confluent_hub_plugins.empty {
      $kafka_connect::confluent_hub_plugins.each |$plugin| {
        kafka_connect::install::plugin { $plugin : }
      }
    }
  } else {
    contain kafka_connect::install::archive

    unless $kafka_connect::confluent_hub_plugins.empty {
      warning('Confluent Hub plugin installation is only supported on package-based setups, ignoring list.')
    }
  }
}