Commit Graph

8642 Commits

Author SHA1 Message Date
Jiri Pechanec
212958bc48 DBZ-6744 Decouple extension and server quarkus versions 2023-08-03 09:13:23 +02:00
Chris Cranford
fe2573cf86 DBZ-6751 Fix failing test OracleSchemaMigrationIT 2023-08-03 02:49:47 -04:00
faihofu
6f7033f038 [docs] Update proc-triggering-an-incremental-snapshot-nosql.adoc
fixed typo on line 20 - missing period in MyCollection - changed to My.Collection
2023-08-03 08:19:58 +02:00
roldanbob
543e217ddb DBZ-6592 Remove redundant passive verb form
Co-authored-by: Chris Cranford <ccranfor@redhat.com>
2023-08-03 00:46:42 -04:00
Bob Roldan
b342558b1b DBZ-6592 Revises unclear sentence 2023-08-03 00:46:42 -04:00
paul cheung
781949bb5b [docs] Update sqlserver.adoc - fix typo 2023-08-03 06:25:11 +02:00
Chris Cranford
c920479336 DBZ-6733 Skip mining distance calc. if upper bounds not within distance 2023-08-02 08:38:50 +02:00
Chris Egerton
1dae3831ec DBZ-6734: Add new STOPPED and RESTARTING states for connectors
[KIP-875](https://cwiki.apache.org/confluence/display/KAFKA/KIP-875%3A+First-class+offsets+support+in+Kafka+Connect) added a new `STOPPED` state for connectors that causes the `Connector` instance to be paused and all `Task` instances to be shut down (as opposed to left ready-but-idling, which is the case for the `PAUSED` state).

Tasks will never appear in the `STOPPED` state, only connectors.

This PR adds that state to the testcontainers library to make custom testing easier (e.g., with `DebeziumContainer::ensureConnectorState`).

I'm unsure about the backporting policy here but if this change is approved, it may also be suitable to port over to the 2.4 branch. Happy to re-target this PR at 2.4 or open up a separate PR against that branch if it helps.

Additionally, the RESTARTING state is added to prevent IllegalArgumentExceptions from being thrown when trying to parse connector/task states into the Connector.State enum.
2023-08-02 06:52:58 +02:00
Jochen Schalanda
b69efee5ba DBZ-6736 Add support for ALTER TABLE IF EXISTS
MariaDB supports conditionally altering tables with the `IF EXISTS` clause.

Refs
- https://mariadb.com/kb/en/alter-table/
- https://github.com/antlr/grammars-v4/pull/3642
2023-08-01 11:39:05 -04:00
Vojtech Juranek
287085b899 [docs] Document max. error retries option 2023-08-01 08:55:29 -04:00
dependabot[bot]
8aa3e439b7 [ci] Bump tj-actions/changed-files from 37.4.0 to 37.5.1
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 37.4.0 to 37.5.1.
- [Release notes](https://github.com/tj-actions/changed-files/releases)
- [Changelog](https://github.com/tj-actions/changed-files/blob/main/HISTORY.md)
- [Commits](https://github.com/tj-actions/changed-files/compare/v37.4.0...v37.5.1)

---
updated-dependencies:
- dependency-name: tj-actions/changed-files
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-01 09:42:26 +02:00
Chris Cranford
dbeac568b0 DBZ-6729 Use default of 10000 for snapshot/query fetch sizes 2023-07-31 13:47:53 +02:00
Chris Cranford
58792c4a7c DBZ-6730 Exit consumption loop if engine has stopped 2023-07-31 13:43:49 +02:00
Chris Cranford
fd1e60bf92 [docs] Don't render health link as a hyperlink. 2023-07-31 03:15:07 -04:00
Gurps Bassi
6e3c9028b9 [docs] Add extra info about how to access health 2023-07-31 03:15:07 -04:00
Chris Cranford
ea536a27db DBZ-6716 Support Oracle DROP USER statements 2023-07-31 03:03:03 -04:00
roldanbob
780009d141
DBZ-6219 Doc update to explain default snapshot behavior for capturing schema history (#4561) 2023-07-31 02:46:25 -04:00
Chris Cranford
95ce467312 DBZ-6690 Add author 2023-07-31 02:39:21 -04:00
Ychopada
b7680f4487 DBZ-6690 2023-07-31 02:39:21 -04:00
Bob Roldan
1daa1a91fc DBZ-6707 Specifies Boolean values for debezium.sink.redis.ssl.enabled 2023-07-28 17:46:12 -04:00
Bob Roldan
e848ce0558 DBZ-6705 Removes dup include directive for sink notification props file 2023-07-28 12:53:16 -04:00
Bob Roldan
d0fb38ffda DBZ-6706 Fixes typos in Apache Pulsar properties table in DBZ server doc 2023-07-28 12:32:36 -04:00
Chris Cranford
0ec3b80bfe DBZ-6637 Document JDBC sink dialect.postgres.postgis.schema property 2023-07-26 16:15:55 -04:00
Fiore Mario Vitale
e3f7b4cb5a DBZ-6655 Update documentation/modules/ROOT/pages/connectors/jdbc.adoc
Co-authored-by: roldanbob <broldan@redhat.com>
2023-07-26 15:47:27 -04:00
mfvitale
3c79376db6 DBZ-66655 Document not supported schema change records on JDBC connector 2023-07-26 15:47:27 -04:00
Jiri Pechanec
3212f3e919 DBZ-6714 Tested field is mandatory 2023-07-25 17:51:44 +02:00
Nikhil Benesch
8ba637f3be DBZ-6714 Set precision of MySQL unsigned bigints in output decimal type
When using the "precise" configuration for
`bigint.unsigned.handling.mode`, the output decimal types were not
specifying a precision. Adjust the code to generate an Avro schema with
a decimal precision of 20, which is sufficient to represent all possible
unsigned bigints.
2023-07-25 17:51:44 +02:00
jcechace
699a1612ae DBZ-6670 Replace error handler instead of recreate in order to keep retry counter 2023-07-25 13:46:56 +02:00
dependabot[bot]
876e177efc [ci] Bump tj-actions/changed-files from 37.1.2 to 37.4.0
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 37.1.2 to 37.4.0.
- [Release notes](https://github.com/tj-actions/changed-files/releases)
- [Changelog](https://github.com/tj-actions/changed-files/blob/main/HISTORY.md)
- [Commits](https://github.com/tj-actions/changed-files/compare/v37.1.2...v37.4.0)

---
updated-dependencies:
- dependency-name: tj-actions/changed-files
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-25 07:23:34 +02:00
mfvitale
8ea2b3c5b7 DBZ-6669 Snapshot will get data when only signal data collection table is specified 2023-07-24 10:02:13 -04:00
jcechace
0fbad0c60c DBZ-6700 using hello command instead of ping as resume backup in order to ensure that operationTime field is present across supported MongoDB platforms 2023-07-24 10:00:16 -04:00
Ronak Jain
132ca4b022 DBZ-6455: Document Optimal MongoDB Oplog Config for Resiliency
Apply suggestions from code review

Co-authored-by: roldanbob <broldan@redhat.com>
2023-07-24 12:05:16 +02:00
Ronak Jain
1071e5e33b DBZ-6455: Document Optimal MongoDB Oplog Config for Resiliency
Addresses/Closes DBZ-6455
2023-07-24 12:05:16 +02:00
Ronak Jain
36682f49c8 DBZ-6455: Document Optimal MongoDB Oplog Config for Resiliency
Addresses/Closes DBZ-6455
2023-07-24 12:05:16 +02:00
Ronak Jain
6006d60120 DBZ-6455: Document Optimal MongoDB Oplog Config for Resiliency
Addresses/Closes DBZ-6455
2023-07-24 12:05:16 +02:00
Ronak Jain
17b2db35ce DBZ-6455: Document Optimal MongoDB Oplog Config for Resiliency
Apply suggestions from code review

Co-authored-by: roldanbob <broldan@redhat.com>
2023-07-24 12:05:16 +02:00
Ronak Jain
31c534a605 DBZ-6455: Document Optimal MongoDB Oplog Config for Resiliency
Addresses/Closes DBZ-6455
2023-07-24 12:05:16 +02:00
Ronak Jain
317e6d665f DBZ-6455: Document Optimal MongoDB Oplog Config for Resiliency
Addresses/Closes DBZ-6455
2023-07-24 12:05:16 +02:00
Ronak Jain
1631193d3e DBZ-6455: Document Optimal MongoDB Oplog Config for Resiliency
Addresses/Closes DBZ-6455
2023-07-24 12:05:16 +02:00
roldanbob
a798995c22 DBZ-6591 Add xref to connector property
Adds link to the `mongodb.connection.string.shard.params` property
2023-07-24 11:59:09 +02:00
jcechace
2fa02f6c38 DBZ-6591 Documenting read preference changes in 2.4
Co-authored-by: roldanbob <broldan@redhat.com>
2023-07-24 11:59:09 +02:00
Jiri Pechanec
80ef25fd98 DBZ-6581 Correct descriptions 2023-07-21 15:17:28 +02:00
ibnubay
ae8e39b534 DBZ-6581 Update configs on Rabbitmq 2023-07-21 15:17:28 +02:00
mfvitale
b8462e8fe0 DBZ-6599 Support single line statement without semicolon ending 2023-07-20 10:10:16 -04:00
Chris Cranford
0b0c5d85fc DBZ-6676 Oracle XML/RAW documentation updates 2023-07-18 23:05:00 -04:00
Chris Cranford
afb2ecec63 DBZ-6677 Fix IndexOutOfBoundsException with ALTER TABLE listener
When a user supplies a column visibility clause in an ALTER TABLE statement,
there are no "modify_col_properties" clauses present, and this will lead to
the aforementioned exception. The listener should be tolerant of this case
and should not initialize any column editors.
2023-07-18 09:46:27 +02:00
Chris Cranford
1b265c84bc DBZ-6677 Support altering an Oracle table's column visibility 2023-07-18 09:46:27 +02:00
mfvitale
a06ba84153 DBZ-6672 Improve NotificationIt stability 2023-07-18 09:42:21 +02:00
Chris Cranford
72acea5628 DBZ-6673 Fix flaky Oracle test
The shouldCaptureChangesForTransactionsAcrossSnapshotBoundaryWithoutReemittingDDLChanges test
only expects the tables created by the entire test to exist but tables from other tests not,
and it would appear this commonly happens when another test fails to cleanup after itself.

This fix is to guarantee that the Oracle database state is set properly so that tests from
within this class are executed with the right number of tables expected to exist.
2023-07-18 09:40:41 +02:00
dependabot[bot]
72078a8ac1 [ci] Bump tj-actions/changed-files from 37.1.0 to 37.1.2
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 37.1.0 to 37.1.2.
- [Release notes](https://github.com/tj-actions/changed-files/releases)
- [Changelog](https://github.com/tj-actions/changed-files/blob/main/HISTORY.md)
- [Commits](https://github.com/tj-actions/changed-files/compare/v37.1.0...v37.1.2)

---
updated-dependencies:
- dependency-name: tj-actions/changed-files
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-18 08:48:35 +02:00