org.xiaowu.behappy.canal.example.handler.DefaultEntryHandler Maven / Gradle / Ivy
package org.xiaowu.behappy.canal.example.handler;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;
import org.xiaowu.behappy.canal.client.annotation.CanalTable;
import org.xiaowu.behappy.canal.client.context.CanalContext;
import org.xiaowu.behappy.canal.client.handler.EntryHandler;
import java.util.Map;
/**
* 所有表的变化都会这里的逻辑
* @author 小五
*/
@CanalTable(value = "all")
@Component
@Slf4j
public class DefaultEntryHandler implements EntryHandler