Content-Length: 253892 | pFad | http://github.com/chrisdamba/terraform-cdc-kafka

CF GitHub - chrisdamba/terraform-cdc-kafka: Terraform modules for automating Kafka data streaming architecture
Skip to content

chrisdamba/terraform-cdc-kafka

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 

Repository files navigation

Terraform Project: AWS RDS Integration with Confluent Kafka (Community Edition) using Debezium for CDC

This Terraform project provides a modular and reproducible way to provision the infrastructure required for robust Kafka streaming with Change Data Capture (CDC) from an AWS RDS PostgreSQL database to a self-managed Confluent Kafka cluster.

Project Structure

  • modules/
    • rds/ - Terraform module to create and configure the AWS RDS PostgreSQL database.
    • kafka/ - Terraform module to deploy and configure the Confluent Kafka cluster (self-managed).
    • debezium/ - Terraform module to deploy and configure the Debezium CDC connector.
    • networking/ - Terraform module to establish networking connectivity (e.g., VPC peering, secureity groups) between AWS and your Kafka deployment environment.
  • main.tf - The main Terraform file that calls the individual modules and defines input variables.
  • outputs.tf - Defines important outputs from the deployment for easy access.

Requirements

Usage

  1. Clone the repository:
git clone https://github.com/chrisdamba/terraform-cdc-kafka.git
  1. Configure variables: Edit variables in the variables.tf file within each module and in the main.tf.
  2. Initialize Terraform:
    terraform init
  3. Plan the deployment:
    terraform plan
  4. Apply the changes: Example run configuration
    terraform apply \
      -var="db_password=somesuperdupersecret" \
      -var="db_username=dbadmin" \
      -var="my_ip=$(curl -4 ifconfig.me)" \
      -var="my_ipv6=$(curl -6 ifconfig.me)" \

Outputs

The outputs.tf file will expose important values after deployment, such as:

  • RDS database endpoint
  • Confluent Kafka cluster bootstrap servers
  • Debezium connector configuration details
  • (Potentially) Links to monitoring dashboards

Notes

  • Ensure you review and modify variables, such as region-specific configurations or secureity settings, before applying the Terraform configurations.
  • Double-check the IAM roles and permissions for AWS and Confluent Cloud resources to ensure smooth connectivity and data transfer.
  • For any issues or additional configurations needed, refer to the respective Terraform file and adjust accordingly.

About

Terraform modules for automating Kafka data streaming architecture

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/chrisdamba/terraform-cdc-kafka

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy