Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running PR to keep track of custom changes to support YB #127

Open
wants to merge 62 commits into
base: 2.5.2.Final
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
62 commits
Select commit Hold shift + click to select a range
25fa5ec
[DBZ-PGYB] Initial commit to for PG connector parity (#104)
vaibhav-yb Mar 18, 2024
66e66fc
[DBZ-PGYB][yugabyte/yugabyte-db#21394] Test changes for working again…
vaibhav-yb Mar 20, 2024
073a9ac
[DBZ-PGYB] Debug Logging related to txn messages (#108)
asrinivasanyb Mar 28, 2024
ba81a5e
[DBZ-PGYB] Modified Dockerfile to package custom log4j.properties (#111)
vaibhav-yb Apr 22, 2024
e7990ab
[DBZ-PGYB] Add aiven transformers to docker build (#109)
vaibhav-yb Apr 22, 2024
8c4ee44
[DBZ-PGYB] Use YugabyteDB smart driver instead of vanilla Postgres JD…
vaibhav-yb Apr 24, 2024
d1f6ede
[DBZ-PGYB] Package AvroConverter while creating docker builds (#112)
vaibhav-yb Apr 30, 2024
c8e3fa4
[DBZ-PGYB] Support for consistent snapshot for an existing slot (#113)
asrinivasanyb Apr 30, 2024
939b263
[DBZ-PGYB] Modify MBean regex to scrape proper metrics (#110)
vaibhav-yb May 3, 2024
f3c9496
Consistent snapshot on YugabyteDB by a connector user who is not a su…
asrinivasanyb May 6, 2024
50b082e
[DBZ-PGYB] Higher level retry for failures while starting PostgresCon…
vaibhav-yb May 7, 2024
834657a
Wait for snapshot completion acknowledgement before transitioning to …
siddharth2411 May 8, 2024
9ec0863
[DBZ-PGYB][#21425] Support for INITIAL_ONLY snapshot mode for Yugabyt…
asrinivasanyb May 10, 2024
b2d27bc
[DBZ-PGYB] Add dependencies for Avro converter while packaging docker…
vaibhav-yb May 14, 2024
70cf8f0
[DBZ-PGYB] Logging the IP of node upon a new connection (#117)
vaibhav-yb May 14, 2024
b908e58
Retry in case of failures while task is restarting (#121)
suranjan May 17, 2024
ab3aadd
[DBZ-PGYB][#21312] Enable 30/33 Incremental snapshot tests for Yugaby…
asrinivasanyb May 20, 2024
1c55b0d
[DBZ-PGYB] Do not create extensions during test startup (#123)
vaibhav-yb May 20, 2024
2222884
Revert "Retry in case of failures while task is restarting (#121)" (#…
suranjan May 20, 2024
17aa8a3
Throw RetriableException in case of all exception (#125)
suranjan May 20, 2024
d720158
[DBZ-PGYB] Get the latest custom JDBC sink image while building docke…
vaibhav-yb Jun 3, 2024
ce4c243
Disable records filtering when 'provide.transaction.metadata' config …
siddharth2411 Jun 7, 2024
48da614
[DBZ-PGYB] Add GitHub actions to automate workflows (#126)
vaibhav-yb Jun 25, 2024
37cd4d8
[DBZ-PGYB][yugabyte/yugabyte-db#21591] Support to process update reco…
vaibhav-yb Jun 25, 2024
5e7b940
[DBZ-PGYB] Add config to control YB consistent snapshot (#132)
vaibhav-yb Jun 25, 2024
8f03a46
[DBZ-PGYB] Enable the disabled replica identity related tests (#128)
vaibhav-yb Jun 25, 2024
9890544
[DBZ-PGYB] Changes to support all operations with all replica identit…
vaibhav-yb Jun 25, 2024
338ce30
[DBZ-PGYB] Update link to download latest sink connector jar (#133)
vaibhav-yb Jun 25, 2024
e41b21a
[DBZ-PGYB] Add load-balance property to multi host url pattern (#135)
Sumukh-Phalgaonkar Jul 1, 2024
d3fb9c7
Fix log statement (#138)
siddharth2411 Jul 4, 2024
dfa24c4
Fix log statement wihile skipping empty transactions (#139)
siddharth2411 Jul 8, 2024
eadea29
[DBZ-PGYB][yugabyte/yugabyte-db#23153] Change default plugin to ybout…
vaibhav-yb Jul 9, 2024
9f505a3
[DBZ-PGYB][yugabyte/yugabyte-db#23081] Change versioning schema to fo…
vaibhav-yb Jul 12, 2024
3f5aec5
[DBZ-PGYB][yugabyte/yugabyte-db#23081] Renamed connector to new namin…
vaibhav-yb Jul 12, 2024
bef328a
[DBZ-PGYB][yugabyte/yugabyte-db#23082] Remove dependency on custom de…
vaibhav-yb Jul 12, 2024
31cc378
[DBZ-PGYB] Fixed flakiness for the tests in PostgresConnectorIT (#143)
vaibhav-yb Jul 12, 2024
99ab8a4
[DBZ-PGYB] Add new test class `YBRecordsStreamProducerIT` to add test…
vaibhav-yb Jul 12, 2024
dd886b2
[DBZ-PGYB] Enable more test classes in the PG connector test suite (#…
vaibhav-yb Jul 15, 2024
503bf93
[DBZ-PGYB] Rename jar artefact according to new naming standards (#146)
vaibhav-yb Jul 29, 2024
d94c5e9
[DBZ-PGYB] Non-key columns should always be optional for replica iden…
vaibhav-yb Jul 29, 2024
a6dc1c4
[DBZ-PGYB] Fix vulnerability in the Postgres JDBC driver (#148)
vaibhav-yb Jul 29, 2024
e36efc3
[DBZ-PGYB] GitHub action pipeline to publish to Quay (#145)
vaibhav-yb Jul 29, 2024
b02227c
[DBZ-PGYB] Dockerfile fix to package proper artefact (#149)
vaibhav-yb Jul 30, 2024
7b5b547
[DBZ-PGYB] Add tests to enhance test suite for YugabyteDBConnector (#…
vaibhav-yb Aug 5, 2024
6a7e5d7
[DBZ-PGYB] Fixed bug resulting a `0` value in case of `pgoutput` (#151)
vaibhav-yb Aug 6, 2024
e4746ba
[DBZ-PGYB] Decimal handling mode precise should throw exception (#155)
vaibhav-yb Aug 7, 2024
de8de43
[DB-PGYB] Test addition for updating columns of all data types (#154)
vaibhav-yb Aug 7, 2024
16ead43
[DBZ-PGYB] Modify GitHub Action to publish to set proper versions (#156)
vaibhav-yb Aug 8, 2024
3ca8afd
[DBZ-PGYB] Add plugin to package connector in a ZIP file (#157)
vaibhav-yb Sep 17, 2024
2cda9b7
[DBZ-PGYB][yugabyte/yugabyte-db#24200] Execute snapshot in chunks (#161)
vaibhav-yb Oct 17, 2024
4e55ebd
[DBZ-PGYB][yugabyte/yugabyte-db#24555] Add task ID to PostgresPartiti…
vaibhav-yb Oct 24, 2024
a464b45
[DBZ-PGYB] Set transaction isolation level before executing snapshot …
vaibhav-yb Nov 12, 2024
922a5c9
[DBZ-PGYB] Restrict retries when retry count reaches limit (#166)
vaibhav-yb Nov 29, 2024
2066314
[DBZ-PGYB] Bug fix for retry limit and test addition (#167)
vaibhav-yb Nov 29, 2024
276ea4e
[DBZ-PGYB] Add transformer `PGCompatible` to emit events with standar…
vaibhav-yb Jan 2, 2025
842d267
[DBZ-PGYB] Bug fix to use correct getter for maximum retries (#170)
vaibhav-yb Jan 28, 2025
060f600
[DBZ-PGYB][yugabyte/yugabyte-db#25716] Set GUC to disable catalog ver…
vaibhav-yb Jan 28, 2025
985efdd
[DBZ-PGYB][yugabyte/yuyabyte-db#24204] Changes to support LSN types w…
vaibhav-yb Feb 5, 2025
e68ae92
[#26004] Make load-balance property configurable (#171)
Sumukh-Phalgaonkar Feb 14, 2025
615451f
[yugabyte/yugabyte-db#26069] Custom metrics implementation for multi …
vaibhav-yb Feb 24, 2025
13c3b13
[yugabyte/yugabyte-db#26107] Parellel streaming changes (#172)
vaibhav-yb Feb 25, 2025
1ac9152
CDC: Fix validation logic for configs related to parallel streaming (…
vaibhav-yb Feb 27, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
56 changes: 56 additions & 0 deletions .github/workflows/yb-confluent-package.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
name: Create package for Confluent

on:
workflow_dispatch:
inputs:
version:
description: "Version of the connector to be packaged"
required: true
type: string
isSnapshotBuild:
description: "Snapshot build?"
required: true
type: boolean
default: false

permissions: write-all

jobs:
build:
name: "Create YugabyteDBConnector package for"
runs-on: ubuntu-latest
steps:
- name: Checkout Action
uses: actions/checkout@v4

- name: Set up Java 17
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 17

- name: Set version for release
run: ./mvnw versions:set -DnewVersion=${{ inputs.version }}

- name: Compile jar file
run: ./mvnw clean install -Dquick -pl debezium-connector-postgres -pl debezium-bom -pl support/ide-configs -am
- name: Create GitHub release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ inputs.version }}
release_name: Release ${{ inputs.version }}
draft: true
prerelease: ${{ inputs.isSnapshotBuild }}
- name: Upload zip package GitHub release
id: upload-zip-package
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./debezium-connector-postgres/target/components/packages/yugabyte-debezium-connector-yugabytedb-${{ inputs.version }}.zip
asset_name: yugabyte-debezium-connector-yugabytedb-${{ inputs.version }}.zip
asset_content_type: application/zip
26 changes: 26 additions & 0 deletions .github/workflows/yb-pg-parity.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: YugabyteDB PG parity sanity

on:
push:
branches:
- ybdb-debezium-2.5.2
pull_request:
branches:
- ybdb-debezium-2.5.2

jobs:
build:
name: "Build PG connector"
runs-on: ubuntu-latest
steps:
- name: Checkout Action
uses: actions/checkout@v4

- name: Set up Java 17
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 17

- name: Download dependencies
run: ./mvnw clean install -Dquick -pl debezium-connector-postgres -am
77 changes: 77 additions & 0 deletions .github/workflows/yb-release-quay.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
name: Publish YugabyteDBConnector

on:
workflow_dispatch:
inputs:
version:
description: "Version of the connector to be released"
required: true
type: string
isSnapshotBuild:
description: "Snapshot build?"
required: true
type: boolean
default: true

permissions: write-all

jobs:
build:
name: "Publish YugabyteDBConnector"
runs-on: ubuntu-latest
steps:
- name: Checkout Action
uses: actions/checkout@v4

- name: Set up Java 17
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 17

- name: Set version for release
run: ./mvnw versions:set -DnewVersion=${{ inputs.version }}

- name: Compile jar file
run: ./mvnw clean install -Dquick -pl debezium-connector-postgres -am
- name: Login to Quay.io
uses: docker/login-action@v2
with:
registry: quay.io
username: ${{ secrets.QUAY_BOT_USERNAME }}
password: ${{ secrets.QUAY_BOT_TOKEN }}
- name: Build docker image
run: docker build . -t quay.io/yugabyte/ybdb-debezium:${{ inputs.version }} --platform linux/amd64
- name: Push image to Quay
run: docker push quay.io/yugabyte/ybdb-debezium:${{ inputs.version }}
- name: Create GitHub release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ inputs.version }}
release_name: Release ${{ inputs.version }}
draft: true
prerelease: ${{ inputs.isSnapshotBuild }}
- name: Upload fat jar to GitHub release
id: upload-release-asset-fat-jar
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./debezium-connector-postgres/target/debezium-connector-yugabytedb-${{ inputs.version }}-jar-with-dependencies.jar
asset_name: debezium-connector-yugabytedb-${{ inputs.version }}-jar-with-dependencies.jar
asset_content_type: application/java-archive
# Commenting the code to upload a light jar for the time being.
# - name: Upload fat jar to GitHub release
# id: upload-release-asset-jar
# uses: actions/upload-release-asset@v1
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# with:
# upload_url: ${{ steps.create_release.outputs.upload_url }}
# asset_path: ./debezium-connector-postgresql/target/debezium-connector-postgres-*.jar
# asset_name: debezium-connector-postgresql-${{ inputs.version }}.jar
# asset_content_type: application/java-archive
71 changes: 71 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
# On your terminal, run the following to build the image:
# mvn clean package -Dquick

FROM debezium/connect:2.5.2.Final

WORKDIR $KAFKA_CONNECT_PLUGINS_DIR
RUN rm -f debezium-connector-postgres/debezium-connector-postgres-*.jar
RUN rm -rf debezium-connector-db2
RUN rm -rf debezium-connector-informix
RUN rm -rf debezium-connector-mongodb
RUN rm -rf debezium-connector-jdbc
RUN rm -rf debezium-connector-mysql
RUN rm -rf debezium-connector-oracle
RUN rm -rf debezium-connector-spanner
RUN rm -rf debezium-connector-sqlserver
RUN rm -rf debezium-connector-vitess
WORKDIR /

# Copy the Debezium Connector for Postgres adapted for YugabyteDB
COPY debezium-connector-postgres/target/debezium-connector-yugabytedb-*.jar $KAFKA_CONNECT_PLUGINS_DIR/debezium-connector-postgres/

# Set the TLS version to be used by Kafka processes
ENV KAFKA_OPTS="-Djdk.tls.client.protocols=TLSv1.2 -javaagent:/kafka/etc/jmx_prometheus_javaagent-0.17.2.jar=8080:/kafka/etc/jmx-exporter/metrics.yml"

# Package all the Avro related jar files
RUN mkdir -p $KAFKA_CONNECT_PLUGINS_DIR/debezium-connector-postgres/avro-supporting-jars/
WORKDIR $KAFKA_CONNECT_PLUGINS_DIR/debezium-connector-postgres/avro-supporting-jars
RUN curl -sLo kafka-connect-avro-converter-7.5.3.jar https://packages.confluent.io/maven/io/confluent/kafka-connect-avro-converter/7.5.3/kafka-connect-avro-converter-7.5.3.jar
RUN curl -sLo kafka-connect-avro-data-7.5.3.jar https://packages.confluent.io/maven/io/confluent/kafka-connect-avro-data/7.5.3/kafka-connect-avro-data-7.5.3.jar
RUN curl -sLo kafka-avro-serializer-7.5.3.jar https://packages.confluent.io/maven/io/confluent/kafka-avro-serializer/7.5.3/kafka-avro-serializer-7.5.3.jar
RUN curl -sLo kafka-schema-serializer-7.5.3.jar https://packages.confluent.io/maven/io/confluent/kafka-schema-serializer/7.5.3/kafka-schema-serializer-7.5.3.jar
RUN curl -sLo kafka-schema-converter-7.5.3.jar https://packages.confluent.io/maven/io/confluent/kafka-schema-converter/7.5.3/kafka-schema-converter-7.5.3.jar
RUN curl -sLo kafka-schema-registry-client-7.5.3.jar https://packages.confluent.io/maven/io/confluent/kafka-schema-registry-client/7.5.3/kafka-schema-registry-client-7.5.3.jar
RUN curl -sLo common-config-7.5.3.jar https://packages.confluent.io/maven/io/confluent/common-config/7.5.3/common-config-7.5.3.jar
RUN curl -sLo common-utils-7.5.3.jar https://packages.confluent.io/maven/io/confluent/common-utils/7.5.3/common-utils-7.5.3.jar

RUN curl -sLo avro-1.11.3.jar https://repo1.maven.org/maven2/org/apache/avro/avro/1.11.3/avro-1.11.3.jar
RUN curl -sLo commons-compress-1.21.jar https://repo1.maven.org/maven2/org/apache/commons/commons-compress/1.21/commons-compress-1.21.jar
RUN curl -sLo failureaccess-1.0.jar https://repo1.maven.org/maven2/com/google/guava/failureaccess/1.0/failureaccess-1.0.jar
RUN curl -sLo guava-33.0.0-jre.jar https://repo1.maven.org/maven2/com/google/guava/guava/33.0.0-jre/guava-33.0.0-jre.jar
RUN curl -sLo minimal-json-0.9.5.jar https://repo1.maven.org/maven2/com/eclipsesource/minimal-json/minimal-json/0.9.5/minimal-json-0.9.5.jar
RUN curl -sLo re2j-1.6.jar https://repo1.maven.org/maven2/com/google/re2j/re2j/1.6/re2j-1.6.jar
RUN curl -sLo slf4j-api-1.7.36.jar https://repo1.maven.org/maven2/org/slf4j/slf4j-api/1.7.36/slf4j-api-1.7.36.jar
RUN curl -sLo snakeyaml-2.0.jar https://repo1.maven.org/maven2/org/yaml/snakeyaml/2.0/snakeyaml-2.0.jar
RUN curl -sLo swagger-annotations-2.1.10.jar https://repo1.maven.org/maven2/io/swagger/core/v3/swagger-annotations/2.1.10/swagger-annotations-2.1.10.jar
RUN curl -sLo jackson-databind-2.14.2.jar https://repo1.maven.org/maven2/com/fasterxml/jackson/core/jackson-databind/2.14.2/jackson-databind-2.14.2.jar
RUN curl -sLo jackson-core-2.14.2.jar https://repo1.maven.org/maven2/com/fasterxml/jackson/core/jackson-core/2.14.2/jackson-core-2.14.2.jar
RUN curl -sLo jackson-annotations-2.14.2.jar https://repo1.maven.org/maven2/com/fasterxml/jackson/core/jackson-annotations/2.14.2/jackson-annotations-2.14.2.jar
RUN curl -sLo jackson-dataformat-csv-2.14.2.jar https://repo1.maven.org/maven2/com/fasterxml/jackson/dataformat/jackson-dataformat-csv/2.14.2/jackson-dataformat-csv-2.14.2.jar
RUN curl -sLo logredactor-1.0.12.jar https://repo1.maven.org/maven2/io/confluent/logredactor/1.0.12/logredactor-1.0.12.jar
RUN curl -sLo logredactor-metrics-1.0.12.jar https://repo1.maven.org/maven2/io/confluent/logredactor-metrics/1.0.12/logredactor-metrics-1.0.12.jar
WORKDIR /

# Add the required jar files to be packaged with the base connector
RUN cd $KAFKA_CONNECT_PLUGINS_DIR/debezium-connector-postgres && curl -sLo kafka-connect-jdbc-10.6.5-CUSTOM.7.jar https://github.com/yugabyte/kafka-connect-jdbc/releases/download/10.6.5-CUSTOM.7/kafka-connect-jdbc-10.6.5-CUSTOM.7.jar
RUN cd $KAFKA_CONNECT_PLUGINS_DIR/debezium-connector-postgres && curl -sLo jdbc-yugabytedb-42.3.5-yb-1.jar https://repo1.maven.org/maven2/com/yugabyte/jdbc-yugabytedb/42.3.5-yb-1/jdbc-yugabytedb-42.3.5-yb-1.jar
RUN cd $KAFKA_CONNECT_PLUGINS_DIR/debezium-connector-postgres && curl -sLo transforms-for-apache-kafka-connect-1.5.0.zip https://github.com/Aiven-Open/transforms-for-apache-kafka-connect/releases/download/v1.5.0/transforms-for-apache-kafka-connect-1.5.0.zip
RUN cd $KAFKA_CONNECT_PLUGINS_DIR/debezium-connector-postgres && unzip transforms-for-apache-kafka-connect-1.5.0.zip

# Add Jmx agent and metrics pattern file to expose the metrics info
RUN mkdir /kafka/etc && cd /kafka/etc && curl -so jmx_prometheus_javaagent-0.17.2.jar https://repo1.maven.org/maven2/io/prometheus/jmx/jmx_prometheus_javaagent/0.17.2/jmx_prometheus_javaagent-0.17.2.jar

COPY metrics.yml /kafka/etc/jmx-exporter/

ENV CLASSPATH=$KAFKA_HOME
ENV JMXHOST=localhost
ENV JMXPORT=1976

# properties file having instructions to roll over log files in case the size exceeds a given limit
COPY log4j.properties $KAFKA_HOME/config/log4j.properties

2 changes: 1 addition & 1 deletion debezium-api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<parent>
<groupId>io.debezium</groupId>
<artifactId>debezium-parent</artifactId>
<version>2.5.2.Final</version>
<version>dz.2.5.2.yb.2024.1-SNAPSHOT</version>
<relativePath>../debezium-parent/pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
Expand Down
2 changes: 1 addition & 1 deletion debezium-assembly-descriptors/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<parent>
<groupId>io.debezium</groupId>
<artifactId>debezium-parent</artifactId>
<version>2.5.2.Final</version>
<version>dz.2.5.2.yb.2024.1-SNAPSHOT</version>
<relativePath>../debezium-parent/pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
Expand Down
2 changes: 1 addition & 1 deletion debezium-bom/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<parent>
<groupId>io.debezium</groupId>
<artifactId>debezium-build-parent</artifactId>
<version>2.5.2.Final</version>
<version>dz.2.5.2.yb.2024.1-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
Expand Down
2 changes: 1 addition & 1 deletion debezium-connect-rest-extension/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<parent>
<groupId>io.debezium</groupId>
<artifactId>debezium-parent</artifactId>
<version>2.5.2.Final</version>
<version>dz.2.5.2.yb.2024.1-SNAPSHOT</version>
<relativePath>../debezium-parent/pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
Expand Down
2 changes: 1 addition & 1 deletion debezium-connector-mongodb/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<parent>
<groupId>io.debezium</groupId>
<artifactId>debezium-parent</artifactId>
<version>2.5.2.Final</version>
<version>dz.2.5.2.yb.2024.1-SNAPSHOT</version>
<relativePath>../debezium-parent/pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
Expand Down
2 changes: 1 addition & 1 deletion debezium-connector-mysql/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<parent>
<groupId>io.debezium</groupId>
<artifactId>debezium-parent</artifactId>
<version>2.5.2.Final</version>
<version>dz.2.5.2.yb.2024.1-SNAPSHOT</version>
<relativePath>../debezium-parent/pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
Expand Down
2 changes: 1 addition & 1 deletion debezium-connector-oracle/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<parent>
<groupId>io.debezium</groupId>
<artifactId>debezium-parent</artifactId>
<version>2.5.2.Final</version>
<version>dz.2.5.2.yb.2024.1-SNAPSHOT</version>
<relativePath>../debezium-parent/pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
Expand Down
18 changes: 18 additions & 0 deletions debezium-connector-postgres/YB_DEV_NOTES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# YugabyteDB Development Instructions

## Compiling code

Since the smart driver changes require us to build the debezium core as well, build can be completed using:

```bash
./mvnw clean install -Passembly -DskipITs -DskipTests -pl debezium-connector-postgres -am
```

## Running tests

1. Compile PG connector code from the root directory with the above command.
2. Start YugabyteDB instance using `yugabyted`:
```bash
./bin/yugabyted start --ui=false --advertise_address=127.0.0.1 --master_flags="ysql_cdc_active_replication_slot_window_ms=0" --tserver_flags="allowed_preview_flags_csv={cdcsdk_enable_dynamic_table_support},cdcsdk_enable_dynamic_table_support=true,cdcsdk_publication_list_refresh_interval_secs=3,ysql_cdc_active_replication_slot_window_ms=0,ysql_sequence_cache_method=server"
```
3. Run tests
Binary file added debezium-connector-postgres/logos/yugabytedb.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading