--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/debezium/aa3d7cb7-ee12-472c-91c2-cb0645a3895c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
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/e386e373-9073-4f4d-8eb8-fc4511ab4f60%40googlegroups.com.
The snapshot modes get the current schema by using SHOW CREATE TABLE and other metadata queries, and they do NOT attempt to rebuild the schema from the binlog. In fact, none of the snapshot modes do anything with the binlog; only *after* the snapshot completes does the connector start reading the binlog.The "schema_only" snapshot mode differs from the other modes in that the snapshot captures the current schema but skip reading the rows in the tables. It is useful when you want to start capturing changes from that point forward and don't care about the rows that were already in the database prior to starting the connector.Hope this answers your questions.Randall
On Thu, Aug 3, 2017 at 1:46 PM, satyajit vegesna <varma.s...@gmail.com> wrote:
Hi Prannoy/Randall,--I would like to know, if the schema_only option reads the complete bing_log to capture the schema information ? Atleast from my experience i can see the connector trying to read the complete binlog to capture the schema's.Is there a way to skip reading the binlogs and start getting the current schema information using standard mysql schema related commands, like using DESCRIBE command or SHOW CREATE TABLE?Regards,Satyajit.
On Tuesday, 11 October 2016 12:46:53 UTC-7, Prannoy Mittal wrote:https://issues.jboss.org/browse/DBZ-133
On Tuesday, October 11, 2016 at 3:09:07 PM UTC+5:30, Moran Shemesh wrote:Hi,First, I would like to emphasize how awesome you product is!We are evaluating Debezium as a tool for transferring data changes from our mysql binary logs into Kafka, and then into Hadoop.We are very excited to use it, but unfortunately the amount of data in our Mysql instances is too large for Debezium to take the initial snapshot (Terra bytes of data per server).Since we already have all the current data in Hadoop, we don't really need the initial data snapshot.Is there some kind of configuration that will allow us to skip the initial snapshot and only use Debezium's change data capture feature?Thanks,Moran
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.
Thank you very much quick reply Randall.Would highly appreciate, if you could also answer my below questions,1. When i try to enable multiple connectors, for example i have two databases in my MYSQLDB,a.inventoryb.customersfirst i create a connector for inventory and i immediately add another connector for customers DB. When i do this , i get the below errors in status and i am not sure if the connector is still running or down. PFB error log from offset-status,{"state":"FAILED","trace":"org.apache.kafka.connect.errors.ConnectException: io.debezium.text.ParsingException: Expecting token type 128 at line 1, column 1 but found 'UPDATE': ===>> UPDATE `logged_cronj\n\tat io.debezium.connector.mysql.MySqlConnectorTask.start(MySqlConnectorTask.java:192)\n\tat org.apache.kafka.connect.runtime.WorkerSourceTask.execute(WorkerSourceTask.java:141)\n\tat org.apache.kafka.connect.runtime.WorkerTask.doRun(WorkerTask.java:139)\n\tat org.apache.kafka.connect.runtime.WorkerTask.run(WorkerTask.java:182)\n\tat java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)\n\tat java.util.concurrent.FutureTask.run(FutureTask.java:266)\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)\n\tat java.lang.Thread.run(Thread.java:748)\nCaused by: io.debezium.text.ParsingException: Expecting token type 128 at line 1, column 1 but found 'UPDATE': ===>> UPDATE `logged_cronj\n\tat io.debezium.text.TokenStream.consume(TokenStream.java:737)\n\tat io.debezium.relational.ddl.DdlParser.consumeStatement(DdlParser.java:568)\n\tat io.debezium.relational.ddl.DdlParser.parseUnknownStatement(DdlParser.java:376)\n\tat io.debezium.connector.mysql.MySqlDdlParser.parseNextStatement(MySqlDdlParser.java:156)\n\tat io.debezium.relational.ddl.DdlParser.parse(DdlParser.java:286)\n\tat io.debezium.relational.ddl.DdlParser.parse(DdlParser.java:267)\n\tat io.debezium.relational.history.AbstractDatabaseHistory.lambda$recover$0(AbstractDatabaseHistory.java:57)\n\tat io.debezium.relational.history.KafkaDatabaseHistory.recoverRecords(KafkaDatabaseHistory.java:202)\n\tat io.debezium.relational.history.AbstractDatabaseHistory.recover(AbstractDatabaseHistory.java:52)\n\tat io.debezium.connector.mysql.MySqlSchema.loadHistory(MySqlSchema.java:312)\n\tat io.debezium.connector.mysql.MySqlTaskContext.loadHistory(MySqlTaskContext.java:116)\n\tat io.debezium.connector.mysql.MySqlConnectorTask.start(MySqlConnectorTask.java:80)\n\t... 8 more\n","worker_id":"10.33.8.17:8083","generation":13}
b.(Second question) there was an other time, when i have created a single connector for all DB's of Mysql, after which only history topic and database server name topic created and did not see a single topic creation for tables.I would like to know if you have or some have come across a similar situation.
c.(Third question) Some databases , for which individual connectors created, show up the table topics immediately created and some take forever and i am not even sure if the connectors are working fine in such situation when i do not see the corresponding topics.Is there something that i should check about this one?
d.(Fourth question) Should i create seperate connect-offsets, connect-status, connect-configs for each connector that i create?
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/c0dd787e-b3a5-4cb5-b46c-c6d36067719c%40googlegroups.com.