Commit Graph

8724 Commits

Author SHA1 Message Date
Randall Hauch
6648761d7a Merge pull request #22 from criccomini/master
Add Google group to README
2016-03-02 09:58:35 -06:00
Randall Hauch
3df5a8c40b Added Travis webhook for notifying the debezium/dev Gitter chat room for build-related events 2016-03-02 09:42:49 -06:00
Chris Riccomini
3d6bb80df5 Add Google group to README 2016-03-01 15:34:52 -08:00
Randall Hauch
a2f3aedfeb Updated README to include links to StackOverflow and Maven Central.
The Maven Central link will resolve after we issue the first release.
2016-02-25 10:57:50 -06:00
Randall Hauch
162700f759 Merge pull request #19 from rhauch/dbz-23
DBZ-23 Cleaned up our use of Docker for integration tests
2016-02-25 10:55:36 -06:00
Randall Hauch
046fc83850 DBZ-23 Simplified PosgreSQL Connector's use of Docker plugin 2016-02-25 10:24:52 -06:00
Randall Hauch
42e531dbe9 DBZ-23 Simplified MySQL Connector's use of Docker plugin 2016-02-25 10:24:39 -06:00
Randall Hauch
7d4a996406 DBZ-23 Docker image created by the module no longer is tagged 2016-02-25 09:43:11 -06:00
Randall Hauch
8e3a3b13c6 Merge pull request #18 from rhauch/dbz-22
DBZ-22 Adapted to the Docker Maven Plugin's move to Fabric8 community
2016-02-25 09:35:04 -06:00
Randall Hauch
73da199a4d DBZ-22 Adapted to the Docker Maven Plugin's move to Fabric8 community 2016-02-25 08:59:24 -06:00
Randall Hauch
7a6a969b38 Updated the CONTRIBUTE.md file
Added information about IRC, our Google Group, and JIRA.
2016-02-23 16:34:06 -06:00
Randall Hauch
b38c72fad0 Update CONTRIBUTE.md 2016-02-23 16:29:43 -06:00
Randall Hauch
794c63bc0c Merge pull request #17 from rhauch/dbz-21
DBZ-21 Upgraded to Kafka 0.9.0.1
2016-02-23 15:56:53 -06:00
Randall Hauch
92949d31c0 DBZ-21 Upgraded to Kafka 0.9.0.1 2016-02-23 15:26:02 -06:00
Randall Hauch
f26220b029 Merge pull request #16 from rhauch/dbz-17
DBZ-17 Added plugin distribution ZIP for MySQL and other connectors
2016-02-23 13:36:33 -06:00
Randall Hauch
50e28d72a6 DBZ-17 Added plugin distribution ZIP that can be used for other Kafka Connector plugin modules 2016-02-23 13:23:36 -06:00
Randall Hauch
1d46e59048 DBZ-17 Minor changes to the POMs 2016-02-18 13:58:29 -06:00
Randall Hauch
0b09c05351 Merge pull request #15 from rhauch/dbz-13
DBZ-13 Changed Maven build to attach JavaDoc JARs to each module
2016-02-17 11:27:46 -06:00
Randall Hauch
2e5dfd837b DBZ-13 Minor code changes to eliminate JavaDoc warnings 2016-02-17 11:15:21 -06:00
Randall Hauch
0102f620a9 DBZ-13 Changed Maven build to attach JavaDoc JARs to each module
Modified the 'docs' profile to build and attach JavaDoc JARs for each module's source and test source artifacts. The profile will be automatically used when releasing.
2016-02-17 11:14:50 -06:00
Randall Hauch
997456d027 Merge pull request #14 from rhauch/dbz-14
DBZ-14 Corrected the 'alt-mysql' Maven profile
2016-02-16 16:53:53 -06:00
Randall Hauch
dab0440612 DBZ-14 Corrected the 'alt-mysql' Maven profile so that it can be used with any of the other Maven commands. 2016-02-16 16:37:30 -06:00
Randall Hauch
c9e13f0668 Merge pull request #12 from christian-posta/ceposta-int-test-disable
add option to run without integration tests
2016-02-15 20:11:33 -06:00
Christian Posta
c730685a01 add option to run without integration tests 2016-02-15 16:26:32 -07:00
Randall Hauch
a4bbcecd7e Merge pull request #13 from rhauch/dbz-1
DBZ-1 Completed integration testing and debugging of the MySQL connector
2016-02-15 15:05:54 -06:00
Randall Hauch
73f3c9836b DBZ-1 Completed integration testing and debugging of the MySQL connector 2016-02-15 14:46:12 -06:00
Randall Hauch
e43b518577 Merge pull request #11 from rhauch/dbz-11
DBZ-11 Build can skip long-running unit and integration tests
2016-02-04 15:37:09 -06:00
Randall Hauch
1a59f9b07c DBZ-11 Build can skip long-running unit and integration tests 2016-02-04 15:35:27 -06:00
Randall Hauch
64187eb390 Merge pull request #10 from rhauch/dbz-10
DBZ-10 Added small utility so unit tests can run an embedded Kafka cluster in-process
2016-02-04 15:29:25 -06:00
Randall Hauch
54b822bb72 DBZ-10 Added small utility so unit tests can run an embedded Kafka cluster within the same process.
This utility is only suitable for unit tests and therefore is defined in the test JAR of the `debezium-core` module. It certainly should never be used for production purposes.
2016-02-04 15:18:27 -06:00
Randall Hauch
52a7c096a4 Merge pull request #9 from rhauch/dbz-9
DBZ-9 Added MySQL whitelist and blacklists on tables and databases.
2016-02-04 07:56:39 -06:00
Randall Hauch
c501f8486f DBZ-9 Added MySQL whitelist and blacklists on tables and databases. 2016-02-04 07:56:13 -06:00
Randall Hauch
89c17d6d16 Merge pull request #8 from rhauch/dbz-1
DBZ-1 Refactored the connector modules and improved the embedded engine framework
2016-02-03 16:12:05 -06:00
Randall Hauch
70fc601c0f DBZ-8 Added documentation about embedded engines. 2016-02-03 16:09:43 -06:00
Randall Hauch
fbae6d75c8 DBZ-1 Renamed EmbeddedConnector to EmbeddedEngine and improved README 2016-02-03 15:33:57 -06:00
Randall Hauch
37d6a5e7da DBZ-1 Expanded documentation and improved EmbeddedConnector framework
Changed the EmbeddedConnector framework to initialize all major components via configuration properties rather than through the public builder. This increases the size of the configurations, but it simplifies what embedding applications must do to obtain an EmbeddedConnector instance.

The DatabaseHistory framework was also changed to be configurable in similar ways to the OffsetBackingStore. Essentially, connectors that want to use it (like the MySqlConnector) will describe it as part of the connector's configuration, allowing more flexibility in which DatabaseHistory implementation is used and how it is configured whether in Kafka Connector or as part of the EmbeddedConnector.

Added a README.md to `debezium-embedded` to provide documentation and sample code showing how to use the EmbeddedConnector.
2016-02-03 14:11:53 -06:00
Randall Hauch
0e58dba9d6 DBZ-1 Renamed the connector modules and packages 2016-02-02 16:58:48 -06:00
Randall Hauch
44b5139ebf Merge pull request #7 from rhauch/dbz-7
DBZ-7 Require Docker 1.9 or higher rather than 1.6 or higher
2016-02-02 16:16:44 -06:00
Randall Hauch
ff25b4de0a DBZ-7 Require Docker 1.9 or higher rather than 1.6 or higher 2016-02-02 16:16:17 -06:00
Randall Hauch
baaf2ee6e9 Merge pull request #6 from rhauch/dbz-1
DBZ-1 Added the MySQL source connector
2016-02-02 15:02:58 -06:00
Randall Hauch
2da5b37f76 DBZ-1 Added support for recording and recovering database schema
Adds a small framework for recording the DDL operations on the schema state (e.g., Tables) as they are read and applied from the log, and when restarting the connector task to recover the accumulated schema state. Where and how the DDL operations are recorded is an abstraction called `DatabaseHistory`, with three options: in-memory (primarily for testing purposes), file-based (for embedded cases and perhaps standalone Kafka Connect uses), and Kafka (for normal Kafka Connect deployments).

The `DatabaseHistory` interface methods take several parameters that are used to construct a `SourceRecord`. The `SourceRecord` type was not used, however, since that would result in this interface (and potential extension mechanism) having a dependency on and exposing the Kafka API. Instead, the more general parameters are used to keep the API simple.

The `FileDatabaseHistory` and `MemoryDatabaseHistory` implementations are both fairly simple, but the `FileDatabaseHistory` relies upon representing each recorded change as a JSON document. This is simple, is easily written to files, allows for recovery of data from the raw file, etc. Although this was done initially using Jackson, the code to read and write the JSON documents required a lot of boilerplate. Instead, the `Document` framework developed during Debezium's very early prototype stages was brought back. It provides a very usable API for working with documents, including the ability to compare documents semantically (e.g., numeric values are converted to be able to compare their numeric values rather than just compare representations) and with or without field order.

The `KafkaDatabaseHistory` is a bit more complicated, since it uses a Kafka broker to record all database schema changes on a single topic with single partition, and then upon restart uses it to recover the history from the dedicated topics. This implementation also records the changes as JSON documents, keeping it simple and independent of the Kafka Connect converters.
2016-02-02 14:27:14 -06:00
Randall Hauch
6796fe32be DBZ-1 Added the initial stages of a MySQL source connector
The connector is in a basic working state, although it is not well tested yet and upon restart does not recover the schema state from the previous run.
2016-01-29 10:12:28 -06:00
Randall Hauch
71cfbb16f8 Removed unused README-project.md file 2016-01-27 09:10:24 -06:00
Randall Hauch
d617f7c02b Readded copyright file with correct case. 2016-01-27 09:09:30 -06:00
Randall Hauch
9009a8e7d1 Removed copyright file 2016-01-27 09:08:43 -06:00
Randall Hauch
457c480fa2 Renamed license file to mirror form used in other top-level filenames. 2016-01-27 09:06:23 -06:00
Randall Hauch
991d1869e1 Merge pull request #5 from rhauch/dbz-5
DBZ-5 Added change log file
2016-01-27 09:04:46 -06:00
Randall Hauch
39cb1eb8d5 Merge pull request #4 from rhauch/dbz-6
DBZ-6 Enforce line ending style for most file types
2016-01-27 09:02:40 -06:00
Randall Hauch
a9de015322 DBZ-5 Added change log file. 2016-01-27 09:01:44 -06:00
Randall Hauch
9b283f5792 DBZ-6 Enforce line ending style for most file types. 2016-01-27 08:55:09 -06:00