forked from apache/paimon
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[flink] Supports Kafka with canal CDC format database ingestion (apac…
- Loading branch information
1 parent
9bd2a2d
commit a5570d8
Showing
27 changed files
with
1,761 additions
and
164 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
73 changes: 73 additions & 0 deletions
73
docs/layouts/shortcodes/generated/kafka_sync_database.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
{{/* | ||
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. | ||
*/}} | ||
{{ $ref := ref . "maintenance/configurations.md" }} | ||
<table class="configuration table table-bordered"> | ||
<thead> | ||
<tr> | ||
<th class="text-left" style="width: 15%">Configuration</th> | ||
<th class="text-left" style="width: 85%">Description</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
<tr> | ||
<td><h5>--warehouse</h5></td> | ||
<td>The path to Paimon warehouse.</td> | ||
</tr> | ||
<tr> | ||
<td><h5>--database</h5></td> | ||
<td>The database name in Paimon catalog.</td> | ||
</tr> | ||
<tr> | ||
<td><h5>--schema-init-max-read</h5></td> | ||
<td>If your tables are all from a topic, you can set this parameter to initialize the number of tables to be synchronized. The default value is 1000.</td> | ||
</tr> | ||
<tr> | ||
<td><h5>--ignore-incompatible</h5></td> | ||
<td>It is default false, in this case, if MySQL table name exists in Paimon and their schema is incompatible,an exception will be thrown. You can specify it to true explicitly to ignore the incompatible tables and exception.</td> | ||
</tr> | ||
<tr> | ||
<td><h5>--table-prefix</h5></td> | ||
<td>The prefix of all Paimon tables to be synchronized. For example, if you want all synchronized tables to have "ods_" as prefix, you can specify "--table-prefix ods_".</td> | ||
</tr> | ||
<tr> | ||
<td><h5>--table-suffix</h5></td> | ||
<td>The suffix of all Paimon tables to be synchronized. The usage is same as "--table-prefix".</td> | ||
</tr> | ||
<tr> | ||
<td><h5>--including-tables</h5></td> | ||
<td>It is used to specify which source tables are to be synchronized. You must use '|' to separate multiple tables.Because '|' is a special character, a comma is required, for example: 'a|b|c'.Regular expression is supported, for example, specifying "--including-tables test|paimon.*" means to synchronize table 'test' and all tables start with 'paimon'.</td> | ||
</tr> | ||
<tr> | ||
<td><h5>--excluding-tables</h5></td> | ||
<td>It is used to specify which source tables are not to be synchronized. The usage is same as "--including-tables". "--excluding-tables" has higher priority than "--including-tables" if you specified both.</td> | ||
</tr> | ||
<tr> | ||
<td><h5>--kafka-conf</h5></td> | ||
<td>The configuration for Flink Kafka sources. Each configuration should be specified in the format `key=value`. `properties.bootstrap.servers`, `topic`, `properties.group.id`, and `value.format` are required configurations, others are optional.See its <a href="https://nightlies.apache.org/flink/flink-docs-release-1.16/docs/connectors/table/kafka/#connector-options">document</a> for a complete list of configurations.</td> | ||
</tr> | ||
<tr> | ||
<td><h5>--catalog-conf</h5></td> | ||
<td>The configuration for Paimon catalog. Each configuration should be specified in the format "key=value". See <a href="{{ $ref }}">here</a> for a complete list of catalog configurations.</td> | ||
</tr> | ||
<tr> | ||
<td><h5>--table-conf</h5></td> | ||
<td>The configuration for Paimon table sink. Each configuration should be specified in the format "key=value". See <a href="{{ $ref }}">here</a> for a complete list of table configurations.</td> | ||
</tr> | ||
</tbody> | ||
</table> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.