--
You received this message because you are subscribed to the Google Groups "debezium" group.
To unsubscribe from this group and stop receiving emails from it, send an email to debezium+unsubscribe@googlegroups.com.
To post to this group, send email to debe...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/debezium/73a36029-9f92-4a66-a98e-febaa1b964e5%40googlegroups.com.
Amit,We have an example for streaming changes from MySQL into Postgres here:The key is to use the Unwrapping SMT as shown in the example.As Jiri is saying, the question is whether the JDBC sink connector runs on Redshift, but I'd assume it does. As far as DELETEs are concerned, you might perhaps work with logical deletes (i.e. a deletion flag in the tables).If you gain any specific experiences from using Redshift, please let us know, in case it makes sense to add something to the docs, do a blog post etc.Cheers,--Gunnar
2018-06-15 6:13 GMT+02:00 Jiri Pechanec <jiri.p...@gmail.com>:
Hi,you have to verify that JDBC sink connector works with Redshift. If yes then this solution works and was already tested. Mind there are a couple of limitations - the biggest one probably that DELETE statements are not supported by sink.Have a nice dayJ.
On Thursday, June 14, 2018 at 9:21:40 PM UTC+2, amit...@venmo.com wrote:How will that work considering that MySQL and Redshift (PostgreSQL) are different databases?Is that a good idea considering that Redshift recommends to load data from s3 files using the COPY command?Thanks,Amit
--
You received this message because you are subscribed to the Google Groups "debezium" group.
To unsubscribe from this group and stop receiving emails from it, send an email to debezium+u...@googlegroups.com.
To post to this group, send email to debe...@googlegroups.com.
"connector.class": "io.confluent.connect.jdbc.JdbcSinkConnector",
"tasks.max": "1",
"topics": "customers",
"connection.url": "jdbc:redshift://url:5439/db?user=user&password=pass",
"transforms": "unwrap",
"transforms.unwrap.type": "io.debezium.transforms.UnwrapFromEnvelope",
"auto.create": "false",
"insert.mode": "upsert",
"pk.fields": "id",
"pk.mode": "record_value"