From 5caabcc5dc8926c592d3a046e34f7b0a13b0540f Mon Sep 17 00:00:00 2001 From: mohitdeuex Date: Mon, 30 Sep 2024 22:15:21 +0530 Subject: [PATCH] Fix failure --- .../resources/json/data/app/SearchIndexingApplication.json | 2 +- .../appMarketPlaceDefinition/SearchIndexingApplication.json | 2 +- .../configuration/internal/searchIndexingAppConfig.json | 6 ++++++ .../resources/json/schema/system/eventPublisherJob.json | 2 +- 4 files changed, 9 insertions(+), 3 deletions(-) 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 8481ca34b8d5..3169c3634a42 100644 --- a/openmetadata-service/src/main/resources/json/data/app/SearchIndexingApplication.json +++ b/openmetadata-service/src/main/resources/json/data/app/SearchIndexingApplication.json @@ -45,12 +45,12 @@ ], "recreateIndex": false, "batchSize": "100", + "payLoadSize": 104857600, "searchIndexMappingLanguage": "EN" }, "appSchedule": { "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 ab68e742d08d..8690cd5864d5 100644 --- a/openmetadata-service/src/main/resources/json/data/appMarketPlaceDefinition/SearchIndexingApplication.json +++ b/openmetadata-service/src/main/resources/json/data/appMarketPlaceDefinition/SearchIndexingApplication.json @@ -60,7 +60,7 @@ ], "recreateIndex": false, "batchSize": "100", - "payLoadSize": "104857600", + "payLoadSize": 104857600, "searchIndexMappingLanguage": "EN" } } diff --git a/openmetadata-spec/src/main/resources/json/schema/entity/applications/configuration/internal/searchIndexingAppConfig.json b/openmetadata-spec/src/main/resources/json/schema/entity/applications/configuration/internal/searchIndexingAppConfig.json index e432d259f5e4..f05af337987c 100644 --- a/openmetadata-spec/src/main/resources/json/schema/entity/applications/configuration/internal/searchIndexingAppConfig.json +++ b/openmetadata-spec/src/main/resources/json/schema/entity/applications/configuration/internal/searchIndexingAppConfig.json @@ -38,6 +38,12 @@ "type": "integer", "default": 100 }, + "payLoadSize": { + "description": "Maximum number of events sent in a batch (Default 100).", + "type": "integer", + "existingJavaType": "java.lang.Long", + "default": 104857600 + }, "searchIndexMappingLanguage": { "description": "Recreate Indexes with updated Language", "$ref": "../../../../configuration/elasticSearchConfiguration.json#/definitions/searchIndexMappingLanguage" 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 71abf474c0d9..4a4f8b123f76 100644 --- a/openmetadata-spec/src/main/resources/json/schema/system/eventPublisherJob.json +++ b/openmetadata-spec/src/main/resources/json/schema/system/eventPublisherJob.json @@ -103,7 +103,7 @@ }, "payLoadSize": { "description": "Payload size in bytes depending on config.", - "type": "object", + "type": "integer", "existingJavaType": "java.lang.Long", "default": 104857600 },