-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BugFix][FlinkSQL] V1.1.0 version Keberos bug related repair, SQL SET value does not take effect, etc #3875
Conversation
@@ -587,4 +590,26 @@ protected List<String> getPKList(Table table) { | |||
protected ZoneId getSinkTimeZone() { | |||
return this.sinkTimeZone; | |||
} | |||
|
|||
protected Map<String, String> getTableTopicMap() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
不应该在 dinky-cdc/dinky-cdc-core/src/main/java/org/dinky/cdc/AbstractSinkBuilder.java
中写此方法 因为不属于公共抽象方法 建议下沉到 kafkasinkbuilder
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
有好几个KakfaSinkBuilder, KafkaSinkJsonBuilder , 不放这里需要写好几次
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add AbstractKafkaSinkBuilder.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add AbstractKafkaSinkBuilder.
it just a single method , Is it necessary to add an AbstractKafkaSinkBuilder class?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If sinks other than kafka use this method, your current code logic is feasible.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your pull request.
} else { | ||
properties.setProperty(entry.getKey(), entry.getValue()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why set other keys that do not start with an attribute?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thx. I get it.
This reverts commit 2f1b13a.
@chenhaipeng 你好, 请合并主仓库最新代码 解决 CI 过程出现的问题, 并将您的 Pr title 进行简单规范, 再次感谢您的贡献 |
OK |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
…ble.topic.map, using topic:tableName,eg: topic1:tableA;topic2:tableB,tableC, can reduce the creation of topics. [Fix] 1.FlinkAPI Kerberos might start with http or https. 2.In ExecutorConfig, if the address starts with http://xx, the splitting is incorrect. Fixed value passing issue in KafkaSinkBuilder, whereDeliveryGuarantee was always set to EXACTLY_ONCE because the default submission is in Dinky. 3.Fixed the issue where the environment variable set 'xxxx' in MysqlCDCBuilder SQL did not take effect. 4.Fixed the redirection issue in JobOperator.tsx.
Signed-off-by: Zzm0809 <[email protected]>
Co-authored-by: zhuxt2015 <[email protected]>
… used by the JVM via -XX:MaxRAMPercentage (DataLinkDC#3840)
Co-authored-by: gaoyan1998 <[email protected]>
Signed-off-by: Zzm0809 <[email protected]> Co-authored-by: Zzm0809 <[email protected]>
…ress address DataLinkDC#3871 (DataLinkDC#3887) Co-authored-by: jianjun.xu <[email protected]>
Co-authored-by: gaoyan1998 <[email protected]>
…e the user experience (DataLinkDC#3854) Signed-off-by: Zzm0809 <[email protected]> Co-authored-by: zackyoungh <[email protected]> Co-authored-by: Zzm0809 <[email protected]> Co-authored-by: gaoyan <[email protected]> Co-authored-by: gaoyan1998 <[email protected]> Co-authored-by: zhangyuhang <[email protected]> Co-authored-by: LUOSHANGJIE\71826 <[email protected]> Co-authored-by: 18216499322 <[email protected]> Co-authored-by: Zzm0809 <[email protected]>
Signed-off-by: Zzm0809 <[email protected]> Co-authored-by: Zzm0809 <[email protected]>
Co-authored-by: gaoyan1998 <[email protected]>
我已经重新合并了,pr comit title 简单修改了 |
@@ -65,6 +65,8 @@ public void run() throws Exception { | |||
} | |||
GatewayResult gatewayResult = null; | |||
config.addGatewayConfig(executor.getSetConfig()); | |||
config.addGatewayConfig( | |||
executor.getCustomTableEnvironment().getConfig().getConfiguration()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
flink sql set 参数不生效,我加了这一行放到这里是否合理,麻烦确认下
Fix the following issues:
Feature:
Fix:
Pending:
#3874 (comment)
PS: Thanks to the community for contributing such a useful tool!
Brief change log
Verify this pull request
This pull request is code cleanup without any test coverage.
(or)
This pull request is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows: