1. <strong id="7actg"></strong>
    2. <table id="7actg"></table>

    3. <address id="7actg"></address>
      <address id="7actg"></address>
      1. <object id="7actg"><tt id="7actg"></tt></object>

        goMontioringDdlgo 通過binlog實現(xiàn)監(jiān)控ddl發(fā)送釘釘報警

        聯(lián)合創(chuàng)作 · 2023-09-30 23:47

        goMontioringDdl 是通過go實現(xiàn)對binlog的訂閱實現(xiàn)對mysql的ddl監(jiān)控報警并發(fā)送釘釘報警!

        安裝

        • 安裝 Go (1.6+) 設(shè)置并 GOPATH
        • 使用go get github.com/qieangel2013/goMontioringDdl
        • cd $GOPATH/src/github.com/qieangel2013/goMontioringDdl
        • go build main
        • ./main

        怎么使用?

        • 創(chuàng)建mysql表.
        • 設(shè)置配置文件 river.toml.
        • 配置 ding_webhook_url 發(fā)送釘釘消息.
        • 設(shè)置mysql的源配置.
        • Start ./main.

        注意

        • binlog 的格式必須為 row.
        • binlog row image 必須為 full .

        源配置.

        下面是源配置:

        # MySQL data source
        [[source]]
        schema = "test"
        tables = ["*"]
        
        # MySQL data source
        [[source]]
        schema = "test_1"
        tables = ["*", t4]
        瀏覽 18
        點贊
        評論
        收藏
        分享

        手機(jī)掃一掃分享

        編輯 分享
        舉報
        評論
        圖片
        表情
        推薦
        點贊
        評論
        收藏
        分享

        手機(jī)掃一掃分享

        編輯 分享
        舉報
        1. <strong id="7actg"></strong>
        2. <table id="7actg"></table>

        3. <address id="7actg"></address>
          <address id="7actg"></address>
          1. <object id="7actg"><tt id="7actg"></tt></object>
            偷拍视频网 | 丁香五月亚洲激情 | 天天日天天色 | 国产精品黄页 | 天天爽夜夜躁夜夜爽 | 另类丅s人妖一区二区 | 高圆圆一区二区三区 | 中文字幕成人在线播放 | 日日摸夜夜添夜夜添欧美毛片小说 | 东京热视频在线观看 |