Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ran prettify
Browse files Browse the repository at this point in the history
pranavbhole committed Dec 2, 2023
1 parent 109bfb2 commit 59c1821
Showing 2 changed files with 30 additions and 15 deletions.
Original file line number Diff line number Diff line change
@@ -383,6 +383,33 @@ exports[`LookupEditDialog matches snapshot 1`] = `
],
"type": "duration",
},
Object {
"defined": [Function],
"info": "How much jitter to add (in seconds) up to maximum as a delay (actual value will be used as random from 0 to jitterSeconds), used to distribute db load more evenly",
"name": "extractionNamespace.jitterSeconds",
"placeholder": "30 (optional), default is 0",
"required": false,
"suggestions": Array [],
"type": "number",
},
Object {
"defined": [Function],
"info": "How much time (in seconds) it can take to query and populate lookup values. It will be helpful in lookup updates. On lookup update, it will wait maximum of \`loadTimeoutSeconds\` for new lookup to come up and continue serving from old lookup until new lookup successfully loads.",
"name": "extractionNamespace.loadTimeoutSeconds",
"placeholder": "60 (optional), default is 60 sec",
"required": false,
"suggestions": Array [],
"type": "number",
},
Object {
"defined": [Function],
"info": "The maximum percentage of heap size that the lookup should consume. If the lookup grows beyond this size, warning messages will be logged in the respective service logs.",
"name": "extractionNamespace.maxHeapPercentage",
"placeholder": "10, (optional), default is 10",
"required": false,
"suggestions": Array [],
"type": "number",
},
Object {
"defaultValue": 0,
"defined": [Function],
18 changes: 3 additions & 15 deletions web-console/src/druid-models/lookup-spec/lookup-spec.tsx
Original file line number Diff line number Diff line change
@@ -466,11 +466,7 @@ export const LOOKUP_FIELDS: Field<LookupSpec>[] = [
type: 'number',
placeholder: '30 (optional), default is 0',
defined: l =>
oneOfKnown(
deepGet(l, 'extractionNamespace.type'),
KNOWN_EXTRACTION_NAMESPACE_TYPES,
'jdbc',
),
oneOfKnown(deepGet(l, 'extractionNamespace.type'), KNOWN_EXTRACTION_NAMESPACE_TYPES, 'jdbc'),
info: 'How much jitter to add (in seconds) up to maximum as a delay (actual value will be used as random from 0 to jitterSeconds), used to distribute db load more evenly',
required: false,
suggestions: [],
@@ -480,11 +476,7 @@ export const LOOKUP_FIELDS: Field<LookupSpec>[] = [
type: 'number',
placeholder: '60 (optional), default is 60 sec',
defined: l =>
oneOfKnown(
deepGet(l, 'extractionNamespace.type'),
KNOWN_EXTRACTION_NAMESPACE_TYPES,
'jdbc',
),
oneOfKnown(deepGet(l, 'extractionNamespace.type'), KNOWN_EXTRACTION_NAMESPACE_TYPES, 'jdbc'),
info: 'How much time (in seconds) it can take to query and populate lookup values. It will be helpful in lookup updates. On lookup update, it will wait maximum of `loadTimeoutSeconds` for new lookup to come up and continue serving from old lookup until new lookup successfully loads.',
required: false,
suggestions: [],
@@ -494,11 +486,7 @@ export const LOOKUP_FIELDS: Field<LookupSpec>[] = [
type: 'number',
placeholder: '10, (optional), default is 10',
defined: l =>
oneOfKnown(
deepGet(l, 'extractionNamespace.type'),
KNOWN_EXTRACTION_NAMESPACE_TYPES,
'jdbc',
),
oneOfKnown(deepGet(l, 'extractionNamespace.type'), KNOWN_EXTRACTION_NAMESPACE_TYPES, 'jdbc'),
info: 'The maximum percentage of heap size that the lookup should consume. If the lookup grows beyond this size, warning messages will be logged in the respective service logs.',
required: false,
suggestions: [],

0 comments on commit 59c1821

Please sign in to comment.