Skip to content

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