aboutsummaryrefslogtreecommitdiff
path: root/test/21consumer-test1.yml
blob: aff5944f1212f336964c7a634d6e6f8793155c1f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
  name: consumer-test1
  namespace: kafka
spec:
  replicas: 1
  template:
    metadata:
      labels:
        app: consumer
        scope: test
        topic: test1
    spec:
      containers:
      - name: kafka
        image: solsson/kafka:0.10.0.1
        command:
        - ./bin/kafka-console-consumer.sh
        - --zookeeper
        - zookeeper:2181
        - --topic
        - test1
        - --from-beginning