github.com/pingcap/ticdc@v0.0.0-20220526033649-485a10ef2652/tests/_utils/test_prepare (about)

     1  UP_TIDB_HOST=${UP_TIDB_HOST:-127.0.0.1}
     2  UP_TIDB_PORT=${UP_TIDB_PORT:-4000}
     3  UP_TIDB_OTHER_PORT=${UP_TIDB_OTHER_PORT:-4001}
     4  UP_TIDB_STATUS=${UP_TIDB_STATUS:-10080}
     5  UP_TIDB_OTHER_STATUS=${UP_TIDB_OTHER_STATUS:-10081}
     6  DOWN_TIDB_HOST=${DOWN_TIDB_HOST:-127.0.0.1}
     7  DOWN_TIDB_PORT=${DOWN_TIDB_PORT:-3306}
     8  DOWN_TIDB_STATUS=${DOWN_TIDB_STATUS:-20080}
     9  TLS_TIDB_HOST=${TLS_TIDB_HOST:-127.0.0.1}
    10  TLS_TIDB_PORT=${TLS_TIDB_PORT:-3307}
    11  TLS_TIDB_STATUS=${TLS_TIDB_STATUS:-30080}
    12  
    13  UP_PD_HOST_1=${UP_PD_HOST_1:-127.0.0.1}
    14  UP_PD_PORT_1=${UP_PD_PORT_1:-2379}
    15  UP_PD_PEER_PORT_1=${UP_PD_PEER_PORT_1:-2380}
    16  UP_PD_HOST_2=${UP_PD_HOST_2:-127.0.0.1}
    17  UP_PD_PORT_2=${UP_PD_PORT_2:-2679}
    18  UP_PD_PEER_PORT_2=${UP_PD_PEER_PORT_2:-2680}
    19  UP_PD_HOST_3=${UP_PD_HOST_3:-127.0.0.1}
    20  UP_PD_PORT_3=${UP_PD_PORT_3:-2779}
    21  UP_PD_PEER_PORT_3=${UP_PD_PEER_PORT_3:-2780}
    22  DOWN_PD_HOST=${DOWN_PD_HOST:-127.0.0.1}
    23  DOWN_PD_PORT=${DOWN_PD_PORT:-2479}
    24  DOWN_PD_PEER_PORT=${DOWN_PD_PEER_PORT:-2480}
    25  TLS_PD_HOST=${TLS_PD_HOST:-127.0.0.1}
    26  TLS_PD_PORT=${TLS_PD_PORT:-2579}
    27  TLS_PD_PEER_PORT=${TLS_PD_PEER_PORT:-2580}
    28  
    29  UP_TIKV_HOST_1=${UP_TIKV_HOST_1:-127.0.0.1}
    30  UP_TIKV_PORT_1=${UP_TIKV_PORT_1:-20160}
    31  UP_TIKV_STATUS_PORT_1=${UP_TIKV_STATUS_PORT_1:-20181}
    32  UP_TIKV_HOST_2=${UP_TIKV_HOST_2:-127.0.0.1}
    33  UP_TIKV_PORT_2=${UP_TIKV_PORT_2:-20161}
    34  UP_TIKV_STATUS_PORT_2=${UP_TIKV_STATUS_PORT_2:-20182}
    35  UP_TIKV_HOST_3=${UP_TIKV_HOST_3:-127.0.0.1}
    36  UP_TIKV_PORT_3=${UP_TIKV_PORT_3:-20162}
    37  UP_TIKV_STATUS_PORT_3=${UP_TIKV_STATUS_PORT_3:-20183}
    38  DOWN_TIKV_HOST=${DOWN_TIKV_HOST:-127.0.0.1}
    39  DOWN_TIKV_PORT=${DOWN_TIKV_PORT:-21160}
    40  DOWN_TIKV_STATUS_PORT=${DOWN_TIKV_STATUS_PORT:-21180}
    41  TLS_TIKV_HOST=${TLS_TIKV_HOST:-127.0.0.1}
    42  TLS_TIKV_PORT=${TLS_TIKV_PORT:-22160}
    43  TLS_TIKV_STATUS_PORT=${TLS_TIKV_STATUS_PORT:-22180}
    44  
    45  KAFKA_VERSION=$(cat /tmp/tidb_cdc_test/KAFKA_VERSION 2>/dev/null || echo 2.4.1)