From a87aa74a3af27960276ed02f4273386d25d2a231 Mon Sep 17 00:00:00 2001
From: duxinglangzi <871364441@qq.com>
Date: 星期五, 24 六月 2022 15:41:11 +0800
Subject: [PATCH] 支持动态参数配置

---
 README.md |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/README.md b/README.md
index e7eeab9..2d099e6 100644
--- a/README.md
+++ b/README.md
@@ -41,6 +41,16 @@
      * 鐩墠 Listener 鏂规硶鐨勫弬鏁板繀椤讳负 CanalEntry.EventType , CanalEntry.RowData 
      * 绋嬪簭鍦ㄥ惎鍔ㄨ繃绋嬩腑浼氬仛妫�鏌�
      */
+    
+    /**
+     * 鐩戞帶鏇存柊鎿嶄綔
+     * 鏀寔鍔ㄦ�佸弬鏁伴厤缃紝閰嶇疆椤归渶鍦� yml 鎴� properties 杩涜閰嶇疆
+     * 鐩爣鏄� ${prod.example} 鐨�  ${prod.database} 搴�  users琛�
+     */
+    @CanalUpdateListener(destination = "${prod.example}", database = "${prod.database}", table = {"users"})
+    public void listenerExampleBooksUsers(CanalEntry.EventType eventType, CanalEntry.RowData rowData) {
+        printChange("listenerExampleBooksUsers",eventType, rowData);
+    }
 
     /**
      * 鐩戞帶鏇存柊鎿嶄綔 锛岀洰鏍囨槸 example鐨�  books搴�  users琛�

--
Gitblit v1.8.0