-
Bug
-
Resolution: Done
-
Blocker
-
0.2.3
-
None
When gracefully stopping the Kafka Connect process running the MySQL connector, the following error is produced:
2016-08-16 13:33:00,140 INFO || Starting graceful shutdown of thread WorkerSourceTask-inventory-connector-0 [org.apache.kafka.connect.util.ShutdownableThread]
2016-08-16 13:33:00,140 INFO || Stopping MySQL connector task [io.debezium.connector.mysql.MySqlConnectorTask]
2016-08-16 13:33:00,141 INFO || Connector task successfully stopped [io.debezium.connector.mysql.MySqlConnectorTask]
Exception in thread "Thread-1" java.lang.NullPointerException
at io.debezium.connector.mysql.MySqlConnectorTask.stop(MySqlConnectorTask.java:155)
at org.apache.kafka.connect.runtime.WorkerSourceTask$WorkerSourceTaskThread.startGracefulShutdown(WorkerSourceTask.java:378)
at org.apache.kafka.connect.runtime.WorkerSourceTask.stop(WorkerSourceTask.java:108)
at org.apache.kafka.connect.runtime.Worker.stop(Worker.java:136)
at org.apache.kafka.connect.runtime.Connect.stop(Connect.java:72)
at org.apache.kafka.connect.runtime.Connect$ShutdownHook.run(Connect.java:93)
This appears to have been fixed in master as part of 0.3.