Skip to content
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

[FLINK-36816] Support source parallelism setting for JDBC connector #148

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

grzegorz8
Copy link

@grzegorz8 grzegorz8 commented Nov 28, 2024

Purpose of the change

Add new option scan.parallelism support for JDBC connector.

Part of FLINK-33261 FLIP-367: Support Setting Parallelism for Table/SQL Sources

The change is not backward compatible for versions <= 1.18. InputFormatProvider of(InputFormat<RowData, ?> inputFormat, @Nullable Integer sourceParallelism) was added in Flink 1.19. Therefore, we need to wait with this change until JDBC connector is no longer supporting Flink 1.18.

@@ -212,6 +212,14 @@ ON myTopic.key = MyUserTable.id;
它决定了每个语句是否在事务中自动提交。有些 JDBC 驱动程序,特别是
<a href="https://jdbc.postgresql.org/documentation/head/query.html#query-with-cursor">Postgres</a>,可能需要将此设置为 false 以便流化结果。</td>
</tr>
<tr>
<td><h5>scan.parallelism</h5></td>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could you add a link to some documentation for this - as there is for autocommit please.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants