streamtime_kafka_connection_configuration (Data Source)

Reads what a client needs to connect to a Confluent Platform cluster on your own virtual machines (workload cpansible): client properties, the CA certificate and the Control Center login. Other Kafka providers are not supported. The values include credentials and are stored in the Terraform state; protect the state accordingly.

Example Usage

# Confluent Platform on your own virtual machines (workload cpansible) only.
data "streamtime_kafka_connection_configuration" "vm" {
  kafka = "vm-cluster"
}

output "client_properties" {
  value     = data.streamtime_kafka_connection_configuration.vm.client_properties
  sensitive = true
}

Schema

Required

  • kafka (String) Identifier of the Kafka cluster.

Read-Only

  • ca_certificate (String) PEM CA certificate the client trusts.
  • ca_filename (String) File name client_properties expects the CA certificate at.
  • client_properties (String, Sensitive) Kafka client properties (bootstrap servers, security settings and credentials), in .properties format.
  • control_center_password (String, Sensitive) Control Center password, if Control Center is installed.
  • control_center_username (String) Control Center user name, if Control Center is installed.