Skip to content

Commit 2fc127a

Browse files
committed
RHINENG-21216: add new kafka topic for re-evaluation
1 parent 0b11d47 commit 2fc127a

5 files changed

Lines changed: 7 additions & 4 deletions

File tree

conf/common.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ KAFKA_READY_ADDRESS=http://kafka:9099/
1111
# set if you want to bypass kafka SSL verification
1212
#KAFKA_SSL_SKIP_VERIFY=true
1313

14-
EVAL_TOPIC=patchman.evaluator.upload
14+
EVAL_TOPIC=patchman.evaluator.user-evaluation
1515
EVENTS_TOPIC=platform.inventory.events
1616
NOTIFICATIONS_TOPIC=platform.notifications.ingress
1717
PAYLOAD_TRACKER_TOPIC=platform.payload-status

conf/evaluator_upload.env

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
EVAL_TOPIC=patchman.evaluator.upload

conf/local.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ KAFKA_GROUP=patchman
2121
KAFKA_SSL_CERT=dev/kafka/secrets/ca.crt
2222
PAYLOAD_TRACKER_TOPIC=platform.payload-status
2323
EVENTS_TOPIC=platform.inventory.events
24-
EVAL_TOPIC=patchman.evaluator.upload
24+
EVAL_TOPIC=patchman.evaluator.user-evaluation
2525
TEMPLATE_TOPIC=platform.content-sources.template
2626

2727
RBAC_ADDRESS=http://localhost:9001

deploy/clowdapp.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -476,6 +476,7 @@ objects:
476476
- {replicas: 3, partitions: 10, topicName: platform.remediation-updates.patch}
477477
- {replicas: 3, partitions: 10, topicName: platform.notifications.ingress}
478478
- {replicas: 3, partitions: 10, topicName: platform.content-sources.template}
479+
- {replicas: 3, partitions: 4, topicName: patchman.evaluator.user-evaluation}
479480

480481
dependencies:
481482
- host-inventory
@@ -618,7 +619,7 @@ parameters:
618619
- {name: REPLICAS_MANAGER, value: '1'}
619620
- {name: LOG_LEVEL_MANAGER, value: debug}
620621
- {name: DB_DEBUG_MANAGER, value: 'false'} # Log database queries if enabled
621-
- {name: EVAL_TOPIC_MANAGER, value: patchman.evaluator.upload}
622+
- {name: EVAL_TOPIC_MANAGER, value: patchman.evaluator.user-evaluation}
622623
- {name: CPU_LIMIT_MANAGER, value: 1000m}
623624
- {name: MEM_LIMIT_MANAGER, value: 2Gi}
624625
- {name: CPU_REQUEST_MANAGER, value: 500m}

dev/kafka/setup.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ sleep 5
77
for topic in "platform.inventory.events" "patchman.evaluator.upload" \
88
"patchman.evaluator.recalc" "platform.remediation-updates.patch" "platform.notifications.ingress" \
99
"platform.payload-status" "test" \
10-
"platform.content-sources.template"
10+
"platform.content-sources.template" \
11+
"patchman.evaluator.user-evaluation"
1112
do
1213
until /opt/kafka/bin/kafka-topics.sh --create --if-not-exists --topic $topic \
1314
--partitions 1 --bootstrap-server kafka:9092 --replication-factor 1; do

0 commit comments

Comments
 (0)