feat: add platform-infra kafka event bus poc
This commit is contained in:
@@ -0,0 +1,118 @@
|
||||
version: 1
|
||||
kind: platform-infra-kafka
|
||||
|
||||
metadata:
|
||||
id: kafka-event-bus
|
||||
owner: unidesk
|
||||
spec: pikasTech/HWLAB#2243
|
||||
relatedIssues:
|
||||
- 2243
|
||||
|
||||
defaults:
|
||||
targetId: D518
|
||||
switch:
|
||||
enabled: true
|
||||
mode: runtime-poc
|
||||
appIntegrationEnabled: false
|
||||
|
||||
operator:
|
||||
implementation: strimzi
|
||||
version: 1.1.0
|
||||
manifestUrl: https://github.com/strimzi/strimzi-kafka-operator/releases/download/1.1.0/strimzi-cluster-operator-1.1.0.yaml
|
||||
deploymentName: strimzi-cluster-operator
|
||||
serviceAccountName: strimzi-cluster-operator
|
||||
crds:
|
||||
- kafkas.kafka.strimzi.io
|
||||
- kafkanodepools.kafka.strimzi.io
|
||||
- kafkatopics.kafka.strimzi.io
|
||||
- kafkausers.kafka.strimzi.io
|
||||
|
||||
targets:
|
||||
- id: D518
|
||||
route: D518:k3s
|
||||
namespace: platform-infra
|
||||
role: active
|
||||
enabled: true
|
||||
createNamespace: true
|
||||
storageClassName: local-path
|
||||
|
||||
cluster:
|
||||
name: platform-infra-kafka
|
||||
nodePoolName: dual-role
|
||||
kafkaVersion: 4.3.0
|
||||
metadataVersion: 4.3-IV0
|
||||
replicas: 1
|
||||
storage:
|
||||
size: 4Gi
|
||||
deleteClaim: false
|
||||
listeners:
|
||||
plain:
|
||||
enabled: true
|
||||
port: 9092
|
||||
tls:
|
||||
enabled: true
|
||||
port: 9093
|
||||
authorization:
|
||||
enabled: false
|
||||
mode: deferred-app-integration
|
||||
|
||||
topics:
|
||||
- name: hwlab.agentrun.command.v1
|
||||
partitions: 1
|
||||
replicas: 1
|
||||
retentionMs: 604800000
|
||||
cleanupPolicy: delete
|
||||
description: HWLAB v0.3 admitted user commands for AgentRun v0.2.
|
||||
- name: agentrun.hwlab.event.v1
|
||||
partitions: 1
|
||||
replicas: 1
|
||||
retentionMs: 604800000
|
||||
cleanupPolicy: delete
|
||||
description: AgentRun v0.2 run/command events for HWLAB v0.3 ingestion.
|
||||
- name: hwlab.agentrun.command.dlq.v1
|
||||
partitions: 1
|
||||
replicas: 1
|
||||
retentionMs: 1209600000
|
||||
cleanupPolicy: delete
|
||||
description: Dead-letter topic for HWLAB to AgentRun command delivery.
|
||||
- name: agentrun.hwlab.event.dlq.v1
|
||||
partitions: 1
|
||||
replicas: 1
|
||||
retentionMs: 1209600000
|
||||
cleanupPolicy: delete
|
||||
description: Dead-letter topic for AgentRun to HWLAB event delivery.
|
||||
- name: platform-infra.kafka.smoke.v1
|
||||
partitions: 1
|
||||
replicas: 1
|
||||
retentionMs: 86400000
|
||||
cleanupPolicy: delete
|
||||
description: Platform-infra Kafka broker smoke topic.
|
||||
|
||||
clients:
|
||||
- id: hwlab-v03-cloud-api
|
||||
namespace: hwlab-v03
|
||||
serviceAccountName: hwlab-cloud-api
|
||||
kafkaUserName: hwlab-v03-cloud-api
|
||||
secretName: hwlab-v03-cloud-api
|
||||
produceTopics:
|
||||
- hwlab.agentrun.command.v1
|
||||
consumeTopics:
|
||||
- agentrun.hwlab.event.v1
|
||||
dlqTopics:
|
||||
- agentrun.hwlab.event.dlq.v1
|
||||
- id: agentrun-v02-manager
|
||||
namespace: agentrun-v02
|
||||
serviceAccountName: agentrun-manager
|
||||
kafkaUserName: agentrun-v02-manager
|
||||
secretName: agentrun-v02-manager
|
||||
produceTopics:
|
||||
- agentrun.hwlab.event.v1
|
||||
consumeTopics:
|
||||
- hwlab.agentrun.command.v1
|
||||
dlqTopics:
|
||||
- hwlab.agentrun.command.dlq.v1
|
||||
|
||||
validation:
|
||||
timeoutSeconds: 45
|
||||
pollSeconds: 3
|
||||
smokeTopic: platform-infra.kafka.smoke.v1
|
||||
Reference in New Issue
Block a user