2024-12-04 14:21:52 +01:00
|
|
|
apiVersion: kafka.strimzi.io/v1beta2
|
|
|
|
kind: Kafka
|
|
|
|
metadata:
|
|
|
|
name: kafka-cluster
|
|
|
|
namespace: kafka
|
|
|
|
labels:
|
|
|
|
app.kubernetes.io/part-of: kafka
|
|
|
|
spec:
|
|
|
|
kafka:
|
|
|
|
version: 3.8.0
|
|
|
|
replicas: 1
|
|
|
|
listeners:
|
|
|
|
- name: plainext
|
|
|
|
port: 9092
|
|
|
|
type: nodeport
|
|
|
|
tls: false
|
|
|
|
configuration:
|
|
|
|
brokers:
|
|
|
|
- broker: 0
|
|
|
|
nodePort: 31542
|
|
|
|
- name: tls
|
|
|
|
port: 9093
|
|
|
|
type: internal
|
|
|
|
tls: true
|
|
|
|
- name: external
|
|
|
|
port: 9094
|
|
|
|
tls: false
|
|
|
|
type: nodeport
|
|
|
|
configuration:
|
|
|
|
bootstrap:
|
|
|
|
nodePort: 32100
|
|
|
|
brokers:
|
|
|
|
- broker: 0
|
|
|
|
nodePort: 32700
|
|
|
|
config:
|
2024-12-06 11:18:49 +01:00
|
|
|
# max.request.size: x
|
2024-12-16 14:15:12 +01:00
|
|
|
message.max.bytes: 2147483647
|
|
|
|
replica.fetch.max.bytes: 2147483647
|
2024-12-04 14:21:52 +01:00
|
|
|
offsets.topic.replication.factor: 1
|
|
|
|
transaction.state.log.replication.factor: 1
|
|
|
|
transaction.state.log.min.isr: 1
|
|
|
|
default.replication.factor: 1
|
|
|
|
min.insync.replicas: 1
|
|
|
|
inter.broker.protocol.version: "3.8"
|
|
|
|
storage:
|
|
|
|
type: jbod
|
|
|
|
volumes:
|
|
|
|
- id: 0
|
|
|
|
type: persistent-claim
|
|
|
|
size: 1Gi
|
|
|
|
deleteClaim: false
|
|
|
|
class: csi-sc-cinderplugin
|
|
|
|
zookeeper:
|
|
|
|
replicas: 1
|
|
|
|
storage:
|
|
|
|
type: persistent-claim
|
|
|
|
size: 1Gi
|
|
|
|
deleteClaim: false
|
|
|
|
class: csi-sc-cinderplugin
|
|
|
|
entityOperator:
|
|
|
|
topicOperator: {}
|
|
|
|
userOperator: {}
|