ICode9

精准搜索请尝试: 精确搜索
首页 > 其他分享> 文章详细

db.Bifrost

2022-08-23 12:30:27  阅读:135  来源: 互联网

标签:Bifrost CK dba db tb1 MySQL test true


[root@mysql-host1 /data/bifrost/data]# cat db.Bifrost | python3 -mjson.tool
{
    "Version": "v1.8.0-beta.01",
    "ToServer": {
        "dba_test-tb1_all": {
            "PluginName": "clickhouse",
            "PluginVersion": "v1.7.3",
            "ConnUri": "tcp://192.168.56.11:9000?username=default&password=123&compress=true",
            "Notes": "dba_test-tb1_all",
            "LastID": 3,
            "CurrentConn": 3,
            "MaxConn": 20,
            "MinConn": 1,
            "AvailableConn": 3,
            "UpdateTime": 1661154931
        }
    },
    "DbInfo": {
        "dba_test": {
            "Name": "dba_test",
            "ConnectUri": "bifrost:123@tcp(10.0.0.11:3306)/dba_test",
            "ConnStatus": "running",
            "ConnErr": "",
            "ChannelMap": {
                "1": {
                    "Name": "default",
                    "MaxThreadNum": 1,
                    "CurrentThreadNum": 0,
                    "Status": "running"
                },
                "2": {
                    "Name": "channel10",
                    "MaxThreadNum": 10,
                    "CurrentThreadNum": 0,
                    "Status": "running"
                }
            },
            "LastChannelID": 2,
            "TableMap": {
                "dba_test_-tb1": {
                    "Name": "tb1",
                    "ChannelKey": 2,
                    "LastToServerID": 1,
                    "ToServerList": [
                        {
                            "ToServerID": 1,
                            "PluginName": "clickhouse",
                            "MustBeSuccess": true,
                            "FilterQuery": false,
                            "FilterUpdate": true,
                            "FieldList": [],
                            "ToServerKey": "dba_test-tb1_all",
                            "LastSuccessBinlog": {
                                "BinlogFileNum": 265,
                                "BinlogPosition": 802,
                                "GTID": "ea42d50c-88c0-11ec-9a53-000c2911ac8b:1-3627862",
                                "Timestamp": 1661226651,
                                "EventID": 1119
                            },
                            "LastQueueBinlog": {
                                "BinlogFileNum": 265,
                                "BinlogPosition": 771,
                                "GTID": "",
                                "Timestamp": 1661226651,
                                "EventID": 1118
                            },
                            "BinlogFileNum": 265,
                            "BinlogPosition": 802,
                            "PluginParam": {
                                "AutoCreateTable": false,
                                "BatchSize": 1,
                                "BifrostFilterQuery": false,
                                "BifrostMustBeSuccess": true,
                                "CkSchema": "dba_test",
                                "CkTable": "tb1_all",
                                "Field": [
                                    {
                                        "CK": "id",
                                        "MySQL": "id"
                                    },
                                    {
                                        "CK": "c1",
                                        "MySQL": "c1"
                                    },
                                    {
                                        "CK": "c2",
                                        "MySQL": "c2"
                                    },
                                    {
                                        "CK": "c3",
                                        "MySQL": "c3"
                                    },
                                    {
                                        "CK": "c4",
                                        "MySQL": "c4"
                                    },
                                    {
                                        "CK": "c5",
                                        "MySQL": "c5"
                                    },
                                    {
                                        "CK": "create_time",
                                        "MySQL": "create_time"
                                    },
                                    {
                                        "CK": "update_time",
                                        "MySQL": "update_time"
                                    },
                                    {
                                        "CK": "binlog_event_type",
                                        "MySQL": "{$EventType}"
                                    },
                                    {
                                        "CK": "ts",
                                        "MySQL": "{$BinlogTimestamp}"
                                    },
                                    {
                                        "CK": "dts",
                                        "MySQL": ""
                                    }
                                ],
                                "LowerCaseTableNames": 0,
                                "NullNotTransferDefault": true,
                                "PriKey": [
                                    {
                                        "CK": "id",
                                        "MySQL": "id"
                                    }
                                ],
                                "SyncType": "insertAll"
                            },
                            "Status": "",
                            "Error": "",
                            "ErrorWaitDeal": 0,
                            "ErrorWaitData": null,
                            "LastBinlogFileNum": 265,
                            "LastBinlogPosition": 771,
                            "QueueMsgCount": 0,
                            "FileQueueStatus": false,
                            "Notes": "",
                            "ThreadCount": 0,
                            "FileQueueUsableCount": 0,
                            "FileQueueUsableCountStartTime": 0
                        }
                    ],
                    "IgnoreTable": ""
                }
            },
            "IsGtid": true,
            "LastEventID": 1119,
            "Gtid": "ea42d50c-88c0-11ec-9a53-000c2911ac8b:1-3627862",
            "BinlogDumpFileName": "mysql-bin.000265",
            "BinlogDumpPosition": 802,
            "BinlogDumpTimestamp": 1661226651,
            "MaxBinlogDumpFileName": "",
            "MaxinlogDumpPosition": 0,
            "ReplicateDoDb": {
                "dba_test": 1
            },
            "ServerId": 113313,
            "AddTime": 1661154319
        }
    },
    "User": null,
    "Warning": null
}
[root@mysql-host1 /data/bifrost/data]#

 

标签:Bifrost,CK,dba,db,tb1,MySQL,test,true
来源: https://www.cnblogs.com/zhouwanchun/p/16615727.html

本站声明: 1. iCode9 技术分享网(下文简称本站)提供的所有内容,仅供技术学习、探讨和分享;
2. 关于本站的所有留言、评论、转载及引用,纯属内容发起人的个人观点,与本站观点和立场无关;
3. 关于本站的所有言论和文字,纯属内容发起人的个人观点,与本站观点和立场无关;
4. 本站文章均是网友提供,不完全保证技术分享内容的完整性、准确性、时效性、风险性和版权归属;如您发现该文章侵犯了您的权益,可联系我们第一时间进行删除;
5. 本站为非盈利性的个人网站,所有内容不会用来进行牟利,也不会利用任何形式的广告来间接获益,纯粹是为了广大技术爱好者提供技术内容和技术思想的分享性交流网站。

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有