Gunnar Morling
5ca1d9fc4f
DBZ-3099 Preferring explicit functional interface over Function
2021-02-16 10:02:17 +01:00
Jiri Pechanec
2af13af300
DBZ-3099 Streaming source test for new impl only
2021-02-16 10:02:17 +01:00
Jiri Pechanec
c53082f94f
DBZ-3099 Fix typos
2021-02-16 10:02:17 +01:00
Jiri Pechanec
b0f906df35
DBZ-3099 Race condition in waiting for metrics
2021-02-16 10:02:17 +01:00
Jiri Pechanec
21b15facb2
DBZ-3099 Snapshot buffering to handle config corner cases
2021-02-16 10:02:17 +01:00
Jiri Pechanec
7394ecfd62
DBZ-3099 Make streaming MBean name configurable in tests
2021-02-16 10:02:17 +01:00
Jiri Pechanec
048530aeb8
DBZ-3099 Make metrics tests running with legacy
2021-02-16 10:02:17 +01:00
Jiri Pechanec
ea247b710d
DBZ-3099 Rewritten reader tests to connector
2021-02-16 10:02:17 +01:00
Jiri Pechanec
6a9ca7d544
DBZ-3099 Fix schema recovery; Add table level locking
2021-02-16 10:02:17 +01:00
Jiri Pechanec
08e4988c72
DBZ-3093 Unify snapshot and streaming parsing
2021-02-16 10:02:17 +01:00
Jiri Pechanec
7bfbd5c7c5
DBZ-3093 Dispatch schema change events always
2021-02-16 10:02:17 +01:00
Jiri Pechanec
6607310f13
DBZ-3093 Separate parsing and change applying phase in MySQL schema
2021-02-16 10:02:17 +01:00
Jiri Pechanec
5bf5e18d81
DBZ-3086 Legacy source info make for legacy tests
2021-02-16 10:02:16 +01:00
Jiri Pechanec
f01af4bec8
DBZ-3086 Source info formatting for legacy implementation
2021-02-16 10:02:16 +01:00
Jiri Pechanec
14a628ed60
DBZ-3086 Mark moved method as deprecated
2021-02-16 10:02:16 +01:00
Jiri Pechanec
a43bae7638
DBZ-3086 Separate offset and source info
2021-02-16 10:02:16 +01:00
Jiri Pechanec
e9ed4a0a2a
DBZ-3086 Remove parallel snapshot reader offsets
2021-02-16 10:02:16 +01:00
Jiri Pechanec
488464419e
DBZ-3086 Separate legacy and new SourceInfo
2021-02-16 10:02:16 +01:00
Jiri Pechanec
1d86d7068f
DBZ-3077 Unified record creation
2021-02-16 10:02:16 +01:00
ani-sha
5f8a22a5df
DBZ-2858 Make field descriptions consistent for time values
2021-02-16 09:55:35 +01:00
Debezium Builder
e08df0a177
[maven-release-plugin] prepare for next development iteration
2021-02-06 01:25:23 -05:00
Debezium Builder
da0411bf70
[maven-release-plugin] prepare release v1.5.0.Alpha1
2021-02-06 01:25:23 -05:00
Jiri Pechanec
f63d08fc28
DBZ-3023 Handle default charsets for table
2021-02-05 05:44:14 +01:00
Jiri Pechanec
ed7a1c2486
DBZ-3047 Run the test after legacy package
2021-02-05 05:44:06 +01:00
Jiri Pechanec
c9fd39d04c
DBZ-1865 Support for when_needed snapshot
2021-02-04 09:07:55 +01:00
Jiri Pechanec
f57343dc3b
DBZ-1865 Use OptionaLong; add comments
2021-02-04 09:07:55 +01:00
Jiri Pechanec
2374b6b045
DBZ-1865 First draft of MySQL rewrite
2021-02-04 09:07:55 +01:00
Jiri Pechanec
23c1546362
DBZ-1865 Modify metrics to conform to new classes
2021-02-04 09:07:55 +01:00
Jiri Pechanec
d333c9f005
DBZ-1865 Move legacy classes into separate package
2021-02-04 09:07:55 +01:00
Jiri Pechanec
5e887b2bfb
DBZ-3020 Ignore expressions in default values
2021-02-03 10:12:09 +01:00
ani-sha
d4003c9172
DBZ-2420 Define database configs under RelationalDatabaseConnectorConfig
2021-02-03 08:05:42 +01:00
rkerner
89cc1d7003
DBZ-3008 Fix that an invalid regex for database.inlcude.list
and database.exlcude.list
does not raise a validation error for MySQL connector and the connector only fails on start, also the config validated before
...
closes https://issues.redhat.com/browse/DBZ-3008
2021-02-01 18:38:54 +01:00
Debezium Builder
237b4ac0f1
[maven-release-plugin] prepare for next development iteration
2021-01-28 07:38:55 -05:00
Debezium Builder
06b1d0cbad
[maven-release-plugin] prepare release v1.4.1.Final
2021-01-28 07:38:55 -05:00
Jiri Pechanec
5092f327d8
DBZ-2922 DatabaseLocales generates the DDL
2021-01-27 10:40:21 +01:00
Jiri Pechanec
8153404033
DBZ-2922 Support for cahrsets from collations
2021-01-27 10:40:21 +01:00
shuguang.xiang
363c794185
DBZ-2922 Resolve column type from collation name
2021-01-27 10:40:21 +01:00
Gunnar Morling
b5bb534429
DBZ-2921 Removing superfluous author tag
2021-01-14 15:52:18 +01:00
Jiri Pechanec
ff4fe78037
DBZ-2921 Record default database charset in history
2021-01-14 15:52:18 +01:00
Debezium Builder
3010f99c32
[maven-release-plugin] prepare for next development iteration
2021-01-07 03:38:13 -05:00
Debezium Builder
54534538d9
[maven-release-plugin] prepare release v1.4.0.Final
2021-01-07 03:38:13 -05:00
Jiri Pechanec
fbfba94027
DBZ-2167 Remove superfluous char
...
Co-authored-by: Gunnar Morling <gunnar.morling@googlemail.com>
2020-12-21 16:30:15 +01:00
Jiri Pechanec
58713599ba
DBZ-2167 Remove legacy parser completely; tests depending on parser move to MySQL
2020-12-21 16:30:15 +01:00
Debezium Builder
b1ab996c3e
[maven-release-plugin] prepare for next development iteration
2020-12-16 14:11:31 -05:00
Debezium Builder
8fc864b278
[maven-release-plugin] prepare release v1.4.0.CR1
2020-12-16 14:11:31 -05:00
Debezium Builder
cf921f56b4
[maven-release-plugin] prepare for next development iteration
2020-12-10 00:27:40 -05:00
Debezium Builder
c49a377487
[maven-release-plugin] prepare release v1.4.0.Beta1
2020-12-10 00:27:39 -05:00
Jiri Pechanec
a967afbd1a
DBZ-2821 Support for CHAR VARYING use
2020-12-04 10:34:49 +01:00
Jiri Pechanec
b7fede7d53
DBZ-735 Verify Avro serialization
2020-11-27 17:33:23 +01:00
John Martin
f069cd6f3f
DBZ-2775 add option for setting snapshot events as reads
2020-11-20 07:46:07 +01:00
Debezium Builder
4535549dcd
[maven-release-plugin] prepare for next development iteration
2020-11-16 15:18:43 -05:00
Debezium Builder
3c70c5f7d5
[maven-release-plugin] prepare release v1.4.0.Alpha2
2020-11-16 15:18:43 -05:00
vanhoale
17a424d9ac
DBZ-2662 Handle ChangeEventQueue by the size in bytes
2020-11-16 08:39:33 +01:00
rkerner
9c5db0cd2f
DBZ-2580 Fix "The primary key cannot reference a non-existant column" error from MySQL DDL parser when CREATE TABLE statement starts with a primary key definition like "CREATE TABLE Products (PRIMARY KEY (id), ..." where the referenced primary key column is not yet defined
2020-11-12 07:42:48 +01:00
Kewei Shang
78c061a86d
DBZ-2726 extend data separator and time separator
2020-11-10 10:01:33 +01:00
Kewei Shang
7e44a3068a
DBZ-2726 Clean MySQL TIMESTAMP default value
2020-11-10 10:01:33 +01:00
Jiri Pechanec
b9a6bb35b8
DBZ-2673 Added comment; use defensive equals
2020-11-03 08:02:06 +01:00
Arik Cohen
e44b76fb9d
DBZ-2673 Read the raw bytes of a character-type field
2020-11-03 08:02:06 +01:00
rkerner
c274c2b39b
DBZ-2617 refactor to proper HeartbeatErrorHandler injection
2020-11-03 07:23:02 +01:00
Debezium Builder
26883dad92
[maven-release-plugin] prepare for next development iteration
2020-10-22 03:45:59 -04:00
Debezium Builder
9adbc2d67e
[maven-release-plugin] prepare release v1.4.0.Alpha1
2020-10-22 03:45:59 -04:00
Sergei Morozov
5bccf7ad1d
DBZ-2688: DropViewParserListener should respect the skipViews flag
2020-10-22 05:43:46 +02:00
Jiri Pechanec
b699e37359
DBZ-2670 Modify testing approach
2020-10-21 17:41:22 +02:00
karamel
4898d18184
DBZ-2670 Allow non-Ascii characters in MySQL ids
2020-10-21 17:41:22 +02:00
Kaushik Iyer
7d9e8fdc46
DBZ-2456 fixes after rebase
2020-10-16 10:13:48 +02:00
Kaushik Iyer
e2e6dc0932
DBZ-2456 selective snapshot implementation
2020-10-16 10:13:48 +02:00
John Martin
4fe4aed24f
DBZ-2643 Only set filter info in offsets when snapshot.new.tables = parallel
2020-10-14 16:53:04 +02:00
Jiri Pechanec
2270d23adb
DBZ-2641 BLOB type has dimension
2020-10-08 09:01:23 +02:00
Jiri Pechanec
dd6e10b92b
DBZ-2604 Query charset name in lowercase
2020-10-06 11:41:06 +02:00
Jiri Pechanec
cc09f164b9
DBZ-2604 Use default db charset as default table charset
2020-10-06 11:41:06 +02:00
Debezium Builder
95b8ed3877
[maven-release-plugin] prepare for next development iteration
2020-10-01 09:08:51 -04:00
Debezium Builder
19ad73beb2
[maven-release-plugin] prepare release v1.3.0.Final
2020-10-01 09:08:50 -04:00
Peter Junos
ab7db1ddca
DBZ-2583 MySQL connector - ignore statement-based logs
...
Current mysql debezium connector fails once it sees an event generated
with statement or mixed based replication.
As users and programs can call SET SESSION binlog_format='STATEMENT'; as
they wish, they are able to break debezium connector. Only MySQL 8.0.14
is fixing this, but not everyone is on that version.
To prevent connector crashing in such cases, there should be an option
to log these issues and continue. That would be similar to processing
inconsistent schema (on the setting level).
2020-09-29 15:55:15 +02:00
Gunnar Morling
3d12616627
DBZ-2563 Avoiding dependency from MySqlValueConverters to BinlogReader
2020-09-29 10:36:33 +02:00
Gunnar Morling
87d70cb96d
DBZ-2563 Simplifying MySqlValueConverters constructors
2020-09-29 10:36:33 +02:00
Jiri Pechanec
5b2c14e058
DBZ-2563 JSON processing can ignore deserialization errors
2020-09-29 10:36:33 +02:00
Gunnar Morling
c1b057f792
DBZ-2588 Introducing dedicated functional interface for key/value generators;
...
Also keys are always KC Struct instead of generic j.l.Object.
2020-09-25 06:01:59 +02:00
Debezium Builder
b146b69154
[maven-release-plugin] prepare for next development iteration
2020-09-24 04:56:42 -04:00
Debezium Builder
c51cfe8eb9
[maven-release-plugin] prepare release v1.3.0.CR1
2020-09-24 04:56:41 -04:00
Debezium Builder
837669890a
[maven-release-plugin] prepare for next development iteration
2020-09-16 12:18:08 -04:00
Debezium Builder
086dbd960b
[maven-release-plugin] prepare release v1.3.0.Beta2
2020-09-16 12:18:08 -04:00
Aaron Brady
9468b1f074
DBZ-2466 Start connector when using Oracle MySQL, so afterEach can stop it
2020-09-15 11:43:49 +02:00
Aaron Brady
a5b30ffa78
DBZ-2466 Address Backup Lock review feedback
2020-09-15 11:43:49 +02:00
Aaron Brady
9057896c89
DBZ-2466 Percona Backup Locks option for snapshots
2020-09-15 11:43:49 +02:00
Aaron Brady
304ad4998c
DBZ-2466 Add Percona Server profile to assembly
2020-09-15 11:43:49 +02:00
rkerner
011c3be948
DBZ-2527 Add missing ListOfRegex validator to all regex list fields and fix dependent fields to not include @Deprecated whitelist/blacklist fields
2020-09-15 10:05:04 +02:00
Gunnar Morling
e91629cc04
DBZ-1962 Doc fix
2020-09-08 17:11:14 +02:00
Jos Huiting
29c6b2abc7
DBZ-1962 Introduce column.whitelist for the MySql connector
2020-09-08 17:06:29 +02:00
Debezium Builder
9979db648f
[maven-release-plugin] prepare for next development iteration
2020-08-28 05:04:26 -04:00
Debezium Builder
5c58b23756
[maven-release-plugin] prepare release v1.3.0.Beta1
2020-08-28 05:04:26 -04:00
rkerner
2c5c093587
DBZ-2171 avoid divisive language
2020-08-21 09:29:04 +02:00
Gunnar Morling
44efd1bc6b
DBZ-2423 Propagating port default values
2020-08-12 13:50:42 +02:00
Debezium Builder
c4c50f5fc6
[maven-release-plugin] prepare for next development iteration
2020-08-06 00:46:18 -04:00
Debezium Builder
94cbeb95fa
[maven-release-plugin] prepare release v1.3.0.Alpha1
2020-08-06 00:46:17 -04:00
Chris Cranford
00463e10c0
DBZ-2332 Fix test failures with Kafka 1.x CI
...
MySqlDecimalIT#testPreciseDecimalHandlingMode
SqlServerConnectorIT#restartInTheMiddleOfTx
2020-08-04 23:21:23 +02:00
Chris Cranford
856fd5ee34
DBZ-2173 Upgrade MySQL binlog client 0.23.1
2020-08-04 10:40:06 +02:00
Gunnar Morling
e70708a6ad
DBZ-1939 Removing unused methods; reducing visbility
2020-07-30 17:53:22 +02:00
Gunnar Morling
5cb82bb7c7
DBZ-1939 Simplifying boolean logic
2020-07-30 17:53:22 +02:00
Arik Cohen
e111bd585c
DBZ-1939 graceful handling of "phantom" tables
2020-07-30 17:53:22 +02:00
Gunnar Morling
c1a1f381e9
DBZ-2387 Formatting
2020-07-30 09:04:51 +02:00
Moira Tagle
bee8d30f39
DBZ-2387 fix NPE in ParallelHaltingPredicate
2020-07-30 09:04:51 +02:00
Jiri Pechanec
6e1eb61e72
DBZ-2365 LONG types have separate grammar rules
2020-07-24 08:30:40 +02:00
Jiri Pechanec
18d0143d64
DBZ-2365 Support for crss-db datatypes
2020-07-24 08:30:40 +02:00
Debezium Builder
e1ab38de84
[maven-release-plugin] prepare for next development iteration
2020-07-16 04:40:04 -04:00
Debezium Builder
69cf375faa
[maven-release-plugin] prepare release v1.2.1.Final
2020-07-16 04:40:04 -04:00
Kewei Shang
9811b67e9a
DBZ-2330 Fix null default value when NOT NULL is after DEFAULT
2020-07-15 09:14:46 +02:00
Michael Wang
d7ae30a8d1
DBZ-2305 Allow single dimension DECIMAL in CAST
2020-07-13 20:52:12 +02:00
Chris Cranford
e3abc020c9
DBZ-2238 Fix test failure - MySqlSourceTypeInSchemaIT#shouldPropagateSourceTypeAsSchemaParameter
2020-07-10 08:14:28 +02:00
Chris Cranford
a286de7d97
DBZ-2269 Fix test failure - MySqlSourceTypeInSchemaIT#shouldPropagateSourceTypeByDatatype
2020-07-09 08:23:59 +02:00
Chris Cranford
1aae3cd262
DBZ-2243 Fix test failure - MySqlConnectorRegressionIT#shouldConsumeAllEventsFromDatabaseUsingBinlogAndNoSnapshot
2020-07-09 06:30:56 +02:00
Chris Cranford
6a8eb416a1
DBZ-2270 Fix test failure - MySqlConnectorIT#shouldNotParseQueryIfServerOptionDisabled
2020-07-09 06:29:41 +02:00
rkerner
7b2e9be0d5
DBZ-730 add MySqlDecimalIT integration test for all decimal.handling.mode/s
2020-07-09 06:26:52 +02:00
Chris Cranford
f5ab12c346
DBZ-2229 Fix test failure - MySqlConnectorRegressionIT#shouldConsumeAllEventsFromDecimalTableInDatabaseUsingBinlogAndNoSnapshot
2020-07-08 21:56:10 +02:00
Jiri Pechanec
15c49f3fb6
DBZ-2301 Hide internal config fields
2020-07-01 15:46:17 +02:00
Jiri Pechanec
3c6f3eb75c
DBZ-2278 Resolve concurrent access to the thread map
2020-06-26 08:38:59 +02:00
Randall Hauch
5860812a63
DBZ-2275 Updated default database history DML filter default to handle additional RDS statements;
...
* Added two more regular expressions to the default database history DML filter. These are intended to catch and filter out `INSERT into mysql.rds_monitor…` statements that RDS may write in the binlog
* Added a new unit test that checks that the regular expressions do catch some example statements
2020-06-25 20:57:49 +02:00
Debezium Builder
c0d30b87d9
[maven-release-plugin] prepare for next development iteration
2020-06-24 18:03:11 +02:00
Debezium Builder
0e2ac78301
[maven-release-plugin] prepare release v1.2.0.Final
2020-06-24 18:03:11 +02:00
Jiri Pechanec
87d93d44fd
DBZ-2221 Wait for keepalive thread initialization
2020-06-24 09:14:42 +02:00
Jiri Pechanec
50943f59f7
DBZ-2267 Optionality ignored while converting default value
2020-06-23 18:36:36 +02:00
Jiri Pechanec
e9355c3589
DBZ-2261 Take the full filter count into assert
2020-06-22 20:54:44 +02:00
Debezium Builder
b03a4d0e50
[maven-release-plugin] prepare for next development iteration
2020-06-19 00:39:01 -04:00
Debezium Builder
93e60258d5
[maven-release-plugin] prepare release v1.2.0.CR2
2020-06-19 00:39:00 -04:00
Jiri Pechanec
dc3d251f16
DBZ-2207 Intermittnet test failure
2020-06-16 16:55:34 +02:00
Chris Cranford
d4cefaa1c2
DBZ-2177 Fix inconsistent test failure
2020-06-16 00:06:34 +02:00
Debezium Builder
65c39e9f11
[maven-release-plugin] prepare for next development iteration
2020-06-11 02:00:20 -04:00
Debezium Builder
bce332c900
[maven-release-plugin] prepare release v1.2.0.CR1
2020-06-11 02:00:19 -04:00
Jiri Pechanec
752bed1a6f
DBZ-2169 Fix test failure
2020-06-10 17:38:08 -04:00
Emmanuel
c7ef4128db
DBZ-1989 Avoid returning distorted (Milli)SecondsBehindSource values
2020-06-09 17:21:08 +02:00
Balázs Németh
0853940f3d
DBZ-2169 Fix for misuse of ConfigurationDefaults.RETURN_CONTROL_INTERVAL;
...
* Implemented Temporals.min()
* Fixed pollInterval calculation based on the documentation
2020-06-09 10:24:50 +02:00
Gunnar Morling
c54e377dd2
DBZ-1814 Exporting Hex and Base64 representations as string
2020-06-05 12:13:29 +02:00
Gunnar Morling
023064eedb
DBZ-1814 Renaming "raw" to "bytes"; also clarifying that this notion isn't Java-specific
2020-06-05 12:13:29 +02:00
Jeremy Finzel
5db614da21
DBZ-1814 added new binary handling mode option
2020-06-05 12:13:29 +02:00
Gunnar Morling
79a64179c1
DBZ-2140 Typo fix
2020-06-03 11:34:58 +02:00
Jiri Pechanec
71c9607944
DBZ-2140 Handle drop default value
2020-06-03 11:34:58 +02:00
Jiri Pechanec
2b67e26407
DBZ-2130 Avoid ambiguity between type and charset keyword
2020-06-03 11:04:49 +02:00
Jiri Pechanec
06f8023a54
DBZ-2130 CHARACTER keyword used also as a type
2020-06-02 15:11:53 +02:00
Jiri Pechanec
20b45f84f3
DBZ-1657 Remove duplicate option definitions
2020-05-22 12:07:29 +02:00
Debezium Builder
dc25c379e5
[maven-release-plugin] prepare for next development iteration
2020-05-19 03:40:25 -04:00
Debezium Builder
ad060181b9
[maven-release-plugin] prepare release v1.2.0.Beta2
2020-05-19 03:40:25 -04:00
Jiri Pechanec
e676d715c3
DBZ-2085 Apply custom converters to default values
2020-05-18 17:27:59 +02:00
Jiri Pechanec
97c3d3b6e9
DBZ-2088 Use POSIX tar
2020-05-18 14:29:38 +02:00
Fándly Gergő
9cea694510
DBZ-2067 Add support for ALGORITHM=INSTANT on alter table statements
2020-05-14 12:31:14 +02:00
Max Kaplan
1b89b89301
DBZ-2062 allowing compression keyword to contain backticks in create table
2020-05-14 11:21:25 +02:00
Jiri Pechanec
c4f975bd0a
DBZ-2061 Handle change of default value
2020-05-14 08:31:27 +02:00
Chris Cranford
f449550b2d
DBZ-2068 Skip tests incompatible with Kafka 1.x
2020-05-13 08:22:07 +02:00
Debezium Builder
8d4203279e
[maven-release-plugin] prepare for next development iteration
2020-05-07 05:03:40 -04:00
Debezium Builder
a4e2c8f36c
[maven-release-plugin] prepare release v1.2.0.Beta1
2020-05-07 05:03:40 -04:00
Jiri Pechanec
e350d74b17
DBZ-1904 Public facing schema history topic
2020-05-04 12:31:05 +02:00
Chris Cranford
11c8e9df3d
DBZ-1953 Rework configuration files
2020-04-29 12:27:38 +02:00
Chris Cranford
230ddaebdc
DBZ-1953 Generalized SkipWhenDatabaseVersion functionality
2020-04-29 12:27:38 +02:00
Chris Cranford
bcae276234
DBZ-1953 MySQL 5.5 and 5.6 added to test matrix
2020-04-29 12:27:38 +02:00
Gunnar Morling
3d0606b348
DBZ-2027 Small speed-up of PG test execution;
...
* Using Awaitility so we can use 100ms looping intervals; also it's more concise
* Avoiding creation of one temporary connection
2020-04-29 09:56:59 +02:00
JanHendrikDolling
33d83731af
DBZ-1972 move static Filed methods as static Filed constant to RelationalDatabaseConnectorConfig instead.
2020-04-27 12:31:19 +02:00
Jiri Pechanec
0d8d6a41c5
DBZ-1750 Validate Kafka params only for Kafka history
2020-04-24 15:35:28 +02:00
Gunnar Morling
0998fc533a
DBZ-1895 Completing implementation;
...
* Restoring original derserializers; excluding skipped events in event handlers
* Adding test
2020-04-22 15:04:36 +02:00
Hossein Torabi
9ddd893074
DBZ-1895 Implement SKIPPED_OPERATIONS for mysql
2020-04-22 15:04:36 +02:00
Ivan Klass
75f19239d1
DBZ-1886 Introduce separate storageExists() method to support manual topic creation
2020-04-20 17:46:03 +02:00
Jos Huiting
a0f65830de
DBZ-1962 Remove TABLE_WHITELIST and TABLE_BLACKLIST in favor of definitions in RelationalDatabaseConnectorConfig
2020-04-17 15:24:42 +02:00
Jos Huiting
8ba21a98ef
DBZ-1962 Introduce column.whitelist for the Postgres connector
2020-04-17 15:24:42 +02:00
Chris Cranford
e7d7456a3f
DBZ-1947 Remove obsolete MySQL metrics
2020-04-16 09:31:29 +02:00
Debezium Builder
4ca9f92575
[maven-release-plugin] prepare for next development iteration
2020-04-16 02:22:00 -04:00
Debezium Builder
e704bccdaa
[maven-release-plugin] prepare release v1.2.0.Alpha1
2020-04-16 02:22:00 -04:00
JanHendrikDolling
1e19270981
DBZ-1692 Added support for hash based column masking mode for string values
2020-04-08 21:21:42 +02:00
Jiri Pechanec
318d1d3cc7
DBZ-1905 Make thread-naming params internal and optional
2020-04-08 12:18:32 +02:00
Jiri Pechanec
e81aec0ed1
DBZ-1905 Validate database history topic
2020-04-08 12:18:32 +02:00
Chris Cranford
35eaf9828f
DBZ-1950 Make validation of binlog_row_image compatible with MySQL 5.5
2020-04-08 10:28:12 +02:00
Chris Cranford
44bdf429c5
DBZ-1926 Properly log failed SQL during snapshot failure
2020-04-07 08:36:22 +02:00
Jiri Pechanec
242f50b2f3
DBZ-1932 Snapshot events calculated from table stats
2020-04-06 08:52:30 +02:00
Gunnar Morling
3d58d6cf32
DBZ-1911 Formatting; adding Nayana Hettiarachchi to authors list
2020-03-31 13:37:54 +02:00
Nayana Hettiarachchi
2c6e33ac76
DBZ-1911 - improve error messaging for binlog configuration validation
2020-03-31 13:34:06 +02:00
Gunnar Morling
89bb6eba6c
DBZ-1531 Misc. clean-up;
...
* Removing obsolete default impl
* Completing test
* Documention fixes
2020-03-25 12:33:38 +01:00
rk3rn3r
7f36b3c08f
DBZ-1531 added headers for primary key update events to reference the original key
2020-03-25 12:33:38 +01:00
Gunnar Morling
aaffae2964
DBZ-1531 Typo fix
2020-03-25 12:33:38 +01:00
rk3rn3r
6310e00675
DBZ-1531 added headers for primary key update events to reference the original key
2020-03-25 12:33:38 +01:00
rk3rn3r
fbd8b94e94
DBZ-1531 added headers for primary key update events to reference the original key
2020-03-25 12:33:38 +01:00
Debezium Builder
ab54ce062f
[maven-release-plugin] prepare for next development iteration
2020-03-24 01:23:05 -04:00
Debezium Builder
0b5a9117fb
[maven-release-plugin] prepare release v1.1.0.Final
2020-03-24 01:23:05 -04:00
Debezium Builder
86c1ed90ed
[maven-release-plugin] prepare for next development iteration
2020-03-11 09:54:44 -04:00
Debezium Builder
062c6abbe5
[maven-release-plugin] prepare release v1.1.0.CR1
2020-03-11 09:54:44 -04:00
Gunnar Morling
c156d30048
DBZ-1723 Centralizing stopping() logic in BaseSourceTask
2020-03-11 13:57:23 +01:00
Gunnar Morling
8ce69dc597
DBZ-1723 Encapsulating common poll() and stop() logic in BaseSourceTask
2020-03-11 13:57:23 +01:00
Jiri Pechanec
082761effc
DBZ-1856 Deprecation process is not necessary
2020-03-11 12:02:07 +01:00
Fabio Cantarini
62b46ae596
DBZ-1830 Enhancement to datatype.propagate.source.type connector property
...
Add support for matching db and table name
Amend documentation accordingly
2020-03-10 14:58:16 +01:00
Fabio Cantarini
61cc791d32
DBZ-1830 Add support for new connector property datatype.propagate.source.type
2020-03-10 14:58:16 +01:00
Chris Cranford
01b4137a13
DBZ-1664 Fix metrics test failures
2020-03-09 23:30:24 +01:00
Chris Cranford
5506fadd2d
DBZ-1664 Verify correctness of JMX metrics
2020-03-09 23:30:24 +01:00
Ruslan Gibaiev
4e45347f8e
DBZ-1833 - CREATE TABLE [IF NOT EXISTS] shouldn't update state for existing table
2020-03-03 13:11:03 +01:00
Jiri Pechanec
504648d367
DBZ-1801 Fix typo
...
Co-Authored-By: Gunnar Morling <gunnar.morling@googlemail.com>
2020-03-03 12:14:16 +01:00
Jiri Pechanec
51b9a732b9
DBZ-1801 TinyInt1 to boolean converter
2020-03-03 12:14:16 +01:00
Jiri Pechanec
e4b4aa818a
DBZ-1834 Support for escaping
2020-03-03 10:56:19 +01:00
Jiri Pechanec
0f11f7e6de
DBZ-1834 Support separately quoted schema and table
2020-03-03 10:56:19 +01:00
Jiri Pechanec
c201578d29
DBZ-1834 Support dots in table names
2020-03-03 10:56:19 +01:00
Jiri Pechanec
06e1eca085
DBZ-1134 Support for user provided converters
2020-02-28 21:58:39 +01:00
Jiri Pechanec
1b77cf21b6
DBZ-1826 Avoid default false warning with default value
2020-02-26 16:55:19 +01:00
Gunnar Morling
c7c7183b11
DBZ-1826 Formatting
2020-02-26 15:49:26 +01:00
Jiri Pechanec
06049a5e9d
DBZ-1826 Rename error handling config field
2020-02-26 15:49:26 +01:00
Jiri Pechanec
e3ce802c36
DBZ-1705 Switch new GTID process to earliest
2020-02-25 16:19:22 +01:00
Jiri Pechanec
f0cc055833
DBZ-1773 Change test for null value
2020-02-17 16:40:52 +01:00
Jiri Pechanec
a4d3c1e89a
DBZ-1773 Process TINYINT(1) as number
2020-02-17 16:40:52 +01:00
Debezium Builder
f75746fb7b
[maven-release-plugin] prepare for next development iteration
2020-02-13 03:18:20 -05:00
Debezium Builder
1d2df32743
[maven-release-plugin] prepare release v1.1.0.Beta2
2020-02-13 03:18:20 -05:00
Gunnar Morling
dd5c2b8be9
DBZ-1766 Unifying handling of offset commits
2020-02-12 15:44:45 +01:00
Aykut Farsak
26cdc58efc
Fixing missing whitespace in exception message
2020-02-06 17:23:29 +01:00
Debezium Builder
9c424b2404
[maven-release-plugin] prepare for next development iteration
2020-02-05 08:54:52 -05:00
Debezium Builder
9f2caa3b7c
[maven-release-plugin] prepare release v1.1.0.Beta1
2020-02-05 08:54:52 -05:00
Jiri Pechanec
ba10a229b6
DBZ-1052 CE support for tx metadata in data messages
2020-02-03 09:29:10 +01:00
Jiri Pechanec
60056b0a94
DBZ-1052 Transaction block moved to envelope
2020-02-03 09:29:10 +01:00
Jiri Pechanec
b0eb571f9f
DBZ-1052 Transaction metadata for SQL Server
2020-02-03 09:29:10 +01:00
Debezium Builder
274bba9dc9
[maven-release-plugin] prepare for next development iteration
2020-01-16 05:40:24 -05:00
Debezium Builder
076df30108
[maven-release-plugin] prepare release v1.1.0.Alpha1
2020-01-16 05:40:24 -05:00
Gunnar Morling
8c33a4e147
DBZ-1292 Catering for the differences in data schema;
...
* MongoDB doesn't have "before", but "patch"
* Also removing some redundancies and making RecordParser immutable
* Reducing log verbosity during tests
2020-01-16 08:01:56 +01:00
Gunnar Morling
7c18a6d8d5
DBZ-1292 Removing static state in CloudEventsConverterTest
2020-01-16 08:00:45 +01:00
GraySmog
d0e4b3c0af
DBZ-1292 Delete data.schema.registry.url config option
2020-01-16 08:00:45 +01:00
GraySmog
915c8cafd9
DBZ-1292 CloudEvents converter for JSON and Avro format
2020-01-16 08:00:45 +01:00
Chris Cranford
1ec377224a
DBZ-1712 MySQL connector use default port when database.port option not specified
2020-01-15 21:24:55 +01:00
Jiri Pechanec
88e280d89e
DBZ-1693 Replace other instances of schema with catalog
2020-01-10 22:02:49 +01:00
Jiri Pechanec
6163f46585
DBZ-1693 Use corrent TableId component
2020-01-10 22:02:49 +01:00
Vasily Ulianko
8e342bea84
DBZ-1689 Allow setting boolean as default value for INT
2020-01-02 11:55:22 +01:00
Debezium Builder
9723c93db9
[maven-release-plugin] prepare for next development iteration
2019-12-18 01:44:33 -05:00
Debezium Builder
09049516f2
[maven-release-plugin] prepare release v1.0.0.Final
2019-12-18 01:44:33 -05:00
Gunnar Morling
f5b563ff87
DBZ-1671 Propagating exception instead of message only
2019-12-17 07:25:51 +01:00
John Martin
fc24de8dde
DBZ-1671 add innodb_lock_wait_timeout and update info log
2019-12-17 07:23:29 +01:00
John Martin
3f006f8c0e
DBZ-1671 Adding configurable lock_wait_timeout for mysql connector SnapshotReader
2019-12-17 07:23:29 +01:00
Nikhil Benesch
afd69fc7fc
DBZ-1667 Regression test for MySQL dates in snapshot being off by one
...
In Debezium 0.9, if the timezone of the JVM running Debezium had an
earlier offset than the timezone of the MySQL server, any values of type
DATE read by the snapshot reader would be incorrectly shifted backwards
by one day. This was the result of a known bug/deficiency in MySQL's
JDBC connector [0].
This bug was inadvertently fixed in Debezium 0.10 by #913 , which
bypassed the JDBC date retrieval logic to support zero dates, thus also
avoiding the inappropriate timezone shifting logic. However, since the
fix was inadvertent, there was no test to protect against regression.
This commit adds such a regression test. Since the MySQL server used in
tests uses timezone GMT-11, we just need to run a SnapshotReader in
timezone GMT-12 and verify that the dates are computed correctly. This
test fails if added to Debezium 0.9, but passes now thanks to #913 .
Humorously, it is likely someone would have noticed this bug long ago
had the test MySQL server used any other timezone; for example, if the
MySQL server used EST as its timezone, anyone running the tests from the
International Date Line to Chicago would have seen the failure. Bt with
GMT-11 there is only one timezone with a smaller offset, GMT-12, which
is only used by tiny outlying islands of the US.
[0]: https://bugs.mysql.com/bug.php?id=91112
2019-12-12 12:53:44 +01:00
Debezium Builder
b1c62fe306
[maven-release-plugin] prepare for next development iteration
2019-12-10 06:39:17 -05:00
Debezium Builder
ad2efdb9a6
[maven-release-plugin] prepare release v1.0.0.CR1
2019-12-10 06:39:17 -05:00
Chris Cranford
5e680a1d05
DBZ-1636 Add MySQL ENUM test propagating source type schema parameters
2019-12-10 09:24:34 +01:00
Jiri Pechanec
249e54ac3c
DBZ-1645 Allow alter and rename table in a single step
2019-12-04 17:11:03 +01:00
Jiri Pechanec
e551e89a92
DBZ-1201 Always store SET commands
2019-11-28 17:28:42 +01:00
Brandon Brown
a0f7f6ec6b
DBZ-1402 Support for JDK 11
2019-11-25 11:53:19 +01:00
Gunnar Morling
ded3174d55
DBZ-1632 Exposing connection timeout as Duration in one single method
2019-11-22 14:45:18 +01:00
Collin Van Dyck
b817f2fa38
DBZ-1632 Making connection timeout configurable in MySQL connection URL
...
Without this setting, if someone POSTs a connector config with
an unreachable db hostname, the verify routine of the mySQL
connector will hang indefinitely. Interestingly, this
prevents other connectors from being submitted (a synchronization
issue that this does not address).
With this patch, though, the value for the `connect.timeout.ms`
connector property will be set as the `connectTimeout` URL parameter,
which, if nonzero, will cause the connection to eventually
time out.
2019-11-22 14:44:32 +01:00
Debezium Builder
38279cc2dd
[maven-release-plugin] prepare for next development iteration
2019-11-14 02:56:07 -05:00
Debezium Builder
868faf4412
[maven-release-plugin] prepare release v1.0.0.Beta3
2019-11-14 02:56:07 -05:00
David Feinblum
2b9fbcd5f6
DBZ-1519 Avoid erroneously logging there are no monitored tables
2019-11-14 05:44:37 +01:00
Jiri Pechanec
eb27cc5c54
DBZ-1613 Fix schema snapshotting of unlocked tables
2019-11-13 09:18:10 -05:00
Jiri Pechanec
2b9536f24d
DBZ-1607 use Instant for envelope timestamps
2019-11-12 16:36:11 -05:00
Jiri Pechanec
fd62e7d3ef
DBZ-1588 Fresh timestamp for each snapshot event
2019-11-12 16:36:11 -05:00
Luis Garcés-Erice
0198bceffa
DBZ-1555 Enabling configuration of table parse mode to support DB2
2019-11-08 15:07:25 +01:00
Gunnar Morling
2c569977d7
DBZ-1392 Applying formatter;
...
* Keeping indentation formatting for JSON
Co-authored-by: Gunnar Morling <gunnar.morling@googlemail.com>
Co-authored-by: Chris Cranford <chris@hibernate.org>
2019-11-01 13:20:43 +02:00
Debezium Builder
b08f523ed7
[maven-release-plugin] prepare for next development iteration
2019-10-24 07:42:49 -04:00
Debezium Builder
8ecd9e28cf
[maven-release-plugin] prepare release v1.0.0.Beta2
2019-10-24 07:42:49 -04:00
Jiri Pechanec
776414a4f8
DBZ-1428 Restore TX isolation level after table read lock
2019-10-21 12:23:51 +02:00
Jiri Pechanec
a92b93182e
DBZ-1560 Removed dropped PK from the list
2019-10-20 22:13:02 +02:00
Debezium Builder
519dc011ff
[maven-release-plugin] prepare for next development iteration
2019-10-17 04:20:13 -04:00
Debezium Builder
51ef6b9470
[maven-release-plugin] prepare release v1.0.0.Beta1
2019-10-17 04:20:12 -04:00
Grant Cooksey
f0bd58c8ff
DBZ-1546 Correct fix number test annotation
2019-10-17 10:13:44 +03:00
Grant Cooksey
18ca6ec72e
DBZ-1546 Comma-separated regular expressions remove whitespace.
...
The table whitespace parameter should remove whitespace between regular expressions
since tables cannot start with whitespace characters.
2019-10-17 10:13:44 +03:00
Gunnar Morling
92885ebe99
DBZ-1392 Removing trailing whitespace from Java files
2019-10-07 12:11:43 +03:00
Gunnar Morling
8d6f5409b1
DBZ-1392 Moving static imports up and applying this to all files
2019-10-07 12:11:43 +03:00
Chris Cranford
ca5517746a
DBZ-1341 Checkstyle flag missing whitespace
2019-10-03 19:44:43 +02:00
Chris Cranford
7442670692
DBZ-1355 Fix checkstyle problems detected after upgrade to 8.19
2019-10-03 19:44:43 +02:00
Chris Cranford
5ac2318d84
DBZ-1391 Do not allow code after closing brace ( #1065 )
...
* DBZ-1391 Do not allow code after closing brace
2019-10-02 20:44:40 +02:00
Gunnar Morling
d94b37c693
DBZ-1507 Misc. clean-up;
...
* Removing unused Table methods
* Re-using primaryKeyColumnNames() instead of custom predicate
2019-10-02 10:25:37 +02:00
Debezium Builder
2ff77b993b
[maven-release-plugin] prepare for next development iteration
2019-10-01 15:34:23 -04:00
Debezium Builder
e09d584b11
[maven-release-plugin] prepare release v0.10.0.Final
2019-10-01 15:34:23 -04:00
Debezium Builder
2f5960c5d2
[maven-release-plugin] prepare for next development iteration
2019-09-27 01:03:50 -04:00
Debezium Builder
e3b44ffb12
[maven-release-plugin] prepare release v0.10.0.CR2
2019-09-27 01:03:50 -04:00
Gunnar Morling
2fba51863e
DBZ-1015 Unifying the retrieval of custom key mappers
2019-09-26 10:14:48 +02:00
Guillaume Rosauro
1405889bef
DBZ-1015-allow-user-to-customize-key
2019-09-26 10:14:21 +02:00
Jiri Pechanec
0f61a0c8de
DBZ-1501 Support partial timstamps in default values
2019-09-25 23:49:25 +02:00
Chris Cranford
dc3f07d9d2
DBZ-1500 Fix race condition in mysql connector test suite
2019-09-25 08:02:42 +03:00
jerrinot
3064a4af06
DBZ-1438 Fix InterruptedException handling
...
It appears there is an intent to restore the interruption flag
when catching InterruptedException. However the old code was just
checking the current state of the flag instead of raising it.
2019-09-24 12:51:48 +02:00
Chris Cranford
130210b5ad
DBZ-1044 Add config option sanitize.field.names
and FieldNameSelector
2019-09-20 07:40:23 +03:00
Debezium Builder
9b7e09fdda
[maven-release-plugin] prepare for next development iteration
2019-09-10 09:12:12 -04:00
Debezium Builder
a1c2861458
[maven-release-plugin] prepare release v0.10.0.CR1
2019-09-10 09:12:11 -04:00
Gunnar Morling
2a065686bd
DBZ-1255 Exporting null value when temporal precision mode is "connect" and the value is out of the supported range
2019-08-21 07:50:40 +02:00
Gunnar Morling
a85f975d18
DBZ-1419 Avoiding redundancy in field definition; updating description
2019-08-20 18:43:03 +02:00
Gunnar Morling
cb66fdafdc
DBZ-1419 Avoiding redundancy in field definition
2019-08-20 18:43:03 +02:00
Jiri Pechanec
0e39965c0e
DBZ-1419 Override time precision for MySQL
2019-08-20 18:43:03 +02:00
Jiri Pechanec
51c12d930d
DBZ-1419 Support for Connect temporal types in SQL Server
2019-08-20 18:43:03 +02:00
Debezium Builder
4ae105bdce
[maven-release-plugin] prepare for next development iteration
2019-08-16 03:42:55 -04:00
Debezium Builder
945ccf68cb
[maven-release-plugin] prepare release v0.10.0.Beta4
2019-08-16 03:42:54 -04:00
Jiri Pechanec
af50ea64a4
DBZ-1414 Rename to captured
2019-08-06 10:59:41 +02:00
Jiri Pechanec
6276b4817a
DBZ-1414 Fix test for correct DDL output
2019-08-06 10:59:41 +02:00
Jiri Pechanec
93fc39d92c
DBZ-1414 Lock only monitored tables
2019-08-06 10:59:41 +02:00
Jiri Pechanec
360bcc6f36
DBZ-1411 Support unquted full names in GRANT
2019-07-29 15:49:55 +02:00
Jiri Pechanec
0742e5775f
Revert "[maven-release-plugin] prepare release v0.10.0.Beta4"
...
This reverts commit c7340e5152
.
2019-07-23 14:54:55 +02:00
Jiri Pechanec
f7d20635ce
Revert "[maven-release-plugin] prepare for next development iteration"
...
This reverts commit 22879777e4
.
2019-07-23 14:54:49 +02:00
Jiri Pechanec
22879777e4
[maven-release-plugin] prepare for next development iteration
2019-07-23 14:10:03 +02:00
Jiri Pechanec
c7340e5152
[maven-release-plugin] prepare release v0.10.0.Beta4
2019-07-23 14:10:02 +02:00
Debezium Builder
71333fda98
[maven-release-plugin] prepare for next development iteration
2019-07-23 02:55:08 -04:00
Debezium Builder
20d006fac7
[maven-release-plugin] prepare release v0.10.0.Beta3
2019-07-23 02:55:08 -04:00
Jiri Pechanec
55c267557f
DBZ-1410 Filter DML before throwing an invalid replication format error
2019-07-22 14:19:06 -04:00
Jiri Pechanec
ff87bb1ab7
DBZ-1409 Built-in database filter throws NPE
2019-07-22 14:18:36 -04:00
Jiri Pechanec
d3b33e5fbd
DBZ-1376 Both ALGORTIHM and LOCK are allowed for INDEX
2019-07-17 16:09:21 -04:00
Jiri Pechanec
558d97aa82
DBZ-1398 Support for arbitrary third party engine name
2019-07-17 15:15:11 -04:00
Jiri Pechanec
fbeb0076dc
DBZ-1397 Support CHARSET in CAST function
2019-07-17 14:50:40 -04:00
Jiri Pechanec
c9997a5fd6
DBZ-599 Emit schema change only for DDL with no errors
2019-07-10 08:38:08 +02:00
Jiri Pechanec
67ca8a2d76
DBZ-794 Filter out savepoints from database history
2019-07-08 12:54:01 +02:00
BinLi1988
3b14c13bbb
DBZ-1338 Support for ensuring keepalive by using MySQL heartbeat
2019-07-05 09:10:30 +02:00
Jiri Pechanec
c08a5374fe
DBZ-1222 Improve error event method name
2019-07-04 21:31:32 +02:00
Jiri Pechanec
2b365be63c
DBZ-1222 EventsInError metric added
2019-07-04 21:31:32 +02:00
Jiri Pechanec
13d638fd43
DBZ-1356 Metrics for schema history ( #947 )
...
* DBZ-1356 Metrics for schema history
2019-07-02 13:26:17 +02:00
Gunnar Morling
a991ea97d7
Handling option for emitting tombstones conistently
2019-07-01 08:27:33 +02:00
Jenkins user
e95d656bca
[maven-release-plugin] prepare for next development iteration
2019-06-27 07:36:13 +00:00
Jenkins user
d95fd87311
[maven-release-plugin] prepare release v0.10.0.Beta2
2019-06-27 07:36:12 +00:00
Jiri Pechanec
9c22da610a
DBZ-1353 MySQL 8 returns null for unspecified timestmap column
2019-06-25 12:13:53 +02:00
Jiri Pechanec
6e5f633e40
DBZ-1350 NO_AUTO_CREATE_USER unsupported on MySQL 8
2019-06-24 14:18:31 +02:00
Jiri Pechanec
257f900abb
DBZ-1349 Support for UTF8mb3 charset
2019-06-24 14:03:23 +02:00
Jiri Pechanec
c88e454809
DBZ-1348 Add INTERNAL among allowed ids
2019-06-21 19:27:21 +02:00
Gunnar Morling
d3e399e167
DBZ-1340 Avoiding repeated case conversion of incoming DML statements;
...
Also adding startsWithIgnoreCase() method.
2019-06-20 13:33:12 +02:00
Jiri Pechanec
ace742a43e
DBZ-1340 Guard against binlog misconfiguration
2019-06-20 13:33:12 +02:00
Jiri Pechanec
807da1f9b8
DBZ-1278 Change log message wording
...
Co-Authored-By: Gunnar Morling <gunnar.morling@googlemail.com>
2019-06-19 17:05:26 +02:00
Jiri Pechanec
3012524ea1
DBZ-1278 Rename to non-whitelisted table sends warn
2019-06-19 17:05:26 +02:00
Jiri Pechanec
e2f2c88952
DBZ-1329 Support for rename index
2019-06-17 20:55:04 +02:00
Jenkins user
5fdb0ca81b
[maven-release-plugin] prepare for next development iteration
2019-06-11 11:20:46 +00:00
Jenkins user
61729b9e00
[maven-release-plugin] prepare release v0.10.0.Beta1
2019-06-11 11:20:46 +00:00
Gunnar Morling
5d01f409f0
DBZ-1317 Separating update and query methods for MongoDB's SourceInfo;
...
* Avoids access to collection id after events which don't have one
* Pulling up struct() and schema() methods to common base class
2019-06-11 10:07:36 +02:00
Jiri Pechanec
6a412eb72f
DBZ-1318 Log when conversion happens
2019-06-07 09:44:46 +02:00
Jiri Pechanec
3e94fc2ef8
DBZ-1318 Handle invalid dates in non-strict mode ( #913 )
...
* DBZ-1318 Handle invalid dates in non-strict mode
2019-06-06 11:40:11 +02:00
pancheng
1180736124
DBZ-1321 Add test case
2019-06-06 10:38:56 +02:00
pancheng
bc17bc90d1
DBZ-1321 Fix alter by modify column about default value
2019-06-06 10:38:56 +02:00
Chris Cranford
0aadaa10dc
DBZ-1242 Fixed typo and added negative test checks
2019-06-05 13:31:25 -04:00
Chris Cranford
b3ca33287a
DBZ-1242 Issue warning when filters produce an empty schema
2019-06-05 13:31:25 -04:00
Jenkins user
056730d06a
[maven-release-plugin] prepare for next development iteration
2019-06-03 10:24:08 +00:00
Jenkins user
7aeaec236e
[maven-release-plugin] prepare release v0.10.0.Alpha2
2019-06-03 10:24:08 +00:00
Gunnar Morling
246c1be305
DBZ-1283 Enforcing presence of database.server.name globally
2019-06-03 10:58:14 +02:00
Chris Cranford
5f0b44b4ec
DBZ-1283 Only validate history topic name for affected connectors
2019-06-03 10:58:14 +02:00
Jiri Pechanec
4b64c8e447
DBZ-1295 3state snapshot for MySQL
2019-05-31 10:56:05 +02:00
Jiri Pechanec
37d2b6964f
DBZ-1303 Remove protobuf dependency for MySQL
2019-05-30 14:32:47 +02:00
Jiri Pechanec
946019982e
DBZ-1303 Assembly without database drivers
2019-05-30 14:32:47 +02:00
Bartosz Miedlar
ead68b1b14
DBZ-1300 DDL that contains user
are unparsable by antlr
2019-05-30 11:40:55 +02:00
Gunnar Morling
0c7763c68a
DBZ-871 Simplifying test assertions
2019-05-30 08:51:28 +02:00
Jiri Pechanec
4209900731
DBZ-871 Test for multitable statement
2019-05-30 08:51:28 +02:00
Gunnar Morling
ca361bd122
DBZ-871 Clearly separating between DB and table events
2019-05-30 08:51:28 +02:00
Jiri Pechanec
e826599e2e
DBZ-871 Add table(s) name to schema change event
2019-05-30 08:51:27 +02:00
Gunnar Morling
7759333fe3
DBZ-1092 Using ColumnNameFilter instead of Predicate<Column>
2019-05-29 15:49:49 +02:00
Jenkins user
ac5c76e431
[maven-release-plugin] prepare for next development iteration
2019-05-28 14:38:32 +00:00
Jenkins user
35f59ba460
[maven-release-plugin] prepare release v0.10.0.Alpha1
2019-05-28 14:38:32 +00:00
Jiri Pechanec
ab460c86af
DBZ-1235 Return server name to legacy MySQL
2019-05-28 09:35:15 +02:00
Gunnar Morling
3377b96ca8
DBZ-1235 Removing redundant method
2019-05-28 09:35:15 +02:00
Jiri Pechanec
526e780513
DBZ-1235 Misc fixes
2019-05-28 09:35:15 +02:00
Jiri Pechanec
80afd4975a
DBZ-1235 Changes missed in refactoring
2019-05-28 09:35:15 +02:00
Gunnar Morling
eef37cb567
DBZ-1235 Misc adjustments;
...
* Removing superfluous parameter from getSourceInfoStructMaker()
* JavaDoc
* Renaming field to "source.struct.version"
2019-05-28 09:35:15 +02:00
Gunnar Morling
8f28f323e7
DBZ-1235 Using Instant to represent timestamps internally;
...
Only "rendered" as epoch milli-seconds at the system boundaries.
2019-05-28 09:35:15 +02:00
Jiri Pechanec
6f6c8ddf06
DBZ-1235 Refactored to unify the code
2019-05-28 09:35:15 +02:00
Jiri Pechanec
0ec2d651fe
DBZ-1235 Timestamp in ms for MySQL connector
2019-05-28 09:35:15 +02:00
Jiri Pechanec
f5757dbd9f
DBZ-1235 Extract serverName to common source
2019-05-28 09:35:15 +02:00
Gunnar Morling
4ed8b4636c
DBZ-1224 Completing implementation;
...
* Further unification of override handling;
* Undoing change related to SnapshotStatementFactory as it seems not needed
* Adding test
2019-05-27 08:44:42 +02:00
mokkara
b3de0250a9
DBZ-1224 Snapshot SELECT support for SQL Server
2019-05-27 08:44:42 +02:00
Chris Cranford
377728ef87
DBZ-1127 Synchronize MySQL grammar with upstream grammar.
2019-05-22 17:05:11 +02:00
Chris Cranford
778b394085
DBZ-1127 Synchronize MySQL grammar with upstream grammar.
2019-05-22 17:05:11 +02:00
Jiri Pechanec
c1c4d3d149
DBZ-683 After review changes
2019-05-22 14:52:06 +02:00
Jiri Pechanec
540196091c
DBZ-683 Snapshot supports storing only whitelisted tables setting
2019-05-22 14:52:06 +02:00
Chris Cranford
1603ebda89
DBZ-1234 Remove support for adaptive time precision mode
2019-05-22 10:19:05 +02:00
Chris Cranford
e2c74111ad
DBZ-1234 Removed deprecated configuration options
2019-05-22 10:19:05 +02:00
Gunnar Morling
7519623c58
DBZ-1244 Fixing formatting glitch
2019-05-21 15:53:55 +02:00
Jiri Pechanec
c8c6360095
DBZ-1244 Detecting unreplicated purged GTIDs;
...
The purpose of this change is to provide the same functionality for
when_needed snapshot for GTID enabled database like for non-GTID.
The non-GTID just relies on missing replication log to detect the
new snapshot needs to be triggered. This does not work in GTID
environment as we need to compare the GTIDs that are available on
the server with those we have already processed - stored in the
offsets.
If there is a set of GTIDs that were not replicated by Debezium
and at the same time have been already purged then we detect the
situation and trigger a new snapshot when required.
We thus
* Take all GTIDs ever processed by the server
* Filter out GTIDs that were processed by Debezium
* Compare them with purged GTID set
* If the interesction is not empty we know we have not replicated
transaction that have already been removed from the server
2019-05-21 15:51:17 +02:00
Jiri Pechanec
29c10c27ea
DBZ-1276 Skip events upon connector restart
2019-05-21 10:38:41 +02:00
Chris Cranford
9afe06945e
DBZ-736 Fixed compilation problem with duplicate test class.
2019-05-20 13:38:01 -04:00
Gunnar Morling
d35e401e34
DBZ-736 Removing obsolete MySqlDefaultValueTest;
...
* Removing old test for legacy parser
* Pulling Antlr-specific methods up to base class
* Renaming that one into MySqlDefaultValueTest
2019-05-20 13:38:01 -04:00
Gunnar Morling
3f0e2c7758
DBZ-1246 Removing obsolete exclusion of legacy parser during test
2019-05-20 16:38:03 +02:00
Jiri Pechanec
30c2df4f23
DBZ-1246 Convert unique index to primary key
2019-05-20 16:38:03 +02:00
Gunnar Morling
c72a2fb14d
DBZ-844 Expanding test
2019-05-20 15:33:39 +02:00
Jiri Pechanec
d35c2ec347
DBZ-844 Use table charset for parsing string defaults
2019-05-20 15:33:39 +02:00
jcechace
d9657dab1a
[DBZ-1273] Bumping JDBC and Mongo driver versions
2019-05-18 05:50:27 +02:00
Gunnar Morling
c7d2a35a0e
DBZ-1264 Member ordering
2019-05-18 05:48:54 +02:00
Jiri Pechanec
a8f6533c66
DBZ-1264 Ignore unique index for non-monitored tables
2019-05-18 05:46:56 +02:00
Chris Cranford
f67ce1b8be
DBZ-733 Consolidate parser tests
2019-05-17 13:18:24 -04:00
Chris Cranford
efa22016a8
DBZ-736 DBZ-733 Removed MySQL legacy parser and consolidate parser tests
2019-05-17 13:18:24 -04:00
Chris Cranford
373e508d70
DBZ-736 Remove MySQL legacy parser
2019-05-17 13:18:24 -04:00
Jiri Pechanec
13e5fe4537
DBZ-1228 Simplify error handling
2019-05-17 10:24:02 -04:00
Arkoprabho Chakraborti
ceb56c1c57
DBZ-1228 Changes as suggested in PR #867
...
Used multiple catch statements and handle in 1 branch.
Not using static modifier for keymanager.
2019-05-17 10:24:02 -04:00
Arkoprabho Chakraborti
b7526d537d
DBZ-1228 MySQL connection with client authentication does not work
...
The SSL properties were being reset, and thus the authentication was failing on the second time.
When debezium connects to the database the first time in order to test the connections, the required parameters are all set. And thus the test passes.
After that the shutdown method is called that clears these properties, and the consecutive connection fails.
DBZ-1228: MySQL connection with client authentication does not work
Create and pass a socket factory that provides they keystore config
DBZ-1228: MySQL connection with client authentication does not work
Prevent forcing of SSL. Use SSL only if the required properties are set.
DBZ-1228: MySQL connection with client authentication does not work
Added better exception messages
2019-05-17 10:24:02 -04:00
Jenkins user
7748be6056
[maven-release-plugin] prepare for next development iteration
2019-05-02 16:04:56 +00:00
Jenkins user
5af083b86e
[maven-release-plugin] prepare release v0.9.5.Final
2019-05-02 16:04:55 +00:00
Chris Cranford
9404eff794
DBZ-1226 Cleaned up tests
2019-05-01 18:37:09 -04:00
Gunnar Morling
2cd0eb17db
DBZ-739 Removing obsolete method
2019-05-01 23:17:00 +02:00
Chris Cranford
46111505ed
DBZ-1226 Fix test to validate enum/set options directly from antlr parsing.
2019-05-01 21:17:42 +02:00
Chris Cranford
a5fdfd9b24
DBZ-1226 Replace double single-quotes with a singular quote.
2019-05-01 21:17:42 +02:00
Chris Cranford
c6aa02f813
DBZ-1226 Add support for enum/set values that contain commas or escaped characters.
2019-05-01 21:17:42 +02:00
jchipmunk
72b06366fe
Removing extra initialisation of "config" variable in PG config
2019-04-30 09:57:11 +02:00
jchipmunk
9fe033ce24
DBZ-1247 Specifying default snapshot fetch size for each connector config
2019-04-30 09:57:11 +02:00
Chris Cranford
83bf0f861a
DBZ-1243 Fix handling of default value for datetime(0)
2019-04-25 17:31:22 +02:00
Jiri Pechanec
79afafcb0d
DBZ-1249 Fix default value conversion for larger bits
2019-04-23 13:02:31 +02:00
krizhan
70c564b4c2
DBZ-212 Moved SERVER_NAME to RelationalDatabaseConnectorConfig
2019-04-23 12:29:44 +02:00
Gunnar Morling
5339dfc289
DBZ-1233 Formatting
2019-04-23 12:18:53 +02:00
Mathieu Rozieres
df79dfe751
DBZ-1233 MODE and others as MySQL column names
...
Add MODE to keywordsCanBeId to fix parse exception on so named columns
2019-04-23 12:18:40 +02:00
Jenkins user
cefc5ccfb9
[maven-release-plugin] prepare for next development iteration
2019-04-11 12:07:16 +00:00
Jenkins user
fc3026adc3
[maven-release-plugin] prepare release v0.9.4.Final
2019-04-11 12:07:15 +00:00
Gunnar Morling
f04147d67d
DBZ-1208 Misc. clean-up;
...
* Adding reference to source of logic for setting up SSL socket factory
* Making method side-effect free
* Adding Jordon to COPYRIGHT.txt
2019-04-10 11:41:51 +02:00
jbragg
9ae2ebe329
DBZ-1208 Support for TLSv1.2;
...
Using accepted TLS protocol version to set for BinaryLogClient
2019-04-10 11:41:13 +02:00
Jiri Pechanec
50fbe32113
DBZ-1220 Integration test for schema metadata
2019-04-10 11:20:09 +02:00
Jiri Pechanec
394eb74d0f
DBZ-1220 FLOAT supports also single precision constraint
2019-04-10 11:20:09 +02:00
Jiri Pechanec
de9e80a58d
DBZ-1143 Describe test values; improve tests
2019-04-10 10:59:02 +02:00
Jiri Pechanec
9c7f181174
DBZ-1143 Year adjustment configurable; test 19xx years
2019-04-10 10:59:02 +02:00
Jiri Pechanec
155e63adab
DBZ-1143 Change default to Debezium-made conversion
2019-04-10 10:59:02 +02:00
Jiri Pechanec
16e731b748
DBZ-1143 2-digit years are converted by database by default
2019-04-10 10:59:02 +02:00
Steviep
7742e66e11
DBZ-1221 Creating new metric IsGtidModeEnabled
2019-04-09 14:52:18 +02:00
Steviep
94f71ea96e
DBZ-1206 Adding new connector metric "numberOfFilteredEvents"
2019-04-09 14:46:54 +02:00
Chris Cranford
664c617661
DBZ-1203 Replace collectionOption rule with STRING_LITERAL token.
2019-04-08 11:16:42 +02:00
Chris Cranford
38e1cc56bb
DBZ-1203 Fix parsing alter column with enum and character set
2019-04-08 11:16:42 +02:00
Joy Gao
08271ab444
DBZ-1218 Close JDBC connection in SnapshotReader for MySQL Connector
2019-04-08 08:47:43 +02:00
jchipmunk
7c0ae3ee20
DBZ-1212 SLF4J usage issues
2019-04-04 21:32:12 +02:00
Jiri Pechanec
b90274cc63
DBZ-1194 Convert nulls even for key
2019-03-29 21:20:53 +01:00
Jiri Pechanec
e6b956b36d
DBZ-1204 Allow setting boolean as default value for TINYINT
2019-03-29 09:41:44 +01:00
ShubhamRwt
540a951211
DBZ- 362 Adding WhitespaceAfter check to Checkstyle
2019-03-28 09:24:11 +01:00
Jenkins user
8b0edd1871
[maven-release-plugin] prepare for next development iteration
2019-03-25 12:16:31 +00:00
Jenkins user
56f98a48b2
[maven-release-plugin] prepare release v0.9.3.Final
2019-03-25 12:16:30 +00:00
Jiri Pechanec
9b405aa84d
DBZ-1039 Add missing spaces
2019-03-25 10:23:14 +01:00
shubham
8cca21e969
DBZ-1039 Make all ifs with braces
2019-03-25 10:23:14 +01:00
Jiri Pechanec
13f49f02a9
DBZ-1185 Use Boolean instead of Optional
2019-03-21 14:02:23 +01:00
Jiri Pechanec
958d207121
DBZ-1185 Skip unsupported tests for legacy parser
2019-03-21 14:02:23 +01:00
Jiri Pechanec
601f2008ac
DBZ-1185 SERIAL is valid table/column id
2019-03-21 14:02:23 +01:00
Jiri Pechanec
76e7cd6664
DBZ-1185 Support for SERIAL default value
2019-03-21 14:02:23 +01:00
Jiri Pechanec
4d4741a207
DBZ-1185 Support for SERIAL type alias
2019-03-21 14:02:23 +01:00
Jiri Pechanec
915bdc9b7f
DBZ-1186 Comma is not mandatory between table options
2019-03-21 11:22:07 +01:00
Jiri Pechanec
f3c0c94b40
DBZ-1188 Use string testing utility method
2019-03-21 10:38:32 +01:00
Jiri Pechanec
2df2a62ddf
DBZ-1188 False pasitive warning for non-empty password
2019-03-21 10:32:06 +01:00
Jiri Pechanec
c740400587
DBZ-1184 Run the test as the last in testsuite
2019-03-18 12:12:12 +01:00
Jiri Pechanec
08bc66f8ef
DBZ-1184 Simplify the test
2019-03-18 12:12:12 +01:00
Jiri Pechanec
a892a4eb6f
DBZ-1184 Add test
2019-03-18 12:12:12 +01:00
Jiri Pechanec
41734d322e
DBZ-1184 Support long purged GTID set
2019-03-18 12:12:12 +01:00
Jenkins user
50a7c568fa
[maven-release-plugin] prepare for next development iteration
2019-02-23 09:53:58 +00:00
Jenkins user
28f3839804
[maven-release-plugin] prepare release v0.9.2.Final
2019-02-23 09:53:58 +00:00
Jiri Pechanec
c7e0ff231b
DBZ-1156 DBZ-1157 Upgrade to Kafka 2.1.1, Confluent Plat. 5.1.2
2019-02-21 09:39:05 +01:00
Gunnar Morling
510e9415f9
DBZ-1137 Some clean-up;
...
* Using existing justifyLeft() method
* Giving expected values as Duration
* Removing unused methods
2019-02-19 18:41:09 +01:00
Jiri Pechanec
0d60e60243
DBZ-1137 Default for TIME can be generic interval value
2019-02-19 13:40:01 +01:00
Jiri Pechanec
46aad6bcf5
DBZ-1147 Single quotes for string constant
2019-02-18 14:41:03 +01:00
Jiri Pechanec
14c1f30ca3
DBZ-1150 CHECK TABLE options are valid identifiers
2019-02-18 14:38:36 +01:00
Jenkins user
b96e5fee0d
[maven-release-plugin] prepare for next development iteration
2019-02-13 11:13:44 +00:00
Jenkins user
3de2d04bcd
[maven-release-plugin] prepare release v0.9.1.Final
2019-02-13 11:13:44 +00:00
Gunnar Morling
6a871e1b65
DBZ-983 Expanding test
2019-02-07 15:04:43 +01:00
Jiri Pechanec
eff78cae5a
DBZ-983 Handle rounding of defaults
2019-02-07 15:04:43 +01:00
Jiri Pechanec
3487cf1bfb
DBZ-983 BigDecimal default value scales according to column
2019-02-07 15:04:43 +01:00
Jiri Pechanec
6637f68861
DBZ-1123 Integration test for generated defaults
2019-02-07 14:06:49 +01:00
Jiri Pechanec
f65cbb7b7d
DBZ-1123 Support generated colums
2019-02-07 14:06:49 +01:00
Gunnar Morling
99caad60d8
DBZ-1040 Changing resolution of "lag behind source" to milli-seconds;
...
Also using Duration/Instant types internally.
2019-02-04 12:39:07 +01:00
Gunnar Morling
913e0bc5c8
DBZ-1040 Making metadata provider a member of Metrics instead of passing it for each onEvent() call
2019-02-04 12:39:07 +01:00
Jiri Pechanec
a621e43d8b
DBZ-1040 Expose transaction id
2019-02-04 12:39:07 +01:00
Jiri Pechanec
213d4a42ca
DBZ-1040 Metrics for internal queue
2019-02-04 12:39:07 +01:00
Jiri Pechanec
d993ee265e
DBZ-1040 Metrics for lag behind source, offset and tx count
2019-02-04 12:39:07 +01:00
jchipmunk
ff4e38cc46
DBZ-1112 Strings.join() doesn't apply conversation for first element
...
Replace:
- Integer.parseInt() to Integer.valueOf()
- Short.parseShort() and new Short() to Short.valueOf()
- Long.parseLong() to Long.valueOf()
2019-01-30 09:36:09 +01:00
Gunnar Morling
dd01d26d16
DBZ-1113 Pulling up test to MySqlDdlParserTest;
...
* Adding Joy Gao to COPYRIGHT.txt
* Typo fix
2019-01-30 09:22:05 +01:00
Joy Gao
030cf9ac14
DBZ-1113 allow adding multiple partitions in a single statement
2019-01-30 09:22:05 +01:00
Jenkins user
c5b7d21d3e
[maven-release-plugin] prepare for next development iteration
2019-01-28 11:07:04 +00:00
Jenkins user
f1ae79ff73
[maven-release-plugin] prepare release v0.9.0.CR1
2019-01-28 11:07:04 +00:00
Gunnar Morling
ccff79e07d
DBZ-1105 Removing TableImpl#columnNames field
2019-01-28 10:23:56 +01:00
Gunnar Morling
c9c84afc9d
DBZ-1099 Don't enque further records after request to stop
2019-01-25 10:19:19 +01:00
Gunnar Morling
95a13b5dd7
DBZ-1062 Fix MySQL trustStore password setting
2019-01-24 17:38:42 +01:00
Moira Tagle
01c779fb62
DBZ-175 Setting completed GTIDs in the final binlog reader context in setupUnifiedReader()
2019-01-24 10:43:44 +01:00
Moira Tagle
0e10c4af48
DBZ-175 Modifying BinlogReaderMetrics to take in the BinlogReader name
2019-01-24 10:43:44 +01:00
Gunnar Morling
884f2f40ea
DBZ-175 Adding toString() for readers
2019-01-24 10:43:44 +01:00
Gunnar Morling
206cd06c24
DBZ-175 Using passed filters instead of rebuilding them in MySqlSchema
2019-01-24 10:43:44 +01:00
Gunnar Morling
ed4787bc8a
DBZ-175 Misc. clean-up;
...
* Removing unused code (constructor, method and return value)
* Making ParallelSnapshotReader logger static
* Making RecordMakers#restartOffset final; avoiding unchecked cast
2019-01-24 10:43:44 +01:00
Gunnar Morling
965b789dab
DBZ-175 Misc. adjustments;
...
* Dedicated functional interface for halting predicates
* Using semantic temporal types
* Typo fixes
* Exposing SnapshotNewTables through connector config
* Static loggers
* Adding Moira to COPYRIGHT.txt
2019-01-24 10:43:44 +01:00
Moira Tagle
a6d791cd8c
DBZ-175 Initial implementation for support to whitelist/blacklist changes;
...
* The filter config is stored in offsets now, allowing to detect changes
to the config after a connector restart
* In that case, roughly the following steps are done:
- set up a binlog reader for the "old" tables
- set up a snapshot reader for the "new" tables
- if the snapshot is done, set up a binlog reader for the new tables
- if both binlog readers are in proximity of the logs head, stop them
and set up a single binlog reader for all tables
* That behavior is disabled by default for the purposes of testing and
can be enabled via new connector option "snapshot.new.tables"
* To facilitate connector restarts while whitelist/blacklist changes are
processed, separate restart offsets are added to the offsets
2019-01-24 10:43:44 +01:00
Jiri Pechanec
a638d5599b
DBZ-1064 Use geometry instead of point for empty
2019-01-16 13:01:36 +01:00
Jiri Pechanec
ceb6c62721
DBZ-1064 Remove lazy fallback values
2019-01-16 13:01:36 +01:00
Jiri Pechanec
536e517c08
DBZ-1064 Geometry default value changes; fixes for default suppliers
2019-01-16 13:01:36 +01:00
Jiri Pechanec
bff7eea734
DBZ-1064 Use convert value template
2019-01-16 13:01:36 +01:00
Jiri Pechanec
920e0cbd3f
DBZ-1064 Set default value only for non-nullable fields
2019-01-16 13:01:36 +01:00
Amit Sela
b0b7d942a3
DBZ-1073 Adding scale as schema parameter, if present
2019-01-11 15:40:30 +01:00
Grzegorz Kołakowski
91c72738c0
DBZ-1067 Add column blacklist field to RelationalDatabaseConnectorConfig
2019-01-09 18:13:26 +01:00
Gagan Agrawal
aff45c7dc6
DBZ-1063 Fixed schema parsing bug for handling unsigned max default value
2019-01-09 17:50:18 +01:00
Jiri Pechanec
03570a1a3a
DBZ-1059 Support qualified table name in rename
2019-01-04 12:57:55 +01:00
Jenkins user
5275f73424
[maven-release-plugin] prepare for next development iteration
2018-12-19 13:06:12 +00:00
Jenkins user
b6569c18ae
[maven-release-plugin] prepare release v0.9.0.Beta2
2018-12-19 13:06:12 +00:00
Jiri Pechanec
9fcc25e4c5
DBZ-688 Uncommitted TX with temp tables are not stored in binlog in MySQL 8
2018-12-18 15:42:15 +01:00
LiuHanlin
c58031582d
DBZ-1033 Mysql binlog reader lost data if restart task when last binlog event is QUERY event.
...
https://issues.jboss.org/browse/DBZ-1033
Reset restartEventsToSkip each time updating the restartBinlogPosition.
2018-12-17 13:42:01 +01:00
Gunnar Morling
1258beae55
DBZ-688 Moving differences related solely to geo-spatial test into the test class itself
2018-12-14 10:39:05 +01:00
Jiri Pechanec
c8f09f110b
DBZ-688 Centralize MySQL differences in a single file
2018-12-14 10:39:05 +01:00
Jiri Pechanec
3c1da7d5d4
DBZ-688 Robust identification of geom collection type
2018-12-14 10:39:05 +01:00
Jiri Pechanec
12083452a5
DBZ-688 CURRNT_TIMESTAMP handled differently by MySQL 8
2018-12-14 10:39:05 +01:00
Jiri Pechanec
994f1b6e03
DBZ-688 Update geometry handling
2018-12-14 10:39:05 +01:00
Jiri Pechanec
8b83df82b5
DBZ-688 Ignore differences in generated metadata
2018-12-14 10:39:05 +01:00
Jiri Pechanec
974731b0ae
DBZ-688 Support for test execution on MySQL 8 server
2018-12-14 10:39:05 +01:00
Jiri Pechanec
edec1c3090
DBZ-978 Added last event and captured tables metrics
2018-12-13 20:52:11 +01:00
Grzegorz Kołakowski
2a1934eeb1
DBZ-966 Make snapshot.delay.ms global property
2018-12-13 14:29:54 +01:00
Gunnar Morling
0075bbb17e
DBZ-1028, DBZ-992 Expanding test
2018-12-12 23:05:29 +01:00
Jiri Pechanec
946d5c113d
DBZ-1028 Literal "CSV" is not a special token
2018-12-12 23:05:07 +01:00
Jiri Pechanec
f3a87a039f
DBZ-1008 Process first GTID after failover
2018-12-12 16:52:53 +01:00
Jiri Pechanec
edb116677d
DBZ-960 Handle TX closing safely
2018-12-11 14:15:53 +01:00
Jiri Pechanec
2b2ff0754d
DBZ-960 Run SnapshotReader in a single transaction
2018-12-11 14:15:53 +01:00
Gunnar Morling
68b6bc2efe
DBZ-977 Adding log statement
2018-12-11 14:12:23 +01:00
Jiri Pechanec
6a88309f0e
DBZ-977 ALTER TABLE filters works even for stored DDL
2018-12-11 14:12:23 +01:00
Jiri Pechanec
c5ecff4be6
DBZ-1005 Detect GTID by database setting not GTID set
2018-11-30 11:58:07 +01:00
Jiri Pechanec
415830003a
DBZ-1016 Fix expected records count
2018-11-30 11:18:47 +01:00
Jiri Pechanec
2c3d2ee083
DBZ-1010 Handle error deserialization also in deserializers
2018-11-30 11:09:30 +01:00
Jiri Pechanec
9c81e54b9d
DBZ-1006 Guard against NPE when start() fails
2018-11-23 16:13:50 +01:00
Gunnar Morling
62fe7d1ee7
DBZ-604 Making sure connector cleanly shuts down also if records are produced after polling loop has stopped
2018-11-23 14:36:05 +01:00
Gunnar Morling
2fd16a6bc0
DBZ-923 Misc. clean-up;
...
* Exposing new option via MySqlConnectorConfig
* Formatting
* Using GtidSet type in signatures
* Adding new option to configDef() and ALL_FIELDS
2018-11-22 10:54:10 +01:00
Eero Koplimets
972c08fcda
fix checkstyle errors
2018-11-22 09:50:46 +01:00
Eero Koplimets
3e1eaef318
fix GTID_NEW_CHANNEL_POSITION description
2018-11-22 09:50:46 +01:00
Eero Koplimets
268101acd5
Change config from boolean to enum
2018-11-22 09:50:46 +01:00
Eero Koplimets
8844442459
DBZ-923 config to use earliest available gtid set from mysql server when connecting
2018-11-22 09:50:46 +01:00
Jenkins user
db1d3a7fb8
[maven-release-plugin] prepare for next development iteration
2018-11-20 16:15:14 +00:00
Jenkins user
f83db82cea
[maven-release-plugin] prepare release v0.9.0.Beta1
2018-11-20 16:15:14 +00:00
Jiri Pechanec
b7e7bfa218
DBZ-990 Engine names can be quoted
2018-11-19 14:30:21 +01:00
Jiri Pechanec
530e2190a8
DBZ-757 Use antlr parser by default
2018-11-16 14:17:47 +01:00
Gunnar Morling
6bd4024618
DBZ-776 Misc. improvements;
...
* Renaming getTimeSinceLastEvent() to getMilliSecondsSinceLastEvent()
* Further unifying metrics implementation across connectors
* Emitting event in EventDispatcher also if event is filtered out
* Typo fixes
2018-11-16 08:52:07 +01:00
Gunnar Morling
818d5e4696
DBZ-776 Misc. clean-up
2018-11-16 08:52:07 +01:00
Jiri Pechanec
4510e2bbe6
DBZ-776 Cleanup after review
2018-11-16 08:52:07 +01:00
Gunnar Morling
360714a5a1
DBZ-776 Formatting and minor clean-up
2018-11-16 08:52:07 +01:00
Jiri Pechanec
b44c9fd04f
DBZ-776 A first set of metrics implemented in new framework
2018-11-16 08:52:07 +01:00
Jiri Pechanec
4cdc3e669b
DBZ-776 Extract metrics to a common code
2018-11-16 08:52:07 +01:00
Gunnar Morling
9994172860
DBZ-953 Pulling decimal mode handling up to RelationalDatabaseConnectorConfig;
...
Also using it in MySQL connector.
2018-11-08 09:23:28 +01:00
Jiri Pechanec
a5ff561deb
DBZ-959 ADD PARTITION needs parenthesis
2018-11-02 07:14:42 +01:00
s0r01ed
fdab3386d4
DBZ-780 | Adding RENAME column semantics to rename a column
2018-10-24 20:20:04 +02:00
Deepak Barr
bc0712e240
DBZ-935 Error while parsing json column type for MySQL
2018-10-11 11:40:18 +02:00
Jenkins user
d952f5dfb0
[maven-release-plugin] prepare for next development iteration
2018-10-04 11:59:14 +00:00
Jenkins user
ff9b70278b
[maven-release-plugin] prepare release v0.9.0.Alpha2
2018-10-04 11:59:13 +00:00
Deepak Barr
4aaed1fd2b
DBZ-927 Gracefully handling invalid default values for timestamp fields
2018-10-04 10:30:56 +02:00
jchipmunk
3ec0b3be81
DBZ-918 Moving connector identifier from SourceInfo to Module class
2018-10-04 09:00:13 +02:00
jchipmunk
05ba99bb0a
DBZ-918 Adding Debezium connector field to source info
...
This will allow consumers to recognize the Debezium connector used for creating a given message, helping them to adjust their behavior for a variety of connectors.
2018-10-04 09:00:13 +02:00
Jiri Pechanec
3b51818864
DBZ-910 Verify also anonymous CONSTRAINT CHECK
2018-09-18 15:51:46 +02:00
Jiri Pechanec
3c5a67856b
DBZ-910 Improve support for CHECK constraint
2018-09-18 15:51:46 +02:00
Jiri Pechanec
6fe48b7764
DBZ-769 Try to release table locks during exception
2018-09-18 10:49:48 +02:00
jchipmunk
b0feaf496a
DBZ-633 Adding "field.blacklist" property for MongoDB connector
...
The "field.blacklist" configuration property is an optional comma-separated list of the fully-qualified names of fields that should be excluded from change event message values. Fully-qualified names for fields are of the form "databaseName.collectionName.fieldName.nestedFieldName", where "databaseName" and "collectionName" may contain the wildcard (*) which matches any characters.
Although the "field.blacklist" configuration property allows you to remove fields from the event values, the "_id" field is always included in the event’s key.
2018-09-14 12:54:11 +02:00
Jiri Pechanec
e6b28eeea4
DBZ-903 Support function named DATABASE()
2018-09-13 16:17:50 +02:00
Jiri Pechanec
8dd8327826
DBZ-901 Handle default date/time values without micros
2018-09-13 15:47:00 +02:00
Gunnar Morling
e1bbbd7992
DBZ-865 DBZ-878 Replacing invalid topic name characters with "_";
2018-09-05 12:56:53 +02:00
Cliff Wheadon
685f72f988
DBZ-880 MySQLConnectorTask no longer always reports finding the binlog
2018-08-28 08:56:52 +02:00
Jiri Pechanec
ce0b3cc940
DBZ-872 Use converters in parser tests
2018-08-24 08:12:54 +02:00
Jiri Pechanec
2cbc35dac7
DBZ-877 Process newly added columns
2018-08-24 08:12:54 +02:00
Gunnar Morling
985999b4af
DBZ-872 Making MySqlAntlrDdlParser#tableFilter final
2018-08-24 08:12:54 +02:00
Jiri Pechanec
63ee65bb7d
DBZ-872 Honor filters in ALTER TABLE parsing
2018-08-24 08:12:54 +02:00
Jiri Pechanec
29af79057b
DBZ-859 Test for MySQL heartbeat
2018-08-23 11:44:53 +02:00
Jiri Pechanec
985e03e7b5
DBZ-859 Force heartbeat after snapshot completion
2018-08-23 11:44:53 +02:00
Rao
49214491a7
DBZ-763 Correcting the JDBC driver class
2018-08-23 11:31:37 +02:00
Gunnar Morling
414ebe5f13
DBZ-870 Adding test
2018-08-23 11:19:27 +02:00
Jiri Pechanec
99ab131910
DBZ-870 Accept zero as valid date/time value
2018-08-23 11:19:27 +02:00
Jiri Pechanec
26b82c88bd
DBZ-860 DBZ-869 Enable default value tests for antlr parser
2018-08-23 11:19:27 +02:00
Jiri Pechanec
e9f9e4eb8f
DBZ-860 Fix for primary keys with default value
2018-08-23 11:19:27 +02:00
Jiri Pechanec
7e0639f733
DBZ-864 Add support for CHARSET database option
2018-08-22 13:31:34 +02:00
Gunnar Morling
207f1896ab
DBZ-763 Cleaning up tests
2018-08-22 11:54:55 +02:00
Rao
d13ea932f7
DBZ-763 Upgrading Mysql driver to version 8.0.12
2018-08-22 11:54:55 +02:00
Gunnar Morling
3862083756
DBZ-860 Expanding test
2018-08-20 19:01:55 +02:00
Jiri Pechanec
c2f014750e
DBZ-860 Handle implicitly NOT NULL PKs
2018-08-20 19:01:32 +02:00
PengLv
3d978d717b
fix gitd bug
...
method isGtidModeEnabled when to check gtid mode ,it'll always be true
2018-08-14 09:46:16 +02:00
artiship
bb4ecc79e0
DBZ-849 Refact read mysql system variables methods
2018-08-14 09:43:49 +02:00
artiship
cdb6d7301c
DBZ-855 Make BinlogReader.informAboutUnknownTableIfRequired log with tableId
2018-08-14 08:41:30 +02:00
Jenkins user
e00dad127f
[maven-release-plugin] prepare for next development iteration
2018-07-26 08:00:12 +00:00
Jenkins user
16bfd5c700
[maven-release-plugin] prepare release v0.9.0.Alpha1
2018-07-26 08:00:12 +00:00
Gunnar Morling
3061c1dc0b
DBZ-815 Passing offset to Heartbeat#heartbeat();
...
That's simpler to grasp than the approach of passing a supplier lambda to the constructor.
Also it allows to pass on the offset via local variables instead of instance fields in some cases.
2018-07-25 14:49:52 +02:00
Jiri Pechanec
0e35439019
DBZ-40 Snapshotting and connector restart
2018-07-18 14:39:11 +02:00
Gunnar Morling
20db9299c5
DBZ-627 Unifying TopicSelector implementations
2018-07-18 12:36:07 +02:00
Gunnar Morling
1523f230ca
DBZ-793 Using TableFilter consistently;
...
Only the MySQL connector's Filters class still uses Predicate for the time being, so to avoid to much merging trouble with DBZ-175.
2018-07-11 13:16:44 +02:00
Jenkins user
f9b8d830a8
[maven-release-plugin] prepare for next development iteration
2018-07-11 07:36:30 +00:00
Jenkins user
290ded678f
[maven-release-plugin] prepare release v0.8.0.Final
2018-07-11 07:36:29 +00:00
Peter Goransson
448330fd07
DBZ-789 Expose more granular snapshot metrics via JMX
2018-07-09 12:30:41 +02:00
Jenkins user
033db6659d
[maven-release-plugin] prepare for next development iteration
2018-07-04 07:07:44 +00:00
Jenkins user
696f35f2c0
[maven-release-plugin] prepare release v0.8.0.CR1
2018-07-04 07:07:44 +00:00
Jiri Pechanec
d4c9d24b22
DBZ-779 Detect mongo replicator init completion
2018-07-03 12:24:06 +02:00
Gunnar Morling
9d52614b79
DBZ-771 Adding test for changing column type and default value
2018-07-03 11:55:20 +02:00
Gunnar Morling
99048365c9
DBZ-771 Unsetting default value when changing a column's type
2018-07-03 11:55:20 +02:00
Gunnar Morling
dcd6b01134
DBZ-644 Simplifying RelationalDatabaseSchema constructor;
...
Also retrieving logical name via CommonConnectorConfig#getLogicalName() in more places
2018-07-03 07:03:59 +02:00
Gunnar Morling
068aa85bd6
DBZ-644 Misc. clean-up and tests;
...
* Using parameter keys under "__debezium" namespace
* More expressive names
* Adding tests
2018-07-03 07:03:59 +02:00