Commit Graph

42 Commits

Author SHA1 Message Date
harveyyue
cd7da5723d DBZ-6235 Remove incubation notice from Debezium Server page 2023-03-22 09:45:26 +01:00
Chris Cranford
1c5f14f7fd DBZ-6225 DBZ-6226 DBZ-6231 Introduce CustomConverter for JDBC sink consistency
In DBZ-6225, it was identified that the schema type associated with TINYINT(1)
and BOOLEAN data types wasn't consistent. This converter implementation will
always emit BOOLEAN data types as INT16, similar to TINYINT(1).

In DBZ-6226, it was identified that the schema type associated with REAL data
types wasn't consistent, emitted as FLOAT64 during snapshot and FLOAT32 in
the streaming phase. This converter implementation will always emit such types
as FLOAT64 for consistency.

In DBZ-6231, during streaming the DDL parser will get the column type as the
literal type supplied by the user's DDL, i.e. NCHAR or NVARCHAR but when the
DDL is sourced from SHOW CREATE TABLE, MySQL returns these columns as types
of CHAR/VARCHAR but with a character set.  By passing the character_set in
the schema consistency, we can deduce nationalized vs non-nationalized.
2023-03-21 14:53:56 +01:00
harveyyue
57b902ff8c DBZ-5743 Introduce alternative AVRO_UNICODE mode for field name selector 2023-02-02 13:21:45 +01:00
harveyyue
f093d7a6c9 DBZ-5743 Introduce alternative AVRO_UNICODE mode for schema adjuster 2023-02-02 13:21:45 +01:00
harveyyue
003bef0736 DBZ-5743 Introduce a new unicode topic naming strategy 2023-02-02 13:21:45 +01:00
Jeremy Ford
d775104331 DBZ-5926 Add support for Connect Headers to Debezium Server
Add headers support to ChangeEvent
Add SerializationFormat support headers
2023-01-18 10:28:22 +01:00
Mark Lambert
e5d16b14a6 DBZ-2439 Remove redundant modifiers 2023-01-11 06:44:53 +01:00
Marcelo Avancini
7754163c5d DBZ-2432: Fixing misuse of assertj
- Some usages of assertj was not callig the actual assert of the DSL, fixing it
- Changing the Assertions to be staticlly imported
2022-12-08 13:10:26 +01:00
harveyyue
6ba46b97cb DBZ-5790 Enhance the ability to sanitize topic name 2022-11-03 15:45:54 +01:00
jcechace
1573684292 DBZ-5779 Migrated debezium-api to AssertJ 2022-11-02 08:50:26 +01:00
harveyyue
58f4d3d912 DBZ-5480 Augment a uniqueness key filed/value in regex topic naming strategy 2022-09-06 14:58:57 +02:00
harveyyue
6ea7abc8fc DBZ-4180 Pluggable topic selector 2022-07-13 14:45:25 +02:00
Thomas Thornton
72f8c06bb6 DBZ-2897 Make Offsets interface non-static, refactor test for updating offsets 2021-02-17 08:41:01 +01:00
Thomas Thornton
dcb6b04835 DBZ-2897 Define and implement Offsets contract for updating offsets of records.
Added Offsets contract in DebeziumEngine and implemented it as SourceRecordOffsets in EmbeddedEngine.
Added additional method buildOffsets in RecordCommitter for retrieving an Offsets object, implemented
in ConvertingEngineBuilder and EmbeddedEngine. Modified markProcessed method to use Offsets contract.
Updated tests and documentation.
2021-02-17 08:41:01 +01:00
Thomas Thornton
8d87f5feae DBZ-2897 Extended RecordCommitter interface to handle updated source offsets.
Extended the DebeziumEngine interface to include a new method for marking a
record processed with updated source offsets. Implemented the new interface
method in both ConvertingEngineBuilder and EmbeddedEngine. EmbeddedEngine
creates a new SourceRecord with the updated sourceOffsets and passes this
to the original markProcessed method. Added a unit test in EmbeddedEngineTest
that verifies that the file offset storage contains the updated source offset’s
partition. Added a revapi ignore case to prevent failure from a method added
to an interface without a default method. Updated docs for Debezium Engine
that describe the new functionality.
2021-02-17 08:41:01 +01:00
Jeremy Ford
6752a2cd04 DBZ-2830 EmbeddedEngine does not shutdown when commitOffsets is interrupted
Modified commitOffsets to propagate InterruptedException
2020-12-08 12:08:31 +01:00
Chris Cranford
cee329afbc DBZ-2277 ChangeConsumer indicates if tombstones are to be emitted 2020-08-05 21:24:36 +02:00
victorxiang30
2d6301591c
DBZ-2381 ProtoBuf support for Debezium Server 2020-07-29 12:18:26 +02:00
Lukas Krejci
64355674ee DBZ-2159 Move Revapi configuration into the support/ structure. 2020-06-09 19:28:33 +02:00
Lukas Krejci
3b7c165e16 DBZ-2159 Add API checks using Revapi. 2020-06-09 19:28:33 +02:00
Jiri Pechanec
994e59988c DBZ-651 Change JavaDoc
Co-authored-by: Gunnar Morling <gunnar.morling@googlemail.com>
2020-05-14 13:48:09 +02:00
Jiri Pechanec
b5921d2600 DBZ-651 Renamed server class; config namespace split 2020-05-14 13:48:09 +02:00
Jiri Pechanec
04223cb97f DBZ-651 Quarkus-based implementation of standalone Debezium server 2020-05-14 13:48:09 +02:00
Gunnar Morling
2f6a61002e DBZ-1970 Moving asType() method from builder to separate factory contract, as they are not meant to be called by users. 2020-05-06 14:33:37 +02:00
Gunnar Morling
ab1d4bb1cd DBZ-1970 Making change event API more consistent and uniform 2020-05-06 14:33:37 +02:00
Jiri Pechanec
d82307c331 DBZ-1970 Support for separate key/value embedded converter 2020-05-06 14:33:37 +02:00
Gunnar Morling
659d4a415b DBZ-1807 Misc. adjustments;
* Adding @TestFor annotations
* Change -> ChangeEvent
2020-04-15 16:29:29 +02:00
Jiri Pechanec
c0914b245b DBZ-1807 Support for CloudEvents converter 2020-04-15 16:29:29 +02:00
Jiri Pechanec
c06707f4c5 DBZ-1807 Support for Avro converters 2020-04-15 16:29:29 +02:00
Jiri Pechanec
4e2ac367a9 DBZ-1807 Support for JSON Converter 2020-04-15 16:29:29 +02:00
Gunnar Morling
bb8ab308b6 DBZ-1134 JavaDoc 2020-02-28 21:58:39 +01:00
Jiri Pechanec
7d525d4baa DBZ-1134 Fix tests for new API 2020-02-28 21:58:39 +01:00
Gunnar Morling
0f6d2c54fc DBZ-1134 Avoiding concrete class in SPI by introducing receiver parameter 2020-02-28 21:58:39 +01:00
Jiri Pechanec
096d13f266 DBZ-1134 Use OptionalInts 2020-02-28 21:58:39 +01:00
Jiri Pechanec
28a8467232 DBZ-1134 Fix annotation name 2020-02-28 21:58:39 +01:00
Jiri Pechanec
d13e48cc55 DBZ-1134 Make converted field type parametrized 2020-02-28 21:58:39 +01:00
Jiri Pechanec
06e1eca085 DBZ-1134 Support for user provided converters 2020-02-28 21:58:39 +01:00
Jiri Pechanec
f203af29de DBZ-234 Support try with resource for engine 2020-02-28 15:00:12 +01:00
Jiri Pechanec
06858f4023 DBZ-234 Provide return type indirectly 2020-02-25 15:31:10 +01:00
Jiri Pechanec
ae6ee3d458 DBZ-234 Place Incubating into a unique package 2020-02-25 15:31:10 +01:00
Jiri Pechanec
3ce0aea457 DBZ-234 Move exceptions out of separate package 2020-02-25 15:31:10 +01:00
Jiri Pechanec
38df24a76b DBZ-234 Create API module with engine API 2020-02-25 15:31:10 +01:00