Jacob Gminder
6beea85425
DBZ-6084: Retrieve the database names from the configuration instead of re-parsing them from scratch.
2023-02-07 13:11:23 +01:00
Jacob Gminder
0a1862a5cf
DBZ-6084: Validate that database.names is not empty in the SQL server connector configuration.
2023-02-07 13:11:23 +01:00
Jacob Gminder
4acb9304d1
DBZ-6084: Set the number of tasks to the minimum of maxTasks or the number of databases.
2023-02-07 13:11:23 +01:00
harveyyue
57b902ff8c
DBZ-5743 Introduce alternative AVRO_UNICODE mode for field name selector
2023-02-02 13:21:45 +01:00
Vojtech Juranek
c52ffe2fcd
DBZ-6035 Await transactions also in IncrementalSnapshotWithRecompileIT
...
Override no-op waitForCdcTransactionPropagation() also in
IncrementalSnapshotWithRecompileIT which also fails very often.
2023-01-31 06:55:40 +01:00
Vojtech Juranek
f53237c249
DBZ-6035 Await for transactions to be propagated to CDC table
...
Lowering polling interval intorduced in previous commit doesn't fully
fix the issue and there is still small race condition. To fully fix it
add function for awaiting transaction to be propagate to CDC table and
await transaction in tests which randomly fails.
2023-01-26 07:33:10 +01:00
Vojtech Juranek
895fd0b99f
DBZ-6035 Add function for adjusting SQL server polling interval
...
Some tests fail randomly as they insert some records at the begging
of the test, start Debezium and asserts that there are no records.
However, as SQL server poll for the changes and copies them into
CDC table not immediately but in specified interval (by default 5
secods), there can be a race condition when the entries inserted
at the beginning of the test are copied into CDC table after starting
Debezium and it resutls into the test failure as there are unexpected
records.
Add function for adjusting the polling interval and decrease polling
interval in `IncrementalSnapshotIT` which fails very often.
This doesn't fully fix the race condition, but decreases the changes
the issue is hit.
2023-01-26 07:33:10 +01:00
Debezium Builder
04f5291a2d
[maven-release-plugin] prepare for next development iteration
2023-01-19 11:32:10 +00:00
Debezium Builder
027527963e
[maven-release-plugin] prepare release v2.2.0.Alpha1
2023-01-19 11:32:10 +00:00
Anil Dasari
e1f9d64fbb
DBZ-5852:Snapshotter#snapshotCompleted is invoked regardless of snapshot result
2023-01-19 09:24:02 +01:00
Jeremy Ford
8da86b78e8
DBZ-5879 Fix unit tests
2023-01-18 14:46:14 +01:00
Jiri Pechanec
8ca5e0a9b5
DBZ-4669 Reformat after plugin version consolidation
2023-01-11 06:44:53 +01:00
Mark Lambert
e5d16b14a6
DBZ-2439 Remove redundant modifiers
2023-01-11 06:44:53 +01:00
Debezium Builder
cf1720e4cb
[maven-release-plugin] prepare for next development iteration
2022-12-22 10:11:54 +00:00
Debezium Builder
b4ea9b46cd
[maven-release-plugin] prepare release v2.1.0.Final
2022-12-22 10:11:53 +00:00
Debezium Builder
177a60a9d3
[maven-release-plugin] prepare for next development iteration
2022-12-16 09:33:38 +00:00
Debezium Builder
f805db8c3c
[maven-release-plugin] prepare release v2.1.0.Beta1
2022-12-16 09:33:38 +00:00
Keri Harris
9bc7b134c9
DBZ-5924 add JDBC connection URL unit tests for SQL Server connector
2022-12-15 11:41:58 +01:00
Keri Harris
aba74a462f
DBZ-5924 refactor SQL-Server JDBC configuration for named instance config parameter
2022-12-15 11:41:58 +01:00
Keri Harris
58eb77d7e4
DBZ-5924 respect SQL-Server database.instance config option
2022-12-15 11:41:58 +01:00
Vojtech Juranek
9639c5ca0e
DBZ-5838 Fix Docker filter for sql server job
2022-12-12 14:44:05 +01:00
Vojtech Juranek
9494552a3a
DBZ-5838 Add missing Apicurio converter dependency
2022-12-12 14:44:05 +01:00
Marcelo Avancini
7754163c5d
DBZ-2432: Fixing misuse of assertj
...
- Some usages of assertj was not callig the actual assert of the DSL, fixing it
- Changing the Assertions to be staticlly imported
2022-12-08 13:10:26 +01:00
Vojtech Juranek
e1b65cd6f7
DBZ-5889 Run integration tests in specified order
...
Run the tests alwyas in thr same order to make it more easy to debug
failures. If needed, the order can be changed (e.g. to `random`) by
overriding propeperty `runOrder`.
2022-12-08 13:00:41 +01:00
Debezium Builder
81896ed334
[maven-release-plugin] prepare for next development iteration
2022-11-30 07:52:24 +00:00
Debezium Builder
1aac97b87c
[maven-release-plugin] prepare release v2.1.0.Alpha2
2022-11-30 07:52:23 +00:00
ggaborg
a2551b1223
DBZ-4720 sqlserver tests
2022-11-22 14:46:55 +01:00
Chris Cranford
c595fb9ff3
DBZ-5423 Adjust tests
2022-11-14 12:26:00 +01:00
Anisha Mohanty
22f260e09d
DBZ-5423 Update the test case & document the changes
2022-11-14 12:26:00 +01:00
Chris Cranford
9b9f41369a
DBZ-5423 Update test case
2022-11-14 12:26:00 +01:00
Anisha Mohanty
3b096aecda
DBZ-5423 Add test case to support table rename for SQLServer
2022-11-14 12:26:00 +01:00
Debezium Builder
e311dd1a67
[maven-release-plugin] prepare for next development iteration
2022-11-10 13:29:06 +00:00
Debezium Builder
e3bf53440a
[maven-release-plugin] prepare release v2.1.0.Alpha1
2022-11-10 13:29:05 +00:00
Vojtech Juranek
96e4326d35
DBZ-2131 Use system property to determine if Apicurio should be used
2022-11-09 08:44:45 +01:00
Vojtech Juranek
06dd44d35f
DBZ-2131 Add Apicurion profile for Sqlserver
2022-11-09 08:44:45 +01:00
Vojtech Juranek
903e0a84d4
DBZ-2131 Unify intendation in Sqlserver pom.xml
2022-11-09 08:44:45 +01:00
jcechace
df97a23f62
DBZ-5779 Migrated debezium-connector-sqlserver to AssertJ
2022-11-02 08:50:26 +01:00
Debezium Builder
4d35fb8011
[maven-release-plugin] prepare for next development iteration
2022-10-14 11:26:32 +00:00
Debezium Builder
7bd1551c99
[maven-release-plugin] prepare release v2.0.0.Final
2022-10-14 11:26:32 +00:00
Vojtech Juranek
73f056df85
DBZ-5710 Remove whitelist/blacklist from log messages
2022-10-11 15:30:28 +02:00
Debezium Builder
884254aba1
[maven-release-plugin] prepare for next development iteration
2022-10-07 09:27:52 +00:00
Debezium Builder
a0f3263fa6
[maven-release-plugin] prepare release v2.0.0.CR1
2022-10-07 09:27:51 +00:00
Jiri Pechanec
0477ddf0e1
DBZ-5670 Use new driver prefix
2022-10-05 14:27:04 +02:00
harveyyue
f6b72f060c
DBZ-5671 Remove logic name parameter from sub connector config
2022-10-03 11:40:17 -04:00
Sergei Morozov
e4d46c81b1
DBZ-5541: Default Debezium schema.name.adjustment.mode to "none"
2022-09-29 09:47:25 +02:00
Vojtech Juranek
97532042b3
DBZ-5657 Allow to use Docker maven plugin external properties
...
Allow to override Docker maven plugin properties [1] from command line
to be able to change various Docker parameters more easily when starting
the container.
[1] https://dmp.fabric8.io/#combining-property-config
2022-09-29 05:41:09 +02:00
Vojtech Juranek
0748710d18
DBZ-4490 Fix randomly failing updatePrimaryKeyWithRestartInMiddle test
...
Fix randomly failing
SqlServerConnectorIT#updatePrimaryKeyWithRestartInMiddle.
It seems the main source of instability in slow environments is
consuming snapshot record. It's actually not consumed and as the
test assumes exact order of messages, it leads to failures.
Wait for snapshot to be completed using mbean server. Also add more
asserts to make clear where is the issue if the test continues to fail.
2022-09-27 14:50:07 +02:00
Vojtech Juranek
63167469c2
DBZ-4475 Fix randomly failing updatePrimaryKeyTwiceWithRestartInMiddleOfTx
...
Fix randomly failing
SqlServerConnectorIT#updatePrimaryKeyTwiceWithRestartInMiddleOfTx
Wait for snapshot to be complteted and consume expected number of
records.
2022-09-27 14:49:25 +02:00
harveyyue
d1153e8ad4
DBZ-5594 Clean up "logical name" config
2022-09-22 14:29:37 +02:00
Sergei Morozov
39f3358747
DBZ-5496: Improve compatibility with Azure SQL
...
If the SQL Server connector is configured to capture changes from a
single database, pass it to the JDBC connection string in order to
bypass the limitation of Azure SQL which does not allow switchiing
between databases.
See: https://docs.microsoft.com/en-us/sql/t-sql/language-elements/use-transact-sql?view=sql-server-ver15#arguments
2022-09-20 06:29:39 +02:00