Skip to content

Commit

Permalink
add kafka topic0
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam0Brien committed Nov 26, 2024
1 parent ce353a8 commit 55ac39a
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
2 changes: 1 addition & 1 deletion deploy/kind/e2e/e2e-batch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ spec:
- name: INV_HTTP_URL
value: "kessel-inventory-service:8081"
- name: KAFKA_BOOTSTRAP_SERVERS
value: "my-cluster-kafka-bootstrap:9092" # my-cluster-kafka-bootstrap.default.svc.cluster.local:9092
value: "my-cluster-kafka-bootstrap:9092"
command: ["/usr/local/bin/e2e-inventory-tests", "-test.v"]
restartPolicy: Never

Expand Down
14 changes: 14 additions & 0 deletions deploy/kind/inventory/strimzi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,17 @@ spec:
replicas: 3
storage:
type: ephemeral
---
apiVersion: kafka.strimzi.io/v1beta2
kind: KafkaTopic
metadata:
name: kessel-inventory
namespace: default
labels:
strimzi.io/cluster: my-cluster
spec:
partitions: 3
replicas: 3
config:
retention.ms: 604800000
segment.bytes: 1073741824

0 comments on commit 55ac39a

Please sign in to comment.