debezium-connector-cockroachdb
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>io.debezium</groupId> <artifactId>debezium-connector-cockroachdb</artifactId> <version>3.3.0.Alpha1</version> </dependency>
<?xml version="1.0"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <parent> <groupId>io.debezium</groupId> <artifactId>debezium-parent</artifactId> <version>3.3.0.Alpha1</version> </parent> <modelVersion>4.0.0</modelVersion> <artifactId>debezium-connector-cockroachdb</artifactId> <version>3.3.0.Alpha1</version> <name>Debezium Connector for CockroachDB</name> <packaging>jar</packaging> <description>A Debezium connector for CockroachDB using native changefeeds</description> <url>https://debezium.io</url> <scm> <connection>scm:git:git@github.com:debezium/debezium-connector-cockroachdb.git</connection> <developerConnection>scm:git:git@github.com:debezium/debezium-connector-cockroachdb.git</developerConnection> <url>https://github.com/debezium/debezium-connector-cockroachdb</url> <tag>v3.3.0.Alpha1</tag> </scm> <properties> <!-- JDK version is controlled by Debezium Parent, do not change! --> <maven.compiler.source>${debezium.java.source}</maven.compiler.source> <maven.compiler.target>${debezium.java.specific.target}</maven.compiler.target> <maven.compiler.release>${debezium.java.specific.target}</maven.compiler.release> <maven.compiler.testSource>${debezium.java.source}</maven.compiler.testSource> <maven.compiler.testTarget>${debezium.java.specific.target}</maven.compiler.testTarget> <maven.compiler.testRelease>${debezium.java.specific.target}</maven.compiler.testRelease> <!-- Debezium parent --> <version.debezium>${project.version}</version.debezium> <cockroachdb.version>v25.2.3</cockroachdb.version> </properties> <dependencyManagement> <dependencies> <dependency> <groupId>io.debezium</groupId> <artifactId>debezium-core</artifactId> <version>${version.debezium}</version> </dependency> <dependency> <groupId>io.debezium</groupId> <artifactId>debezium-embedded</artifactId> <version>${version.debezium}</version> </dependency> <dependency> <groupId>io.debezium</groupId> <artifactId>debezium-api</artifactId> <version>${version.debezium}</version> </dependency> <dependency> <groupId>io.debezium</groupId> <artifactId>debezium-storage-kafka</artifactId> <version>${version.debezium}</version> </dependency> <dependency> <groupId>io.debezium</groupId> <artifactId>debezium-storage-file</artifactId> <version>${version.debezium}</version> </dependency> <!-- Provided for build consistency --> <dependency> <groupId>io.debezium</groupId> <artifactId>debezium-ide-configs</artifactId> <version>${version.debezium}</version> <scope>provided</scope> </dependency> <dependency> <groupId>io.debezium</groupId> <artifactId>debezium-checkstyle</artifactId> <version>${version.debezium}</version> <scope>provided</scope> </dependency> <dependency> <groupId>io.debezium</groupId> <artifactId>debezium-assembly-descriptors</artifactId> <version>${version.debezium}</version> <scope>provided</scope> </dependency> <dependency> <groupId>io.debezium</groupId> <artifactId>debezium-revapi</artifactId> <version>${version.debezium}</version> <scope>provided</scope> </dependency> <!-- Testing --> <dependency> <groupId>io.debezium</groupId> <artifactId>debezium-core</artifactId> <version>${version.debezium}</version> <type>test-jar</type> <scope>test</scope> </dependency> <dependency> <groupId>io.debezium</groupId> <artifactId>debezium-embedded</artifactId> <version>${version.debezium}</version> <type>test-jar</type> <scope>test</scope> </dependency> </dependencies> </dependencyManagement> <dependencies> <!-- Core Debezium APIs --> <dependency> <groupId>io.debezium</groupId> <artifactId>debezium-core</artifactId> </dependency> <dependency> <groupId>io.debezium</groupId> <artifactId>debezium-api</artifactId> </dependency> <dependency> <groupId>org.apache.kafka</groupId> <artifactId>connect-api</artifactId> <scope>provided</scope> </dependency> <!-- JSON processing --> <dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-databind</artifactId> </dependency> <dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-core</artifactId> </dependency> <dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-annotations</artifactId> </dependency> <dependency> <groupId>com.fasterxml.jackson.datatype</groupId> <artifactId>jackson-datatype-jsr310</artifactId> </dependency> <!-- Runtime dependencies --> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-api</artifactId> <scope>provided</scope> </dependency> <!-- PostgreSQL JDBC driver for CockroachDB connectivity --> <dependency> <groupId>org.postgresql</groupId> <artifactId>postgresql</artifactId> </dependency> <!-- Test dependencies --> <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.mockito</groupId> <artifactId>mockito-core</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.assertj</groupId> <artifactId>assertj-core</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>ch.qos.logback</groupId> <artifactId>logback-classic</artifactId> <scope>test</scope> </dependency> <!-- Debezium Storage Modules --> <dependency> <groupId>io.debezium</groupId> <artifactId>debezium-storage-kafka</artifactId> </dependency> <dependency> <groupId>io.debezium</groupId> <artifactId>debezium-storage-file</artifactId> </dependency> <!-- Provided for build consistency --> <dependency> <groupId>io.debezium</groupId> <artifactId>debezium-ide-configs</artifactId> <scope>provided</scope> </dependency> <dependency> <groupId>io.debezium</groupId> <artifactId>debezium-checkstyle</artifactId> <scope>provided</scope> </dependency> <dependency> <groupId>io.debezium</groupId> <artifactId>debezium-assembly-descriptors</artifactId> <scope>provided</scope> </dependency> <dependency> <groupId>io.debezium</groupId> <artifactId>debezium-revapi</artifactId> <scope>provided</scope> </dependency> <!-- Debezium test dependencies --> <dependency> <groupId>io.debezium</groupId> <artifactId>debezium-core</artifactId> <type>test-jar</type> <scope>test</scope> </dependency> <dependency> <groupId>io.debezium</groupId> <artifactId>debezium-embedded</artifactId> <type>test-jar</type> <scope>test</scope> </dependency> <dependency> <groupId>io.debezium</groupId> <artifactId>debezium-embedded</artifactId> <scope>test</scope> </dependency> <!-- Testcontainers for integration testing --> <dependency> <groupId>org.testcontainers</groupId> <artifactId>testcontainers</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.testcontainers</groupId> <artifactId>junit-jupiter</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.testcontainers</groupId> <artifactId>kafka</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.testcontainers</groupId> <artifactId>cockroachdb</artifactId> <scope>test</scope> </dependency> <!-- Additional test dependencies --> <dependency> <groupId>org.awaitility</groupId> <artifactId>awaitility</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>io.apicurio</groupId> <artifactId>apicurio-registry-utils-converter</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>io.confluent</groupId> <artifactId>kafka-connect-avro-converter</artifactId> <scope>test</scope> </dependency> </dependencies> <build> <resources> <resource> <directory>src/main/resources</directory> <includes> <include>**/*</include> </includes> </resource> </resources> <testResources> <testResource> <directory>src/test/resources</directory> <includes> <include>**/*</include> </includes> </testResource> </testResources> <plugins> <!-- Failsafe for integration test lifecycle --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-failsafe-plugin</artifactId> <configuration> <skipTests>${skipITs}</skipTests> <argLine>${argLine}</argLine> <systemPropertyVariables> <cockroachdb.host>localhost</cockroachdb.host> <cockroachdb.port>26257</cockroachdb.port> <kafka.bootstrap.servers>localhost:9092</kafka.bootstrap.servers> <kafka.advertised.listeners>localhost:29092</kafka.advertised.listeners> <zookeeper.connect>localhost:2181</zookeeper.connect> </systemPropertyVariables> </configuration> <executions> <execution> <goals> <goal>integration-test</goal> <goal>verify</goal> </goals> </execution> </executions> </plugin> </plugins> </build> <profiles> <profile> <id>skip-integration-tests</id> <activation> <property> <name>skipITs</name> </property> </activation> <properties> <docker.skip>true</docker.skip> </properties> </profile> <profile> <id>quick</id> <activation> <property> <name>quick</name> </property> </activation> <properties> <skipITs>true</skipITs> <docker.skip>true</docker.skip> </properties> </profile> <profile> <id>assembly</id> <build> <plugins> <plugin> <artifactId>maven-assembly-plugin</artifactId> <dependencies> <dependency> <groupId>io.debezium</groupId> <artifactId>debezium-assembly-descriptors</artifactId> <version>${project.version}</version> </dependency> </dependencies> <executions> <execution> <id>default</id> <phase>package</phase> <goals> <goal>single</goal> </goals> <configuration> <finalName>${project.artifactId}-${project.version}</finalName> <attach>true</attach> <descriptorRefs> <descriptorRef>${assembly.descriptor}</descriptorRef> </descriptorRefs> <tarLongFileMode>posix</tarLongFileMode> </configuration> </execution> </executions> </plugin> </plugins> </build> </profile> <profile> <id>test-uber-jar</id> <activation> <activeByDefault>false</activeByDefault> </activation> <build> <plugins> <plugin> <artifactId>maven-assembly-plugin</artifactId> <executions> <execution> <id>uber-jar</id> <phase>package</phase> <goals> <goal>single</goal> </goals> <configuration> <finalName>${project.artifactId}-${project.version}-test-uber</finalName> <descriptorRefs> <descriptorRef>jar-with-dependencies</descriptorRef> </descriptorRefs> </configuration> </execution> </executions> </plugin> </plugins> </build> </profile> </profiles> </project>