SHARE
TWEET

Untitled

a guest Sep 17th, 2019 130 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. apiVersion: ibmcloud.ibm.com/v1alpha1
  2. kind: Composable
  3. metadata:
  4.   name: source
  5. spec:
  6.   template:
  7.     apiVersion: sources.eventing.knative.dev/v1alpha1
  8.     kind: KafkaSource
  9.     metadata:
  10.       name: source
  11.     spec:
  12.       bootstrapServers:
  13.         getValueFrom:
  14.           format-transformers:
  15.           - Base64ToString
  16.           - JsonToObject
  17.           - ArrayToCSString
  18.           kind: Secret
  19.           name: kafka
  20.           path: '{.data.kafka_brokers_sasl}'
  21.       consumerGroup: source
  22.       net:
  23.         sasl:
  24.           enable: true
  25.           password:
  26.             secretKeyRef:
  27.               key: password
  28.               name: kafka
  29.           user:
  30.             secretKeyRef:
  31.               key: user
  32.               name: kafka
  33.         tls:
  34.           enable: true
  35.       sink:
  36.         apiVersion: serving.knative.dev/v1alpha1
  37.         kind: Service
  38.         name: test-sink
  39.       topics: MyTopic
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top