apiVersion: apps/v1
kind: Deployment
metadata:
  labels:
    app: kafka-http-consumer
  name: kafka-http-consumer
spec:
  replicas: 1
  selector:
    matchLabels:
      app: kafka-http-consumer
  template:
    metadata:
      labels:
        app: kafka-http-consumer
    spec:
      containers:
      - name: kafka-http-consumer
        image: strimzi/kafka-http-consumer:latest
        env:
          - name: HOSTNAME
            value: my-bridge-bridge-service
          - name: PORT
            value: "8080"
          - name: TOPIC
            value: my-topic
          - name: CLIENTID
            value: "my-consumer"
          - name: GROUPID
            value: "my-group"
          - name: POLL_INTERVAL
            value: "1000"
        resources:
          requests:
            memory: "256Mi"
            cpu: "250m"
          limits:
            memory: "256Mi"
            cpu: "250m"
