--
You received this message because you are subscribed to the Google Groups "Confluent Platform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to confluent-platform+unsub...@googlegroups.com.
To post to this group, send email to confluent-platform@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/confluent-platform/8be351cf-aa84-4f1b-b0bd-a028f022b138%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
create table user(
id INT NOT NULL AUTO_INCREMENT,
name VARCHAR(40) NOT NULL,
role VARCHAR(40) NOT NULL,
modified_date TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
PRIMARY KEY (id)
);
Adding a new column:
alter table user_data add column skill varchar(20) not null default "java";
Adding data:
INSERT INTO USER_DATA (name,role,skill) values("user3","support","hadoop");
Error in Kafka:
[2017-07-10 20:17:21,409] ERROR Task test-mysql-jdbc-autoincrement-0 threw an uncaught and unrecoverable exception (org.apache.kafka.connect.runtime.WorkerTask:141)
org.apache.kafka.connect.errors.DataException: test7_mysql_jdbc_avro_user_data
at io.confluent.connect.avro.AvroConverter.fromConnectData(AvroConverter.java:75)
[2017-07-10 20:17:21,417] ERROR Task is being killed and will not recover until manually restarted (org.apache.kafka.connect.runtime.WorkerTask:142)
To post to this group, send email to confluent...@googlegroups.com.
Not working:
alter table user_data add column skill varchar(20) not null default "java";