ブローカーノード情報の確認
    • PDF

    ブローカーノード情報の確認

    • PDF

    Article Summary

    VPC環境で利用できます。

    説明

    Cloud Data Streaming Service Clusterのブローカーノード情報を確認します。

    リクエスト

    リクエスト URL

    GET https://clouddatastreamingservice.apigw.ntruss.com/api/v1/cluster/getBrokerInfo/{service-group-instance-no} [KR]
    GET https://clouddatastreamingservice.apigw.ntruss.com/api/sgn-v1/cluster/getBrokerInfo/{service-group-instance-no} [SGN]
    GET https://clouddatastreamingservice.apigw.ntruss.com/api/jpn-v1/cluster/getBrokerInfo/{service-group-instance-no} [JPN]
    

    リクエストヘッダ

    ヘッダ名説明
    x-ncp-apigw-timestamp- 1970年1月1日 00:00:00 協定世界時(UTC)からの経過時間をミリ秒(Millisecond)で表す
    - API Gatewayサーバとの時間差が5分以上の場合は無効なリクエストとみなす
    x-ncp-apigw-timestamp:{Timestamp}
    x-ncp-iam-access-keyNAVERクラウドプラットフォームポータルから発行された Access Key ID値
    x-ncp-iam-access-key:{Account Access Key}
    x-ncp-apigw-signature-v2Access Key ID値と Secret Keyで暗号化した署名
    x-ncp-apigw-signature-v2:{API Gateway Signature}
    Content-TypeRequest body content typeを application/jsonに指定
    Content-Type: application/json

    リクエストパラメータ

    パラメータタイプ要否説明
    serviceGroupInstanceNoStringYブローカーノード情報を確認するクラスタ番号

    リクエスト例

    GET https://clouddatastreamingservice.apigw.ntruss.com/api/v1/cluster/getBrokerInfo/1484848
    HOST: clouddatastreamingservice.apigw.ntruss.com
    Content-Type: application/json
    x-ncp-apigw-signature-v2: zq0FrtlU8JZJi9esTK31bCQUNG3H+jo4CMjMkJDoWSc=
    x-ncp-apigw-timestamp: 1593848345548
    x-ncp-iam-access-key: 7fIvgFY428mtY6sY8maw
    
    curl -X GET "https://clouddatastreamingservice.apigw.ntruss.com/api/v1/cluster/getBrokerInfo/1484848" \
    -H "accept: application/json" \
    -H "Content-Type: application/json" \
    -H "x-ncp-iam-access-key: 7fIvgFY428mtY6sY8maw" \
    -H "x-ncp-apigw-timestamp: 1601971222179" \
    -H "x-ncp-apigw-signature-v2: zrCelnR48AADdK/uh6Xe3yy468i8KpQoewYHUmeqYh4=" 
    

    レスポンスパラメータ

    public class GetBrokerNodeListsResponseVo {
        String brokerNodeList;
        String brokerTlsNodeList;
        String publicEndpointBrokerNodeList;
        String publicEndpointBrokerNodeListenerPortList;
        String publicEndpointBrokerTlsNodeList;
        String publicEndpointBrokerTlsNodeListenerPortList;
        String localDnsList;
        String localDnsTlsList;
        String zookeeperList;
    }
    

    フィールド

    パラメータ名タイプ説明
    brokerNodeListStringブローカーノードリスト(9092port)
    brokerTlsNodeListStringブローカーノードリスト(9093port)(TLS)
    publicEndpointBrokerNodeListStringブローカーノード Public Endpointリスト
    publicEndpointBrokerNodeListenerPortListStringブローカーノード Public Endpointの設定リスナリスト
    publicEndpointBrokerTlsNodeListStringブローカーノード Public Endpointリスト(TLS)
    publicEndpointBrokerTlsNodeListenerPortListStringブローカーノード Public Endpointの設定リスナリスト(TLS)
    localDnsListStringhostsファイルの修正内容(プライベート IPアドレス Hostname形式)
    localDnsTlsListStringhostsファイルの修正内容(グローバル IP Hostname形式)(TLS)
    zookeeperListStringZooKeeperノードリスト(2181port)

    レスポンス例

    {
      "code": 0,
      "message": "SUCCESS",
      "result": {
        "brokerNodeList": "10.0.200.14:9092,10.0.200.15:9092,10.0.200.16:9092",
        "brokerTlsNodeList": "test-220526-1-b-19ba:9093,test-220526-1-b-19bb:9093,test-220526-1-b-19bc:9093",
        "publicEndpointBrokerNodeList": "kimdong-kafka-lb-9891840-8fc81ef1c280.kr.lb.naverncp.com:9100,kimdong-kafka-lb-9891840-8fc81ef1c280.kr.lb.naverncp.com:9101,kimdong-kafka-lb-9891840-8fc81ef1c280.kr.lb.naverncp.com:9102",
        "publicEndpointBrokerNodeListenerPortList": "test-220526-1-b-19ba 9100\ntest-220526-1-b-19bb 9101\ntest-220526-1-b-19bc 9102\n",
        "publicEndpointBrokerTlsNodeList": "test-220526-1-b-19ba:9300,test-220526-1-b-19bb:9301,test-220526-1-b-19bc:9302",
        "publicEndpointBrokerTlsNodeListenerPortList": "test-220526-1-b-19ba 9300\ntest-220526-1-b-19bb 9301\ntest-220526-1-b-19bc 9302\n",
        "localDnsList": "10.0.200.14 test-220526-1-b-19ba\n10.0.200.15 test-220526-1-b-19bb\n10.0.200.16 test-220526-1-b-19bc\n",
        "localDnsTlsList": "175.106.103.181 test-220526-1-b-19ba\n175.106.103.181 test-220526-1-b-19bb\n175.106.103.181 test-220526-1-b-19bc\n",
        "zookeeperList": "10.0.200.14:2181,10.0.200.15:2181,10.0.200.16:2181"
      },
      "requestId": "7be2b2bc-67ae-4829-b93c-a7eb904152f7"
    }
    

    この記事は役に立ちましたか?

    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.