Skip to content

Example defaults.yaml files

ATM Fraud Pipeline

defaults.yaml
pipeline-component:
  prefix: ""

kubernetes-app:
  namespace: ${NAMESPACE}

kafka-connector:
  namespace: ${NAMESPACE}

kafka-app:
  app:
    streams:
      brokers: ${brokers}
      schemaRegistryUrl: ${schema_registry_url}
      optimizeLeaveGroupBehavior: false

producer-app:
  to:
    topics:
      ${output_topic_name}:
        partitions_count: 3

streams-app:
  app:
    labels:
      pipeline: ${pipeline_name}
    streams:
      optimizeLeaveGroupBehavior: false
  to:
    topics:
      ${error_topic_name}:
        type: error
        partitions_count: 1
      ${output_topic_name}:
        partitions_count: 3

Word-count Pipeline

defaults.yaml
pipeline-component:
  prefix: word-count-
  namespace: kpops

kafka-app:
  app:
    streams:
      brokers: ${brokers}
    prometheus:
      jmx:
        enabled: false
  debug: true

producer-app:
  to:
    topics:
      ${output_topic_name}:
        type: output
        partitions_count: 1

streams-app:
  app:
    labels:
      pipeline: ${pipeline_name}
    commandLine:
      PRODUCTIVE: false
  to:
    topics:
      ${error_topic_name}:
        type: error
        partitions_count: 1
      ${output_topic_name}:
        type: output
        partitions_count: 1