I have upgraded from confluent 4.0.1 to confluent 5.0.1 recently. The bootstrap.server's version is Kafka 1.0. In my HBaseSink Connector, I have configured the new feature ""errors.deadletterqueue.topic.name" as follows:
{ "name": "kafka-hbase4", "config": { "connector.class": "com.xxxx.hbase.sink.HBaseSinkConnector", .... "zookeeper.quorum": "xxxx:2181", "topics": "oplog_demo.hbase_test1", "errors.deadletterqueue.topic.name":"error-topic-1" } }
the program normally works O.K. However, when I send some error messages to the topic of the HBase Sink Connector, like some Chineses words "哈哈哈", the program goes down, throwing a SerializationException, and no messages are consumed by the "error-topic-1".
Does that mean the configuration "errors.deadletterqueue.topic.name" not working? How come could that be and how can I make this configuration work?