Skip to content

Commit

Permalink
shell and clipboard
Browse files Browse the repository at this point in the history
  • Loading branch information
gemma-shay authored and mdlinville committed Oct 9, 2023
1 parent 2fafc26 commit 4803b90
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 4 additions & 2 deletions src/current/v23.1/debezium.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ Once all of the [prerequisite steps](#before-you-begin) are completed, you can u

1. To write data from Kafka to CockroachDB, use the Confluent JDBC Sink Connector. First use the following `dockerfile` to create a custom image with the JDBC driver:

~~~
{% include_cached copy-clipboard.html %}
~~~ shell
FROM quay.io/debezium/connect:latest
ENV KAFKA_CONNECT_JDBC_DIR=$KAFKA_CONNECT_PLUGINS_DIR/kafka-connect-jdbc \

Expand All @@ -57,7 +58,8 @@ Once all of the [prerequisite steps](#before-you-begin) are completed, you can u

1. Create the JSON configuration file needed to create the sink:

~~~
{% include_cached copy-clipboard.html %}
~~~ shell
{
"name": "pg-sink",
"config": {
Expand Down
6 changes: 4 additions & 2 deletions src/current/v23.2/debezium.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ Once all of the [prerequisite steps](#before-you-begin) are completed, you can u

1. To write data from Kafka to CockroachDB, use the Confluent JDBC Sink Connector. First use the following `dockerfile` to create a custom image with the JDBC driver:

~~~
{% include_cached copy-clipboard.html %}
~~~ shell
FROM quay.io/debezium/connect:latest
ENV KAFKA_CONNECT_JDBC_DIR=$KAFKA_CONNECT_PLUGINS_DIR/kafka-connect-jdbc \

Expand All @@ -57,7 +58,8 @@ Once all of the [prerequisite steps](#before-you-begin) are completed, you can u

1. Create the JSON configuration file needed to create the sink:

~~~
{% include_cached copy-clipboard.html %}
~~~ shell
{
"name": "pg-sink",
"config": {
Expand Down

0 comments on commit 4803b90

Please sign in to comment.