Skip to content

Commit ef1d716

Browse files
committed
fixed docs
1 parent 5f02a54 commit ef1d716

File tree

2 files changed

+22
-22
lines changed
  • docs
    • content.zh/docs/connectors/pipeline-connectors
    • content/docs/connectors/pipeline-connectors

2 files changed

+22
-22
lines changed

docs/content.zh/docs/connectors/pipeline-connectors/postgres.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -369,11 +369,11 @@ pipeline:
369369
</tr>
370370
<tr>
371371
<td>INTERVAL [P]</td>
372-
<td>STRING(when interval.handling.mode is set to string)</td>
372+
<td>STRING(when <code>debezium.interval.handling.mode</code> is set to string)</td>
373373
</tr>
374374
<tr>
375375
<td>BYTEA</td>
376-
<td>BYTES or STRING (when binary.handling.mode is set to base64 or base64-url-safe or hex)</td>
376+
<td>BYTES or STRING (when <code>debezium.binary.handling.mode</code> is set to base64 or base64-url-safe or hex)</td>
377377
</tr>
378378
<tr>
379379
<td>
@@ -439,9 +439,9 @@ time.precision.mode=connect
439439
</div>
440440

441441
### Decimal types Mapping
442-
PostgreSQL 连接器配置属性 decimal.handling.mode 的设置决定了连接器如何映射十进制类型。
442+
PostgreSQL 连接器配置属性 <code>debezium.decimal.handling.mode</code> 的设置决定了连接器如何映射十进制类型。
443443

444-
当 decimal.handling.mode 属性设置为 precise(精确)时,连接器会对所有 DECIMAL、NUMERIC 和 MONEY 列使用 Kafka Connect 的 org.apache.kafka.connect.data.Decimal 逻辑类型。这是默认模式。
444+
<code>debezium.decimal.handling.mode</code> 属性设置为 precise(精确)时,连接器会对所有 DECIMAL、NUMERIC 和 MONEY 列使用 Kafka Connect 的 org.apache.kafka.connect.data.Decimal 逻辑类型。这是默认模式。
445445
<div class="wy-table-responsive">
446446
<table class="colwidths-auto docutils">
447447
<thead>
@@ -480,7 +480,7 @@ PostgreSQL 连接器配置属性 decimal.handling.mode 的设置决定了连接
480480
</table>
481481
</div>
482482

483-
当 decimal.handling.mode 属性设置为 double 时,连接器将所有 DECIMAL、NUMERIC 和 MONEY 值表示为 Java 的 double 值,并按照下表所示进行编码。
483+
<code>debezium.decimal.handling.mode</code> 属性设置为 double 时,连接器将所有 DECIMAL、NUMERIC 和 MONEY 值表示为 Java 的 double 值,并按照下表所示进行编码。
484484

485485
<div class="wy-table-responsive">
486486
<table class="colwidths-auto docutils">
@@ -510,7 +510,7 @@ PostgreSQL 连接器配置属性 decimal.handling.mode 的设置决定了连接
510510
</table>
511511
</div>
512512

513-
decimal.handling.mode 配置属性的最后一个可选设置是 string(字符串)。在这种情况下,连接器将 DECIMAL、NUMERIC 和 MONEY 值表示为其格式化的字符串形式,并按照下表所示进行编码。
513+
<code>debezium.decimal.handling.mode</code> 配置属性的最后一个可选设置是 string(字符串)。在这种情况下,连接器将 DECIMAL、NUMERIC 和 MONEY 值表示为其格式化的字符串形式,并按照下表所示进行编码。
514514
<div class="wy-table-responsive">
515515
<table class="colwidths-auto docutils">
516516
<thead>
@@ -539,12 +539,12 @@ decimal.handling.mode 配置属性的最后一个可选设置是 string(字符
539539
</table>
540540
</div>
541541

542-
当 decimal.handling.mode 的设置为 string 或 double 时,PostgreSQL 支持将 NaN(非数字)作为一个特殊值存储在 DECIMAL/NUMERIC 值中。在这种情况下,连接器会将 NaN 编码为 Double.NaN 或字符串常量 NAN。
542+
<code>debezium.decimal.handling.mode</code> 的设置为 string 或 double 时,PostgreSQL 支持将 NaN(非数字)作为一个特殊值存储在 DECIMAL/NUMERIC 值中。在这种情况下,连接器会将 NaN 编码为 Double.NaN 或字符串常量 NAN。
543543

544544
### HSTORE type Mapping
545-
PostgreSQL 连接器配置属性 hstore.handling.mode 的设置决定了连接器如何映射 HSTORE 值。
545+
PostgreSQL 连接器配置属性 <code>debezium.hstore.handling.mode</code> 的设置决定了连接器如何映射 HSTORE 值。
546546

547-
当 hstore.handling.mode 属性设置为 json(默认值)时,连接器将 HSTORE 值表示为 JSON 值的字符串形式,并按照下表所示进行编码。当 hstore.handling.mode 属性设置为 map 时,连接器对 HSTORE 值使用 MAP 模式类型。
547+
<code>debezium.hstore.handling.mode</code> 属性设置为 json(默认值)时,连接器将 HSTORE 值表示为 JSON 值的字符串形式,并按照下表所示进行编码。当 <code>debezium.hstore.handling.mode</code> 属性设置为 map 时,连接器对 HSTORE 值使用 MAP 模式类型。
548548
<div class="wy-table-responsive">
549549
<table class="colwidths-auto docutils">
550550
<thead>
@@ -557,12 +557,12 @@ PostgreSQL 连接器配置属性 hstore.handling.mode 的设置决定了连接
557557
<tr>
558558
<td>
559559
HSTORE
560-
<td>STRING(hstore.handling.mode=string)</td>
560+
<td>STRING(<code>`debezium.hstore.handling.mode`=`string`</code>)</td>
561561
</tr>
562562
<tr>
563563
<td>
564564
HSTORE
565-
<td>MAP(hstore.handling.mode=map)</td>
565+
<td>MAP(<code>`debezium.hstore.handling.mode`=`map`</code>)</td>
566566
</tr>
567567
</tbody>
568568
</table>

docs/content/docs/connectors/pipeline-connectors/postgres.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -364,11 +364,11 @@ Notice:
364364
</tr>
365365
<tr>
366366
<td>INTERVAL [P]</td>
367-
<td>STRING(when interval.handling.mode is set to string)</td>
367+
<td>STRING(when <code>debezium.interval.handling.mode</code> is set to string)</td>
368368
</tr>
369369
<tr>
370370
<td>BYTEA</td>
371-
<td>BYTES or STRING (when binary.handling.mode is set to base64 or base64-url-safe or hex)</td>
371+
<td>BYTES or STRING (when <code>debezium.binary.handling.mode</code> is set to base64 or base64-url-safe or hex)</td>
372372
</tr>
373373
<tr>
374374
<td>
@@ -434,9 +434,9 @@ When the time.precision.mode property is set to adaptive, the default, the conne
434434
</div>
435435

436436
### Decimal types Mapping
437-
The setting of the PostgreSQL connector configuration property decimal.handling.mode determines how the connector maps decimal types.
437+
The setting of the PostgreSQL connector configuration property <code>debezium.decimal.handling.mode</code> determines how the connector maps decimal types.
438438

439-
When the decimal.handling.mode property is set to precise, the connector uses the Kafka Connect org.apache.kafka.connect.data.Decimal logical type for all DECIMAL, NUMERIC and MONEY columns. This is the default mode.
439+
When the <code>debezium.decimal.handling.mode</code> property is set to precise, the connector uses the Kafka Connect org.apache.kafka.connect.data.Decimal logical type for all DECIMAL, NUMERIC and MONEY columns. This is the default mode.
440440
<div class="wy-table-responsive">
441441
<table class="colwidths-auto docutils">
442442
<thead>
@@ -475,7 +475,7 @@ When the decimal.handling.mode property is set to precise, the connector uses th
475475
</table>
476476
</div>
477477

478-
When the decimal.handling.mode property is set to double, the connector represents all DECIMAL, NUMERIC and MONEY values as Java double values and encodes them as shown in the following table.
478+
When the <code>debezium.decimal.handling.mode</code> property is set to double, the connector represents all DECIMAL, NUMERIC and MONEY values as Java double values and encodes them as shown in the following table.
479479

480480
<div class="wy-table-responsive">
481481
<table class="colwidths-auto docutils">
@@ -505,7 +505,7 @@ When the decimal.handling.mode property is set to double, the connector represen
505505
</table>
506506
</div>
507507

508-
The last possible setting for the decimal.handling.mode configuration property is string. In this case, the connector represents DECIMAL, NUMERIC and MONEY values as their formatted string representation, and encodes them as shown in the following table.
508+
The last possible setting for the <code>debezium.decimal.handling.mode</code> configuration property is string. In this case, the connector represents DECIMAL, NUMERIC and MONEY values as their formatted string representation, and encodes them as shown in the following table.
509509
<div class="wy-table-responsive">
510510
<table class="colwidths-auto docutils">
511511
<thead>
@@ -534,12 +534,12 @@ The last possible setting for the decimal.handling.mode configuration property i
534534
</table>
535535
</div>
536536

537-
PostgreSQL supports NaN (not a number) as a special value to be stored in DECIMAL/NUMERIC values when the setting of decimal.handling.mode is string or double. In this case, the connector encodes NaN as either Double.NaN or the string constant NAN.
537+
PostgreSQL supports NaN (not a number) as a special value to be stored in DECIMAL/NUMERIC values when the setting of <code>debezium.decimal.handling.mode</code> is string or double. In this case, the connector encodes NaN as either Double.NaN or the string constant NAN.
538538

539539
### HSTORE type Mapping
540-
The setting of the PostgreSQL connector configuration property hstore.handling.mode determines how the connector maps HSTORE values.
540+
The setting of the PostgreSQL connector configuration property <code>debezium.hstore.handling.mode</code> determines how the connector maps HSTORE values.
541541

542-
When the hstore.handling.mode property is set to json (the default), the connector represents HSTORE values as string representations of JSON values and encodes them as shown in the following table. When the hstore.handling.mode property is set to map, the connector uses the MAP schema type for HSTORE values.
542+
When the <code>debezium.hstore.handling.mode</code> property is set to json (the default), the connector represents HSTORE values as string representations of JSON values and encodes them as shown in the following table. When the <code>debezium.hstore.handling.mode</code> property is set to map, the connector uses the MAP schema type for HSTORE values.
543543
<div class="wy-table-responsive">
544544
<table class="colwidths-auto docutils">
545545
<thead>
@@ -552,12 +552,12 @@ When the hstore.handling.mode property is set to json (the default), the connect
552552
<tr>
553553
<td>
554554
HSTORE
555-
<td>STRING(hstore.handling.mode=string)</td>
555+
<td>STRING(<code>`debezium.hstore.handling.mode`=`string`</code>)</td>
556556
</tr>
557557
<tr>
558558
<td>
559559
HSTORE
560-
<td>MAP(hstore.handling.mode=map)</td>
560+
<td>MAP(<code>`debezium.hstore.handling.mode`=`map`</code>)</td>
561561
</tr>
562562
</tbody>
563563
</table>

0 commit comments

Comments
 (0)