Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rebased code changes for Compose Refactor #8 #12

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
20 changes: 0 additions & 20 deletions environments/dev/apps/refarch-kc/base/kafka/kafka-topics.yaml
@@ -1,15 +1,5 @@
apiVersion: kafka.strimzi.io/v1beta1
kind: KafkaTopic
metadata:
name: allocated-orders
labels:
strimzi.io/cluster: my-cluster
spec:
partitions: 1
replicas: 1
---
apiVersion: kafka.strimzi.io/v1beta1
kind: KafkaTopic
metadata:
name: bluewater-container
labels:
Expand Down Expand Up @@ -108,13 +98,3 @@ spec:
partitions: 1
replicas: 1
---
apiVersion: kafka.strimzi.io/v1beta1
kind: KafkaTopic
metadata:
name: rejected-orders
labels:
strimzi.io/cluster: my-cluster
spec:
partitions: 1
replicas: 1
---
2 changes: 0 additions & 2 deletions environments/dev/env/base/kafka-topics-configmap.yaml
Expand Up @@ -3,7 +3,6 @@ kind: ConfigMap
metadata:
name: kafka-topics
data:
allocatedOrdersTopic: allocated-orders
bluewaterContainerTopic: bluewater-container
bluewaterProblemTopic: bluewater-problem
bluewaterShipTopic: bluewater-ship
Expand All @@ -14,4 +13,3 @@ data:
orderCommandsTopic: order-commands
ordersTopic: orders
reeferTelemetryTopic: reefer-telemetry
rejectedOrdersTopic: rejected-orders
Expand Up @@ -33,16 +33,11 @@ spec:
configMapKeyRef:
key: brokers
name: kafka-brokers
- name: TELEMETRY_TOPIC
- name: MP_MESSAGING_INCOMING_REEFER_TELEMETRY_TOPIC
valueFrom:
configMapKeyRef:
key: reeferTelemetryTopic
name: kafka-topics
- name: CONTAINER_TOPIC
valueFrom:
configMapKeyRef:
key: containersTopic
name: kafka-topics
# TODO: Remove from app-deploy.yaml in refarch-reefer-ml
# - name: KAFKA_APIKEY
# valueFrom:
Expand Down
Expand Up @@ -68,7 +68,7 @@ spec:
#############################
### Reactive Messaging topics
#############################
- name: MP_MESSAGING_INCOMING_REEFERTELEMETRY_TOPIC
- name: MP_MESSAGING_INCOMING_REEFER_TELEMETRY_TOPIC
valueFrom:
configMapKeyRef:
name: "kafka-topics"
Expand Down
Expand Up @@ -49,7 +49,7 @@ spec:
configMapKeyRef:
key: brokers
name: kafka-brokers
- name: ORDER_TOPIC
- name: KCSOLUTION_ORDERS_TOPIC
valueFrom:
configMapKeyRef:
key: ordersTopic
Expand Down
Expand Up @@ -3,7 +3,6 @@ kind: ConfigMap
metadata:
name: kafka-topics
data:
allocatedOrdersTopic: eda-integration-allocated-orders
bluewaterContainerTopic: eda-integration-bluewaterContainer
bluewaterProblemTopic: eda-integration-bluewaterProblem
bluewaterShipTopic: eda-integration-bluewaterShip
Expand All @@ -14,4 +13,3 @@ data:
orderCommandsTopic: eda-integration-order-commands
ordersTopic: eda-integration-orders
reeferTelemetryTopic: eda-integration-reefer-telemetry
rejectedOrdersTopic: eda-integration-rejected-orders
Expand Up @@ -33,16 +33,11 @@ spec:
configMapKeyRef:
key: brokers
name: kafka-brokers
- name: TELEMETRY_TOPIC
- name: MP_MESSAGING_INCOMING_REEFER_TELEMETRY_TOPIC
valueFrom:
configMapKeyRef:
key: reeferTelemetryTopic
name: kafka-topics
- name: CONTAINER_TOPIC
valueFrom:
configMapKeyRef:
key: containersTopic
name: kafka-topics
# TODO: Remove from app-deploy.yaml in refarch-reefer-ml
# - name: KAFKA_APIKEY
# valueFrom:
Expand Down
Expand Up @@ -49,7 +49,7 @@ spec:
configMapKeyRef:
key: brokers
name: kafka-brokers
- name: ORDER_TOPIC
- name: KCSOLUTION_ORDERS_TOPIC
valueFrom:
configMapKeyRef:
key: ordersTopic
Expand Down
Expand Up @@ -3,7 +3,6 @@ kind: ConfigMap
metadata:
name: kafka-topics
data:
allocatedOrdersTopic: allocated-orders
bluewaterContainerTopic: bluewaterContainer
bluewaterProblemTopic: bluewaterProblem
bluewaterShipTopic: bluewaterShip
Expand All @@ -14,4 +13,3 @@ data:
orderCommandsTopic: order-commands
ordersTopic: orders
reeferTelemetryTopic: reefer-telemetry
rejectedOrdersTopic: rejected-orders
Expand Up @@ -33,16 +33,11 @@ spec:
configMapKeyRef:
key: brokers
name: kafka-brokers
- name: TELEMETRY_TOPIC
- name: MP_MESSAGING_INCOMING_REEFER_TELEMETRY_TOPIC
valueFrom:
configMapKeyRef:
key: reeferTelemetryTopic
name: kafka-topics
- name: CONTAINER_TOPIC
valueFrom:
configMapKeyRef:
key: containersTopic
name: kafka-topics
# TODO: Remove from app-deploy.yaml in refarch-reefer-ml
# - name: KAFKA_APIKEY
# valueFrom:
Expand Down
Expand Up @@ -68,7 +68,7 @@ spec:
#############################
### Reactive Messaging topics
#############################
- name: MP_MESSAGING_INCOMING_REEFERTELEMETRY_TOPIC
- name: MP_MESSAGING_INCOMING_REEFER_TELEMETRY_TOPIC
valueFrom:
configMapKeyRef:
name: "kafka-topics"
Expand Down
Expand Up @@ -49,7 +49,7 @@ spec:
configMapKeyRef:
key: brokers
name: kafka-brokers
- name: ORDER_TOPIC
- name: KCSOLUTION_ORDERS_TOPIC
valueFrom:
configMapKeyRef:
key: ordersTopic
Expand Down