You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by ur...@apache.org on 2022/07/22 12:02:10 UTC
[pulsar-site] branch main updated: Docs sync done from apache/pulsar(#4d16ad5)
This is an automated email from the ASF dual-hosted git repository.
urfree pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/pulsar-site.git
The following commit(s) were added to refs/heads/main by this push:
new 5e40dceebee Docs sync done from apache/pulsar(#4d16ad5)
5e40dceebee is described below
commit 5e40dceebee2ca8bf617d930898b194e01df4fa7
Author: Pulsar Site Updater <de...@pulsar.apache.org>
AuthorDate: Fri Jul 22 12:02:06 2022 +0000
Docs sync done from apache/pulsar(#4d16ad5)
---
site2/website-next/docs/io-jdbc-sink.md | 3 +++
site2/website-next/sidebars.json | 2 +-
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/site2/website-next/docs/io-jdbc-sink.md b/site2/website-next/docs/io-jdbc-sink.md
index abc028132c3..ed3700b9027 100644
--- a/site2/website-next/docs/io-jdbc-sink.md
+++ b/site2/website-next/docs/io-jdbc-sink.md
@@ -28,6 +28,7 @@ The configuration of all JDBC sink connectors has the following properties.
| `batchSize` | int | false | 200 | The batch size of updates made to the database. |
| `insertMode` | enum( INSERT,UPSERT,UPDATE) | false | INSERT | If it is configured as UPSERT, the sink uses upsert semantics rather than plain INSERT/UPDATE statements. Upsert semantics refer to atomically adding a new row or updating the existing row if there is a primary key constraint violation, which provides idempotence. |
| `nullValueAction` | enum(FAIL, DELETE) | false | FAIL | How to handle records with NULL values. Possible options are `DELETE` or `FAIL`. |
+| `useTransactions` | boolean | false | true | Enable transactions of the database.
### Example for ClickHouse
@@ -41,6 +42,7 @@ The configuration of all JDBC sink connectors has the following properties.
"password": "password",
"jdbcUrl": "jdbc:clickhouse://localhost:8123/pulsar_clickhouse_jdbc_sink",
"tableName": "pulsar_clickhouse_jdbc_sink"
+ "useTransactions": "false"
}
}
@@ -60,6 +62,7 @@ The configuration of all JDBC sink connectors has the following properties.
password: "password"
jdbcUrl: "jdbc:clickhouse://localhost:8123/pulsar_clickhouse_jdbc_sink"
tableName: "pulsar_clickhouse_jdbc_sink"
+ useTransactions: "false"
```
diff --git a/site2/website-next/sidebars.json b/site2/website-next/sidebars.json
index f7d0fbe6758..61434d78c26 100644
--- a/site2/website-next/sidebars.json
+++ b/site2/website-next/sidebars.json
@@ -225,7 +225,7 @@
"label": "Administration",
"items": [
"administration-zk-bk",
- "administration-metadata-store"
+ "administration-metadata-store",
"administration-geo",
"administration-pulsar-manager",
"administration-stats",