mirror of
https://github.com/alibaba/canal.git
synced 2026-11-04 00:30:15 +08:00
kafka consumer example 修改
This commit is contained in:
@@ -91,6 +91,7 @@ public class CanalKafkaClientExample {
|
||||
}
|
||||
|
||||
private void process() {
|
||||
while (!running) ;
|
||||
try {
|
||||
connector.subscribe();
|
||||
while (running) {
|
||||
|
||||
Reference in New Issue
Block a user