File tree Expand file tree Collapse file tree 6 files changed +63
-0
lines changed Expand file tree Collapse file tree 6 files changed +63
-0
lines changed Original file line number Diff line number Diff line change 1+ apiVersion : platform.confluent.io/v1beta1
2+ kind : KafkaTopic
3+ metadata :
4+ name : oso-clusterlink-demo
5+ spec :
6+ replicas : 3
7+ partitionCount : 4
8+ configs :
9+ cleanup.policy : " delete"
10+ kafkaRestClassRef :
11+ name : production-kafka-rest
Original file line number Diff line number Diff line change 1+ FROM rockylinux/rockylinux:8.5
2+
3+ ENV container docker
4+
5+ # 1. Adding Confluent repository
6+ RUN rpm --import https://packages.confluent.io/rpm/7.1/archive.key
7+ COPY confluent.repo /etc/yum.repos.d/confluent.repo
8+ RUN yum clean all
9+
10+ # 2. Install Confluent Kafka stack
11+ RUN yum install -y java-1.8.0-openjdk
12+ RUN yum install -y confluent-kafka
13+
14+ # 3. Install JY YAML parser for shell
15+ RUN yum install -y jq
16+ RUN curl -L -o /usr/local/bin/yq https://github.com/mikefarah/yq/releases/download/`curl -s https://api.github.com/repos/mikefarah/yq/releases/latest | jq .tag_name | sed 's/"//g' `/yq_linux_amd64
17+ RUN chmod 755 /usr/local/bin/yq
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+ eval $( minikube docker-env)
3+ docker build -t sandbox-kafka-client .
Original file line number Diff line number Diff line change 1+ [Confluent]
2+ name=Confluent repository
3+ baseurl=https://packages.confluent.io/rpm/7.1
4+ gpgcheck=1
5+ gpgkey=https://packages.confluent.io/rpm/7.1/archive.key
6+ enabled=1
7+
8+ [Confluent-Clients]
9+ name=Confluent Clients repository
10+ baseurl=https://packages.confluent.io/clients/rpm/centos/$releasever/$basearch
11+ gpgcheck=1
12+ gpgkey=https://packages.confluent.io/clients/rpm/archive.key
13+ enabled=1
Original file line number Diff line number Diff line change 1+ apiVersion : kustomize.config.k8s.io/v1beta1
2+ kind : Kustomization
3+ namespace : sandbox
4+ resources :
5+ - namespace.yaml
6+ - ../../base/cfk-components/confluent-no-auth-tls
7+ - ./schema-config.yaml
8+ - ./schema.yaml
9+
10+ configMapGenerator :
11+ - name : oso-schema-config
12+ files :
13+ - schema=new_customer.avsc
14+ options :
15+ disableNameSuffixHash : true
Original file line number Diff line number Diff line change 1+ apiVersion : v1
2+ kind : Namespace
3+ metadata :
4+ name : sandbox
You can’t perform that action at this time.
0 commit comments