From 8bb906bb2615733df7f1fb125c78f9c671c18335 Mon Sep 17 00:00:00 2001 From: mohitdeuex Date: Mon, 30 Sep 2024 17:19:56 +0530 Subject: [PATCH] Add Payload Size to take dynamic entry --- .../resources/json/data/app/SearchIndexingApplication.json | 1 + .../appMarketPlaceDefinition/SearchIndexingApplication.json | 1 + .../resources/json/schema/system/eventPublisherJob.json | 2 +- .../utils/ApplicationSchemas/SearchIndexingApplication.json | 6 ++++++ 4 files changed, 9 insertions(+), 1 deletion(-) diff --git a/openmetadata-service/src/main/resources/json/data/app/SearchIndexingApplication.json b/openmetadata-service/src/main/resources/json/data/app/SearchIndexingApplication.json index 285124f81f5a..8481ca34b8d5 100644 --- a/openmetadata-service/src/main/resources/json/data/app/SearchIndexingApplication.json +++ b/openmetadata-service/src/main/resources/json/data/app/SearchIndexingApplication.json @@ -51,5 +51,6 @@ "scheduleTimeline": "Custom", "cronExpression": "0 0 * * *" }, + "payLoadSize": "104857600", "supportsInterrupt": true } diff --git a/openmetadata-service/src/main/resources/json/data/appMarketPlaceDefinition/SearchIndexingApplication.json b/openmetadata-service/src/main/resources/json/data/appMarketPlaceDefinition/SearchIndexingApplication.json index c8bb323a9142..ab68e742d08d 100644 --- a/openmetadata-service/src/main/resources/json/data/appMarketPlaceDefinition/SearchIndexingApplication.json +++ b/openmetadata-service/src/main/resources/json/data/appMarketPlaceDefinition/SearchIndexingApplication.json @@ -60,6 +60,7 @@ ], "recreateIndex": false, "batchSize": "100", + "payLoadSize": "104857600", "searchIndexMappingLanguage": "EN" } } diff --git a/openmetadata-spec/src/main/resources/json/schema/system/eventPublisherJob.json b/openmetadata-spec/src/main/resources/json/schema/system/eventPublisherJob.json index a59f8a611a6d..71abf474c0d9 100644 --- a/openmetadata-spec/src/main/resources/json/schema/system/eventPublisherJob.json +++ b/openmetadata-spec/src/main/resources/json/schema/system/eventPublisherJob.json @@ -102,7 +102,7 @@ "type": "integer" }, "payLoadSize": { - "description": "Payload size in bytes depending on config", + "description": "Payload size in bytes depending on config.", "type": "object", "existingJavaType": "java.lang.Long", "default": 104857600 diff --git a/openmetadata-ui/src/main/resources/ui/src/utils/ApplicationSchemas/SearchIndexingApplication.json b/openmetadata-ui/src/main/resources/ui/src/utils/ApplicationSchemas/SearchIndexingApplication.json index f3332d92c856..69e218615f5a 100644 --- a/openmetadata-ui/src/main/resources/ui/src/utils/ApplicationSchemas/SearchIndexingApplication.json +++ b/openmetadata-ui/src/main/resources/ui/src/utils/ApplicationSchemas/SearchIndexingApplication.json @@ -10,6 +10,12 @@ "type": "integer", "default": 100 }, + "payLoadSize": { + "title": "Payload Size", + "description": "Maximum number of events entities in a batch (Default 100).", + "type": "integer", + "default": 104857600 + }, "entities": { "title": "Entities", "description": "List of entities that you need to reindex",