Deploy Debezium for real-time reporting (RTR)

This page walks through deploying the Debezium connector using the Debezium Helm chart from the NEDSS-Helm repository for NBS version 7.13. The connector captures change data from source tables and publishes events to Kafka topics for RTR processing.

On this page

  1. Prerequisites
  2. Deploy Debezium using Helm
  3. Troubleshoot Debezium
  4. Next steps

Prerequisites

This page assumes you’ve completed Before you begin for the microservices phase and the database setup on Deploy real-time reporting, including enabling Change Data Capture.

Have your database credentials and Kafka endpoint values available. See the Helm values reference if you need help determining any values.

Deploy Debezium using Helm

Complete the following steps to deploy the Debezium Helm chart from the charts/debezium/ directory of your cloned NEDSS-Helm repository:

  1. In the debezium chart directory, open the values file for your cloud provider:
    • AWS: debezium/values.yaml
    • Azure: debezium/values-azure.yaml
  2. Search the values file for EXAMPLE and fill in your environment-specific values. See the Helm values reference for help determining values.

  3. Install the Helm chart:
    • AWS: debezium/values.yaml

       helm install -f ./debezium/values.yaml debezium-connect ./debezium/
      
    • Azure: debezium/values-azure.yaml

       helm install -f ./debezium/values-azure.yaml debezium-connect ./debezium/
      
  4. Verify the pod is running:

    kubectl get deployment debezium-connect-debezium-rtr-connect
    

After Debezium deploys successfully, continue to Kafka connector.

Troubleshoot Debezium

If the service has trouble connecting to the database, run the following command to reset the ConfigMap:

kubectl delete configmap debezium-rtr-connect

If issues persist, email nbs@cdc.gov.

Next steps

Continue to Kafka connector.