aboutsummaryrefslogtreecommitdiffstats
path: root/vnfs/DAaaS/microservices/GoApps/src/go-hdfs-writer/kubernetes-manifests/configmap_writer.yaml
blob: f5d0833b2a6106053b7052bfbb0f804272bbca74 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#Preserving a sample config of writer. 
#NOTE : The writer config shall come through the REST request
apiVersion: v1
kind: ConfigMap
metadata:
  name: config-json
data:
  config.json: |-
    [
    {"writer": {
            "kafkaConfig": {
                "broker": "kafka-cluster-kafka-bootstrap:9092",
                "group": "grp1",
                "topic": "newTopic9"
            },
            "hdfsConfig": {
                "hdfs_url": "hdfs1-namenode:8020"
            }
        }
    }
    ]