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