Skip to content

Commit

Permalink
Add kafka files
Browse files Browse the repository at this point in the history
  • Loading branch information
nygrenh committed May 23, 2024
1 parent 10faf38 commit c013e78
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: kafka.strimzi.io/v1beta1
kind: KafkaTopic
metadata:
name: exercises-realtime
name: exercise
namespace: kafka
labels:
strimzi.io/cluster: kafka-cluster
Expand Down
40 changes: 40 additions & 0 deletions kubernetes/kafka-persistent.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
apiVersion: kafka.strimzi.io/v1beta2
kind: Kafka
metadata:
name: kafka-cluster
spec:
kafka:
version: 3.7.0
replicas: 3
listeners:
- name: plain
port: 9092
type: internal
tls: false
- name: tls
port: 9093
type: internal
tls: true
config:
offsets.topic.replication.factor: 3
transaction.state.log.replication.factor: 3
transaction.state.log.min.isr: 2
default.replication.factor: 3
min.insync.replicas: 2
inter.broker.protocol.version: "3.7"
storage:
type: jbod
volumes:
- id: 0
type: persistent-claim
size: 10Gi
deleteClaim: false
zookeeper:
replicas: 3
storage:
type: persistent-claim
size: 2Gi
deleteClaim: false
entityOperator:
topicOperator: {}
userOperator: {}

0 comments on commit c013e78

Please sign in to comment.