Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
dinky
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wangpeng
dinky
Commits
149345fb
Unverified
Commit
149345fb
authored
Dec 07, 2023
by
gaoyan
Committed by
GitHub
Dec 07, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
optimize flink option (#2615)
parent
0f0832c2
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
237 additions
and
61 deletions
+237
-61
pom.xml
dinky-admin/pom.xml
+1
-0
FlinkController.java
...n/src/main/java/org/dinky/controller/FlinkController.java
+6
-39
CascaderVO.java
dinky-admin/src/main/java/org/dinky/data/vo/CascaderVO.java
+13
-0
FlinkService.java
...y-admin/src/main/java/org/dinky/service/FlinkService.java
+29
-0
FlinkServiceImpl.java
...rc/main/java/org/dinky/service/impl/FlinkServiceImpl.java
+69
-0
SuggestionServiceImpl.java
...in/java/org/dinky/service/impl/SuggestionServiceImpl.java
+25
-1
FlinkConfigOptionsUtils.java
...rc/main/java/org/dinky/utils/FlinkConfigOptionsUtils.java
+22
-21
FlinkConfClass
dinky-admin/src/main/resources/FlinkConfClass
+31
-0
package.xml
dinky-assembly/src/main/assembly/package.xml
+1
-0
FlinkConfigOption.java
...n/java/org/dinky/data/flink/config/FlinkConfigOption.java
+40
-0
No files found.
dinky-admin/pom.xml
View file @
149345fb
...
@@ -404,6 +404,7 @@
...
@@ -404,6 +404,7 @@
<exclude>
/application*.yml
</exclude>
<exclude>
/application*.yml
</exclude>
<exclude>
/mybatis*.xml
</exclude>
<exclude>
/mybatis*.xml
</exclude>
<exclude>
/DinkyFlinkDockerfile
</exclude>
<exclude>
/DinkyFlinkDockerfile
</exclude>
<exclude>
/FlinkConfClass
</exclude>
</excludes>
</excludes>
</configuration>
</configuration>
<executions>
<executions>
...
...
dinky-admin/src/main/java/org/dinky/controller/FlinkController.java
View file @
149345fb
...
@@ -23,10 +23,8 @@ import org.dinky.data.model.CheckPointReadTable;
...
@@ -23,10 +23,8 @@ import org.dinky.data.model.CheckPointReadTable;
import
org.dinky.data.result.Result
;
import
org.dinky.data.result.Result
;
import
org.dinky.data.vo.CascaderVO
;
import
org.dinky.data.vo.CascaderVO
;
import
org.dinky.flink.checkpoint.CheckpointRead
;
import
org.dinky.flink.checkpoint.CheckpointRead
;
import
org.dinky.
utils.CascaderOptionsUtils
;
import
org.dinky.
service.FlinkService
;
import
java.util.ArrayList
;
import
java.util.Arrays
;
import
java.util.List
;
import
java.util.List
;
import
java.util.Map
;
import
java.util.Map
;
...
@@ -36,14 +34,18 @@ import org.springframework.web.bind.annotation.RestController;
...
@@ -36,14 +34,18 @@ import org.springframework.web.bind.annotation.RestController;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.ApiOperation
;
import
io.swagger.annotations.ApiOperation
;
import
lombok.RequiredArgsConstructor
;
import
lombok.extern.slf4j.Slf4j
;
import
lombok.extern.slf4j.Slf4j
;
@RestController
@RestController
@Slf4j
@Slf4j
@Api
(
tags
=
"Flink Conf Controller"
,
hidden
=
true
)
@Api
(
tags
=
"Flink Conf Controller"
,
hidden
=
true
)
@RequestMapping
(
"/api/flinkConf"
)
@RequestMapping
(
"/api/flinkConf"
)
@RequiredArgsConstructor
public
class
FlinkController
{
public
class
FlinkController
{
protected
static
final
CheckpointRead
INSTANCE
=
new
CheckpointRead
();
protected
static
final
CheckpointRead
INSTANCE
=
new
CheckpointRead
();
private
final
FlinkService
flinkService
;
@GetMapping
(
"/readCheckPoint"
)
@GetMapping
(
"/readCheckPoint"
)
@ApiOperation
(
"Read Checkpoint"
)
@ApiOperation
(
"Read Checkpoint"
)
...
@@ -54,41 +56,6 @@ public class FlinkController {
...
@@ -54,41 +56,6 @@ public class FlinkController {
@GetMapping
(
"/configOptions"
)
@GetMapping
(
"/configOptions"
)
@ApiOperation
(
"Query Flink Configuration Options"
)
@ApiOperation
(
"Query Flink Configuration Options"
)
public
Result
<
List
<
CascaderVO
>>
loadDataByGroup
()
{
public
Result
<
List
<
CascaderVO
>>
loadDataByGroup
()
{
final
String
[]
nameList
=
{
return
Result
.
succeed
(
flinkService
.
loadConfigOptions
());
"org.apache.flink.configuration.CoreOptions"
,
"org.apache.flink.configuration.RestOptions"
,
"org.apache.flink.configuration.PipelineOptions"
,
"org.apache.flink.configuration.SecurityOptions"
,
"org.apache.flink.configuration.YarnConfigOptions"
,
"org.apache.flink.configuration.WebOptions"
,
"org.apache.flink.configuration.JobManagerOptions"
,
"org.apache.flink.configuration.TaskManagerOptions"
,
"org.apache.flink.configuration.HighAvailabilityOptions"
,
"org.apache.flink.configuration.KubernetesConfigOptions"
,
"org.apache.flink.configuration.ClusterOptions"
,
"org.apache.flink.configuration.StateBackendOptions"
,
"org.apache.flink.configuration.QueryableStateOptions"
,
"org.apache.flink.configuration.CheckpointingOptions"
,
"org.apache.flink.configuration.JMXServerOptions"
,
"org.apache.flink.configuration.HeartbeatManagerOptions"
,
"org.apache.flink.configuration.OptimizerOptions"
,
"org.apache.flink.configuration.AkkaOptions"
,
"org.apache.flink.configuration.AlgorithmOptions"
,
"org.apache.flink.configuration.BlobServerOptions"
,
"org.apache.flink.configuration.ExecutionOptions"
,
"org.apache.flink.configuration.ExternalResourceOptions"
,
"org.apache.flink.configuration.ResourceManagerOptions"
,
"org.apache.flink.configuration.HistoryServerOptions"
,
"org.apache.flink.configuration.MetricOptions"
,
"org.apache.flink.configuration.NettyShuffleEnvironmentOptions"
,
"org.apache.flink.configuration.RestartStrategyOptions"
,
"org.apache.flink.yarn.configuration.YarnConfigOptions"
,
"org.apache.flink.kubernetes.configuration.KubernetesConfigOptions"
,
"org.dinky.constant.CustomerConfigureOptions"
};
List
<
CascaderVO
>
dataList
=
new
ArrayList
<>();
Arrays
.
stream
(
nameList
).
map
(
CascaderOptionsUtils:
:
buildCascadeOptions
).
forEach
(
dataList:
:
addAll
);
return
Result
.
succeed
(
dataList
);
}
}
}
}
dinky-admin/src/main/java/org/dinky/data/vo/CascaderVO.java
View file @
149345fb
...
@@ -47,4 +47,17 @@ public class CascaderVO implements Serializable {
...
@@ -47,4 +47,17 @@ public class CascaderVO implements Serializable {
notes
=
"List of child CascaderVO objects"
,
notes
=
"List of child CascaderVO objects"
,
dataType
=
"List<CascaderVO>"
)
dataType
=
"List<CascaderVO>"
)
private
List
<
CascaderVO
>
children
;
private
List
<
CascaderVO
>
children
;
public
CascaderVO
()
{}
public
CascaderVO
(
String
label
)
{
this
.
label
=
label
;
this
.
value
=
label
;
}
public
CascaderVO
(
String
label
,
List
<
CascaderVO
>
children
)
{
this
.
label
=
label
;
this
.
value
=
label
;
this
.
children
=
children
;
}
}
}
dinky-admin/src/main/java/org/dinky/service/FlinkService.java
0 → 100644
View file @
149345fb
/*
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
*/
package
org
.
dinky
.
service
;
import
org.dinky.data.vo.CascaderVO
;
import
java.util.List
;
public
interface
FlinkService
{
List
<
CascaderVO
>
loadConfigOptions
();
}
dinky-admin/src/main/java/org/dinky/service/impl/FlinkServiceImpl.java
0 → 100644
View file @
149345fb
/*
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
*/
package
org
.
dinky
.
service
.
impl
;
import
org.dinky.data.flink.config.FlinkConfigOption
;
import
org.dinky.data.model.Document
;
import
org.dinky.data.vo.CascaderVO
;
import
org.dinky.service.FlinkService
;
import
org.dinky.utils.FlinkConfigOptionsUtils
;
import
java.util.ArrayList
;
import
java.util.List
;
import
java.util.stream.Collectors
;
import
org.springframework.stereotype.Service
;
import
lombok.RequiredArgsConstructor
;
import
lombok.extern.slf4j.Slf4j
;
@Service
@RequiredArgsConstructor
@Slf4j
public
class
FlinkServiceImpl
implements
FlinkService
{
private
final
DocumentServiceImpl
documentService
;
@Override
public
List
<
CascaderVO
>
loadConfigOptions
()
{
List
<
CascaderVO
>
dataList
=
new
ArrayList
<>();
for
(
String
name
:
FlinkConfigOptionsUtils
.
getConfigOptionsClass
())
{
List
<
FlinkConfigOption
>
flinkConfigOptions
=
FlinkConfigOptionsUtils
.
loadOptionsByClassName
(
name
);
String
binlogGroup
=
FlinkConfigOptionsUtils
.
parsedBinlogGroup
(
name
);
List
<
CascaderVO
>
child
=
flinkConfigOptions
.
stream
()
.
map
(
conf
->
new
CascaderVO
(
conf
.
getKey
()))
.
collect
(
Collectors
.
toList
());
CascaderVO
cascaderVO
=
new
CascaderVO
(
binlogGroup
,
child
);
dataList
.
add
(
cascaderVO
);
}
List
<
CascaderVO
>
voList
=
documentService
.
lambdaQuery
().
eq
(
Document:
:
getCategory
,
"Variable"
).
list
().
stream
()
.
map
(
d
->
new
CascaderVO
(
d
.
getName
().
replace
(
"set "
,
""
)))
.
collect
(
Collectors
.
toList
());
CascaderVO
cascaderVO
=
new
CascaderVO
();
cascaderVO
.
setLabel
(
"Custom Doc"
);
cascaderVO
.
setChildren
(
voList
);
dataList
.
add
(
cascaderVO
);
return
dataList
;
}
}
dinky-admin/src/main/java/org/dinky/service/impl/SuggestionServiceImpl.java
View file @
149345fb
...
@@ -19,6 +19,7 @@
...
@@ -19,6 +19,7 @@
package
org
.
dinky
.
service
.
impl
;
package
org
.
dinky
.
service
.
impl
;
import
org.dinky.data.flink.config.FlinkConfigOption
;
import
org.dinky.data.model.Document
;
import
org.dinky.data.model.Document
;
import
org.dinky.data.model.FragmentVariable
;
import
org.dinky.data.model.FragmentVariable
;
import
org.dinky.data.vo.suggestion.SuggestionLabelVO
;
import
org.dinky.data.vo.suggestion.SuggestionLabelVO
;
...
@@ -26,13 +27,16 @@ import org.dinky.data.vo.suggestion.SuggestionVO;
...
@@ -26,13 +27,16 @@ import org.dinky.data.vo.suggestion.SuggestionVO;
import
org.dinky.service.DocumentService
;
import
org.dinky.service.DocumentService
;
import
org.dinky.service.FragmentVariableService
;
import
org.dinky.service.FragmentVariableService
;
import
org.dinky.service.SuggestionService
;
import
org.dinky.service.SuggestionService
;
import
org.dinky.utils.FlinkConfigOptionsUtils
;
import
java.util.HashSet
;
import
java.util.HashSet
;
import
java.util.List
;
import
java.util.Set
;
import
java.util.Set
;
import
java.util.stream.Collectors
;
import
java.util.stream.Collectors
;
import
org.springframework.stereotype.Service
;
import
org.springframework.stereotype.Service
;
import
cn.hutool.core.text.StrFormatter
;
import
lombok.RequiredArgsConstructor
;
import
lombok.RequiredArgsConstructor
;
import
lombok.extern.slf4j.Slf4j
;
import
lombok.extern.slf4j.Slf4j
;
...
@@ -65,7 +69,8 @@ public class SuggestionServiceImpl implements SuggestionService {
...
@@ -65,7 +69,8 @@ public class SuggestionServiceImpl implements SuggestionService {
}
}
// 4. 自定义关键词提示
// 4. 自定义关键词提示
buildCustomSuggestions
(
new
HashSet
<>(),
suggestionVOS
);
buildCustomSuggestions
(
new
HashSet
<>(),
suggestionVOS
);
// flink config提示
buildFlinkConfSuggestions
(
suggestionVOS
);
return
suggestionVOS
;
return
suggestionVOS
;
}
}
...
@@ -144,6 +149,25 @@ public class SuggestionServiceImpl implements SuggestionService {
...
@@ -144,6 +149,25 @@ public class SuggestionServiceImpl implements SuggestionService {
.
forEach
(
suggestionVOS:
:
add
);
.
forEach
(
suggestionVOS:
:
add
);
}
}
private
static
void
buildFlinkConfSuggestions
(
Set
<
SuggestionVO
>
suggestionVOS
)
{
for
(
String
name
:
FlinkConfigOptionsUtils
.
getConfigOptionsClass
())
{
List
<
FlinkConfigOption
>
flinkConfigOptions
=
FlinkConfigOptionsUtils
.
loadOptionsByClassName
(
name
);
flinkConfigOptions
.
stream
()
.
map
(
conf
->
{
SuggestionLabelVO
suggestionLabelVO
=
SuggestionLabelVO
.
builder
()
.
label
(
"set "
+
conf
.
getKey
())
.
build
();
return
SuggestionVO
.
builder
()
.
key
(
conf
.
getKey
()
+
"_flink_conf"
)
.
insertText
(
StrFormatter
.
format
(
"set '{}'='{}'"
,
conf
.
getKey
(),
conf
.
getDefaultValue
()))
.
kind
(
4
)
.
label
(
suggestionLabelVO
)
.
build
();
})
.
forEach
(
suggestionVOS:
:
add
);
}
}
/**
/**
* by keyword get suggestions list
* by keyword get suggestions list
*
*
...
...
dinky-admin/src/main/java/org/dinky/utils/
Cascader
OptionsUtils.java
→
dinky-admin/src/main/java/org/dinky/utils/
FlinkConfig
OptionsUtils.java
View file @
149345fb
...
@@ -19,7 +19,7 @@
...
@@ -19,7 +19,7 @@
package
org
.
dinky
.
utils
;
package
org
.
dinky
.
utils
;
import
org.dinky.data.
vo.CascaderVO
;
import
org.dinky.data.
flink.config.FlinkConfigOption
;
import
java.lang.reflect.Field
;
import
java.lang.reflect.Field
;
import
java.lang.reflect.Modifier
;
import
java.lang.reflect.Modifier
;
...
@@ -29,26 +29,28 @@ import java.util.List;
...
@@ -29,26 +29,28 @@ import java.util.List;
import
java.util.Map
;
import
java.util.Map
;
import
java.util.logging.Logger
;
import
java.util.logging.Logger
;
import
cn.hutool.core.io.resource.ResourceUtil
;
import
cn.hutool.core.util.ClassLoaderUtil
;
import
cn.hutool.core.util.ClassLoaderUtil
;
import
cn.hutool.core.util.ObjectUtil
;
import
cn.hutool.core.util.ReflectUtil
;
import
cn.hutool.core.util.ReflectUtil
;
public
class
Cascader
OptionsUtils
{
public
class
FlinkConfig
OptionsUtils
{
private
static
final
Logger
logger
=
Logger
.
getLogger
(
Cascader
OptionsUtils
.
class
.
getName
());
private
static
final
Logger
logger
=
Logger
.
getLogger
(
FlinkConfig
OptionsUtils
.
class
.
getName
());
private
static
final
String
FLINK_CONFIG_REPLACE_SUFFIX
=
"Options"
;
private
static
final
String
FLINK_CONFIG_REPLACE_SUFFIX
=
"Options"
;
private
static
final
Map
<
String
,
List
<
CascaderVO
>>
cache
=
new
HashMap
<>();
private
static
final
Map
<
String
,
List
<
FlinkConfigOption
>>
cache
=
new
HashMap
<>();
/**
/**
* build flink config cascade options
* build flink config cascade options
* * @param name
* * @param name
*/
*/
public
static
List
<
CascaderVO
>
buildCascadeOptions
(
String
name
)
{
public
static
List
<
FlinkConfigOption
>
loadOptionsByClassName
(
String
name
)
{
if
(
cache
.
containsKey
(
name
)
&&
cache
.
get
(
name
)
!=
null
)
{
if
(
cache
.
containsKey
(
name
)
&&
cache
.
get
(
name
)
!=
null
)
{
return
cache
.
get
(
name
);
return
cache
.
get
(
name
);
}
}
List
<
CascaderVO
>
data
List
=
new
ArrayList
<>();
List
<
FlinkConfigOption
>
config
List
=
new
ArrayList
<>();
try
{
try
{
Class
<?>
loadClass
=
ClassLoaderUtil
.
getContextClassLoader
().
loadClass
(
name
);
Class
<?>
loadClass
=
ClassLoaderUtil
.
getContextClassLoader
().
loadClass
(
name
);
Field
[]
fields
=
ReflectUtil
.
getFields
(
loadClass
,
f
->
{
Field
[]
fields
=
ReflectUtil
.
getFields
(
loadClass
,
f
->
{
...
@@ -59,31 +61,26 @@ public class CascaderOptionsUtils {
...
@@ -59,31 +61,26 @@ public class CascaderOptionsUtils {
return
false
;
return
false
;
}
}
});
});
List
<
CascaderVO
>
configList
=
new
ArrayList
<>();
for
(
Field
field
:
fields
)
{
for
(
Field
field
:
fields
)
{
CascaderVO
config
=
new
CascaderVO
();
FlinkConfigOption
config
=
new
FlinkConfigOption
();
Object
fieldValue
=
ReflectUtil
.
getStaticFieldValue
(
field
);
Object
fieldValue
=
ReflectUtil
.
getStaticFieldValue
(
field
);
String
key
=
ReflectUtil
.
invoke
(
fieldValue
,
"key"
);
String
key
=
ReflectUtil
.
invoke
(
fieldValue
,
"key"
);
config
.
setValue
(
key
);
Object
defaultValue
=
ReflectUtil
.
invoke
(
fieldValue
,
"defaultValue"
);
config
.
setLabel
(
key
);
config
.
setKey
(
key
);
if
(
ObjectUtil
.
isBasicType
(
defaultValue
))
{
config
.
setDefaultValue
(
String
.
valueOf
(
defaultValue
));
}
else
{
config
.
setDefaultValue
(
""
);
}
configList
.
add
(
config
);
configList
.
add
(
config
);
}
}
CascaderVO
cascaderVO
=
new
CascaderVO
();
cascaderVO
.
setChildren
(
configList
);
// parsed binlog group
String
parsedBinlogGroup
=
parsedBinlogGroup
(
name
);
cascaderVO
.
setLabel
(
parsedBinlogGroup
);
cascaderVO
.
setValue
(
parsedBinlogGroup
);
dataList
.
add
(
cascaderVO
);
cache
.
put
(
name
,
dataList
);
}
catch
(
ClassNotFoundException
ignored
)
{
}
catch
(
ClassNotFoundException
ignored
)
{
logger
.
warning
(
"get config option error, class not found: "
+
name
);
logger
.
warning
(
"get config option error, class not found: "
+
name
);
}
}
return
data
List
;
return
config
List
;
}
}
p
rivate
static
String
parsedBinlogGroup
(
String
name
)
{
p
ublic
static
String
parsedBinlogGroup
(
String
name
)
{
String
[]
names
=
name
.
split
(
"\\."
);
String
[]
names
=
name
.
split
(
"\\."
);
// delete Option suffix and return
// delete Option suffix and return
String
lastName
=
names
[
names
.
length
-
1
];
String
lastName
=
names
[
names
.
length
-
1
];
...
@@ -92,4 +89,8 @@ public class CascaderOptionsUtils {
...
@@ -92,4 +89,8 @@ public class CascaderOptionsUtils {
}
}
return
lastName
;
return
lastName
;
}
}
public
static
String
[]
getConfigOptionsClass
()
{
return
ResourceUtil
.
readUtf8Str
(
"FlinkConfClass"
).
replace
(
"\r"
,
""
).
split
(
"\n"
);
}
}
}
dinky-admin/src/main/resources/FlinkConfClass
0 → 100644
View file @
149345fb
org.apache.flink.configuration.CoreOptions
org.apache.flink.configuration.RestOptions
org.apache.flink.configuration.PipelineOptions
org.apache.flink.configuration.SecurityOptions
org.apache.flink.configuration.YarnConfigOptions
org.apache.flink.configuration.WebOptions
org.apache.flink.configuration.JobManagerOptions
org.apache.flink.configuration.TaskManagerOptions
org.apache.flink.configuration.HighAvailabilityOptions
org.apache.flink.configuration.KubernetesConfigOptions
org.apache.flink.configuration.ClusterOptions
org.apache.flink.configuration.StateBackendOptions
org.apache.flink.configuration.QueryableStateOptions
org.apache.flink.configuration.CheckpointingOptions
org.apache.flink.configuration.JMXServerOptions
org.apache.flink.configuration.HeartbeatManagerOptions
org.apache.flink.configuration.OptimizerOptions
org.apache.flink.configuration.AkkaOptions
org.apache.flink.configuration.AlgorithmOptions
org.apache.flink.configuration.BlobServerOptions
org.apache.flink.configuration.ExecutionOptions
org.apache.flink.configuration.ExternalResourceOptions
org.apache.flink.configuration.ResourceManagerOptions
org.apache.flink.configuration.HistoryServerOptions
org.apache.flink.configuration.MetricOptions
org.apache.flink.configuration.NettyShuffleEnvironmentOptions
org.apache.flink.configuration.RestartStrategyOptions
org.apache.flink.yarn.configuration.YarnConfigOptions
org.apache.flink.kubernetes.configuration.KubernetesConfigOptions
org.dinky.constant.CustomerConfigureOptions
\ No newline at end of file
dinky-assembly/src/main/assembly/package.xml
View file @
149345fb
...
@@ -41,6 +41,7 @@
...
@@ -41,6 +41,7 @@
<include>
**/*.yaml
</include>
<include>
**/*.yaml
</include>
<include>
**/log4j2.xml
</include>
<include>
**/log4j2.xml
</include>
<include>
**/DinkyFlinkDockerfile
</include>
<include>
**/DinkyFlinkDockerfile
</include>
<include>
**/FlinkConfClass
</include>
</includes>
</includes>
</fileSet>
</fileSet>
<fileSet>
<fileSet>
...
...
dinky-common/src/main/java/org/dinky/data/flink/config/FlinkConfigOption.java
0 → 100644
View file @
149345fb
/*
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
*/
package
org
.
dinky
.
data
.
flink
.
config
;
import
lombok.AllArgsConstructor
;
import
lombok.Builder
;
import
lombok.Data
;
import
lombok.NoArgsConstructor
;
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Data
public
class
FlinkConfigOption
{
/** The current key for that config option. */
private
String
key
;
/** The default value for this option. */
private
String
defaultValue
;
/** The description for this option. */
private
String
description
;
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment