Seed PROD_KAFKA_TOPIC_VERSION_SETTING property for eventManagerServiceV2
INSERT IGNORE ensures idempotency on re-deploy (PK: entity_type, entity_value, property_type). Required by eventManagerServiceV2 at startup for TopicSettingServlet.refreshTopicSettings(). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
6e59dcdbe7
commit
7cbda21fb6
@ -17,3 +17,23 @@
|
||||
# property_types p, entity_types e
|
||||
#WHERE
|
||||
# prop.property_type_id = p.id AND prop.entity_type_id = e.id;
|
||||
|
||||
use property_settings_db_v2;
|
||||
|
||||
-- Seed default Kafka topic version setting (required by eventManagerServiceV2)
|
||||
INSERT IGNORE INTO properties
|
||||
(
|
||||
entity_type,
|
||||
entity_value,
|
||||
property_type,
|
||||
property_value,
|
||||
is_active
|
||||
)
|
||||
VALUES
|
||||
(
|
||||
'AGENCY',
|
||||
'ALL',
|
||||
'PROD_KAFKA_TOPIC_VERSION_SETTING',
|
||||
'{}',
|
||||
1
|
||||
);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user