apache / pulsar-manager

Apache Pulsar Manager
https://pulsar.apache.org/
Apache License 2.0
516 stars 245 forks source link

enable proxy pulsar-manager log report Error 401 Authentication required #307

Open lvs071103 opened 4 years ago

lvs071103 commented 4 years ago

env:

[root@pulsar-shanghai-node01 pulsar_sh]# bin/pulsar-admin clusters list
"shanghai"
"beijing"
[root@pulsar-shanghai-node01 pulsar_sh]# bin/pulsar-admin clusters get shanghai
{
  "serviceUrl" : "http://10.1.104.136:8080",
  "serviceUrlTls" : "https://10.1.104.136:8443",
  "brokerServiceUrl" : "pulsar://10.1.104.136:6650",
  "brokerServiceUrlTls" : "pulsar+ssl://10.1.104.136:6651"
}
[root@pulsar-shanghai-node01 pulsar_sh]# bin/pulsar-admin clusters get beijing
{
  "serviceUrl" : "http://10.1.104.220:8080",
  "serviceUrlTls" : "https://10.1.104.220:8443",
  "brokerServiceUrl" : "pulsar://10.1.104.220:6650",
  "brokerServiceUrlTls" : "pulsar+ssl://10.1.104.220:6651"
}

image image

shanghai cluster proxy config:

zookeeperServers=10.1.104.130:2181,10.1.104.131:2181,10.1.104.132:2181
configurationStoreServers=10.1.104.130:2184,10.1.104.131:2184,10.1.104.132:2184
brokerServiceURL=pulsar://10.1.104.130:6650,10.1.104.131:6650,10.1.104.132:6650
brokerServiceURLTLS=pulsar+ssl://10.1.104.130:6651,10.1.104.131:6651,10.1.104.132:6651
brokerWebServiceURL=http://10.1.104.130:8080,10.1.104.131:8080,10.1.104.132:8080
brokerWebServiceURLTLS=https://10.1.104.130:8443,10.1.104.131:8443,10.1.104.132:8443
servicePort=6650
servicePortTls=6651
webServicePort=8080
webServicePortTls=8443
superUserRoles=admin
authorizationEnabled=true
authorizationProvider=org.apache.pulsar.broker.authorization.PulsarAuthorizationProvider
authenticationEnabled=true
authenticationProviders=org.apache.pulsar.broker.authentication.AuthenticationProviderToken
brokerClientAuthenticationPlugin=org.apache.pulsar.client.impl.auth.AuthenticationToken
brokerClientAuthenticationParameters=token:eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJhZG1pbiIsImV4cCI6MTY4NzA4NDI5MH0.K5sAvvUjd9J8RxHaBVlDCPnoPW8T6FDa4x9CovoH6v4
tokenSecretKey=file:///opt/Apps/pulsar_sh/my-auth/admin.key

beijing cluster proxy config:

zookeeperServers=10.1.104.133:2181,10.1.104.134:2181,10.1.104.135:2181
configurationStoreServers=10.1.104.133:2184,10.1.104.134:2184,10.1.104.135:2184
brokerServiceURL=pulsar://10.1.104.133:6650,10.1.104.134:6650,10.1.104.135:6650
brokerServiceURLTLS=pulsar+ssl://10.1.104.133:6651,10.1.104.134:6651,10.1.104.135:6651
brokerWebServiceURL=http://10.1.104.133:8080,10.1.104.134:8080,10.1.104.135:8080
brokerWebServiceURLTLS=https://10.1.104.133:8443,10.1.104.134:8443,10.1.104.135:8443
servicePort=6650
servicePortTls=6651
webServicePort=8080
webServicePortTls=8443
superUserRoles=admin
authorizationEnabled=true
authorizationProvider=org.apache.pulsar.broker.authorization.PulsarAuthorizationProvider
authenticationEnabled=true
authenticationProviders=org.apache.pulsar.broker.authentication.AuthenticationProviderToken
brokerClientAuthenticationPlugin=org.apache.pulsar.client.impl.auth.AuthenticationToken
brokerClientAuthenticationParameters=token:eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJhZG1pbiIsImV4cCI6MTY4NzA4NDI5MH0.K5sAvvUjd9J8RxHaBVlDCPnoPW8T6FDa4x9CovoH6v4
tokenSecretKey=file:///opt/Apps/pulsar_bj/my-auth/admin.key

pulsar-manager.log:

2020-06-22 11:01:12.948 DEBUG 42 --- [pool-2-thread-1] o.a.p.m.m.E.findEnvironmentsList_COUNT   : ==>  Preparing: SELECT count(0) FROM environments 
2020-06-22 11:01:12.950 DEBUG 42 --- [pool-2-thread-1] o.a.p.m.m.E.findEnvironmentsList_COUNT   : ==> Parameters: 
2020-06-22 11:01:12.951 DEBUG 42 --- [pool-2-thread-1] o.a.p.m.m.E.findEnvironmentsList_COUNT   : <==      Total: 1
2020-06-22 11:01:12.951 DEBUG 42 --- [pool-2-thread-1] o.a.p.m.m.E.findEnvironmentsList         : ==>  Preparing: SELECT name,broker FROM environments LIMIT ? 
2020-06-22 11:01:12.952 DEBUG 42 --- [pool-2-thread-1] o.a.p.m.m.E.findEnvironmentsList         : ==> Parameters: 100(Integer)
2020-06-22 11:01:12.952 DEBUG 42 --- [pool-2-thread-1] o.a.p.m.m.E.findEnvironmentsList         : <==      Total: 2
2020-06-22 11:01:12.953 DEBUG 42 --- [pool-2-thread-1] o.a.h.client.protocol.RequestAddCookies  : CookieSpec selected: default
2020-06-22 11:01:12.953 DEBUG 42 --- [pool-2-thread-1] o.a.h.client.protocol.RequestAuthCache   : Auth cache not set in the context
2020-06-22 11:01:12.953 DEBUG 42 --- [pool-2-thread-1] h.i.c.PoolingHttpClientConnectionManager : Connection request: [route: {}->http://10.1.104.130:8080][total kept alive: 2; route allocated: 1 of 10; total allocated: 2 of 100]
2020-06-22 11:01:12.954 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 << "[read] I/O error: Read timed out"
2020-06-22 11:01:12.954 DEBUG 42 --- [pool-2-thread-1] h.i.c.PoolingHttpClientConnectionManager : Connection leased: [id: 466][route: {}->http://10.1.104.130:8080][total kept alive: 1; route allocated: 1 of 10; total allocated: 2 of 100]
2020-06-22 11:01:12.954 DEBUG 42 --- [pool-2-thread-1] h.i.c.DefaultManagedHttpClientConnection : http-outgoing-466: set socket timeout to 0
2020-06-22 11:01:12.955 DEBUG 42 --- [pool-2-thread-1] h.i.c.DefaultManagedHttpClientConnection : http-outgoing-466: set socket timeout to 28000
2020-06-22 11:01:12.955 DEBUG 42 --- [pool-2-thread-1] o.a.http.impl.execchain.MainClientExec   : Executing request GET /admin/v2/clusters HTTP/1.1
2020-06-22 11:01:12.955 DEBUG 42 --- [pool-2-thread-1] o.a.http.impl.execchain.MainClientExec   : Proxy auth state: UNCHALLENGED
2020-06-22 11:01:12.955 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-466 >> GET /admin/v2/clusters HTTP/1.1
2020-06-22 11:01:12.955 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-466 >> Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJhZG1pbiIsImV4cCI6MTY4NzA4NDI5MH0.K5sAvvUjd9J8RxHaBVlDCPnoPW8T6FDa4x9CovoH6v4
2020-06-22 11:01:12.955 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-466 >> Host: 10.1.104.130:8080
2020-06-22 11:01:12.955 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-466 >> Connection: Keep-Alive
2020-06-22 11:01:12.955 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-466 >> User-Agent: Apache-HttpClient/4.5.5 (Java/1.8.0_212)
2020-06-22 11:01:12.955 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-466 >> Accept-Encoding: gzip,deflate
2020-06-22 11:01:12.955 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 >> "GET /admin/v2/clusters HTTP/1.1[\r][\n]"
2020-06-22 11:01:12.955 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 >> "Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJhZG1pbiIsImV4cCI6MTY4NzA4NDI5MH0.K5sAvvUjd9J8RxHaBVlDCPnoPW8T6FDa4x9CovoH6v4[\r][\n]"
2020-06-22 11:01:12.955 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 >> "Host: 10.1.104.130:8080[\r][\n]"
2020-06-22 11:01:12.955 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 >> "Connection: Keep-Alive[\r][\n]"
2020-06-22 11:01:12.955 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 >> "User-Agent: Apache-HttpClient/4.5.5 (Java/1.8.0_212)[\r][\n]"
2020-06-22 11:01:12.955 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 >> "Accept-Encoding: gzip,deflate[\r][\n]"
2020-06-22 11:01:12.955 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 >> "[\r][\n]"
2020-06-22 11:01:12.957 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 << "HTTP/1.1 200 OK[\r][\n]"
2020-06-22 11:01:12.957 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 << "Date: Mon, 22 Jun 2020 11:01:12 GMT[\r][\n]"
2020-06-22 11:01:12.957 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 << "Content-Type: application/json[\r][\n]"
2020-06-22 11:01:12.957 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 << "Content-Length: 22[\r][\n]"
2020-06-22 11:01:12.957 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 << "Server: Jetty(9.4.20.v20190813)[\r][\n]"
2020-06-22 11:01:12.957 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 << "[\r][\n]"
2020-06-22 11:01:12.957 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 << "["shanghai","beijing"]"
2020-06-22 11:01:12.957 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-466 << HTTP/1.1 200 OK
2020-06-22 11:01:12.957 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-466 << Date: Mon, 22 Jun 2020 11:01:12 GMT
2020-06-22 11:01:12.957 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-466 << Content-Type: application/json
2020-06-22 11:01:12.957 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-466 << Content-Length: 22
2020-06-22 11:01:12.957 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-466 << Server: Jetty(9.4.20.v20190813)
2020-06-22 11:01:12.958 DEBUG 42 --- [pool-2-thread-1] o.a.http.impl.execchain.MainClientExec   : Connection can be kept alive indefinitely
2020-06-22 11:01:12.958 DEBUG 42 --- [pool-2-thread-1] h.i.c.PoolingHttpClientConnectionManager : Connection [id: 466][route: {}->http://10.1.104.130:8080] can be kept alive indefinitely
2020-06-22 11:01:12.958 DEBUG 42 --- [pool-2-thread-1] h.i.c.DefaultManagedHttpClientConnection : http-outgoing-466: set socket timeout to 0
2020-06-22 11:01:12.958 DEBUG 42 --- [pool-2-thread-1] h.i.c.PoolingHttpClientConnectionManager : Connection released: [id: 466][route: {}->http://10.1.104.130:8080][total kept alive: 2; route allocated: 1 of 10; total allocated: 2 of 100]
2020-06-22 11:01:12.958  INFO 42 --- [pool-2-thread-1] o.a.p.m.s.i.EnvironmentCacheServiceImpl  : Reload cluster list for environment shanghai : [shanghai, beijing]
2020-06-22 11:01:12.958  INFO 42 --- [pool-2-thread-1] o.a.p.m.s.i.EnvironmentCacheServiceImpl  : Reloading cluster data for cluster shanghai @ environment shanghai ...
2020-06-22 11:01:12.958 DEBUG 42 --- [pool-2-thread-1] o.a.h.client.protocol.RequestAddCookies  : CookieSpec selected: default
2020-06-22 11:01:12.958 DEBUG 42 --- [pool-2-thread-1] o.a.h.client.protocol.RequestAuthCache   : Auth cache not set in the context
2020-06-22 11:01:12.958 DEBUG 42 --- [pool-2-thread-1] h.i.c.PoolingHttpClientConnectionManager : Connection request: [route: {}->http://10.1.104.130:8080][total kept alive: 2; route allocated: 1 of 10; total allocated: 2 of 100]
2020-06-22 11:01:12.958 DEBUG 42 --- [pool-2-thread-1] h.i.c.PoolingHttpClientConnectionManager : Connection leased: [id: 466][route: {}->http://10.1.104.130:8080][total kept alive: 1; route allocated: 1 of 10; total allocated: 2 of 100]
2020-06-22 11:01:12.958 DEBUG 42 --- [pool-2-thread-1] h.i.c.DefaultManagedHttpClientConnection : http-outgoing-466: set socket timeout to 0
2020-06-22 11:01:12.958 DEBUG 42 --- [pool-2-thread-1] h.i.c.DefaultManagedHttpClientConnection : http-outgoing-466: set socket timeout to 28000
2020-06-22 11:01:12.958 DEBUG 42 --- [pool-2-thread-1] o.a.http.impl.execchain.MainClientExec   : Executing request GET /admin/v2/clusters/shanghai HTTP/1.1
2020-06-22 11:01:12.958 DEBUG 42 --- [pool-2-thread-1] o.a.http.impl.execchain.MainClientExec   : Proxy auth state: UNCHALLENGED
2020-06-22 11:01:12.958 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-466 >> GET /admin/v2/clusters/shanghai HTTP/1.1
2020-06-22 11:01:12.958 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-466 >> Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJhZG1pbiIsImV4cCI6MTY4NzA4NDI5MH0.K5sAvvUjd9J8RxHaBVlDCPnoPW8T6FDa4x9CovoH6v4
2020-06-22 11:01:12.958 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-466 >> Host: 10.1.104.130:8080
2020-06-22 11:01:12.958 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-466 >> Connection: Keep-Alive
2020-06-22 11:01:12.958 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-466 >> User-Agent: Apache-HttpClient/4.5.5 (Java/1.8.0_212)
2020-06-22 11:01:12.959 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-466 >> Accept-Encoding: gzip,deflate
2020-06-22 11:01:12.959 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 >> "GET /admin/v2/clusters/shanghai HTTP/1.1[\r][\n]"
2020-06-22 11:01:12.959 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 >> "Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJhZG1pbiIsImV4cCI6MTY4NzA4NDI5MH0.K5sAvvUjd9J8RxHaBVlDCPnoPW8T6FDa4x9CovoH6v4[\r][\n]"
2020-06-22 11:01:12.959 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 >> "Host: 10.1.104.130:8080[\r][\n]"
2020-06-22 11:01:12.959 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 >> "Connection: Keep-Alive[\r][\n]"
2020-06-22 11:01:12.959 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 >> "User-Agent: Apache-HttpClient/4.5.5 (Java/1.8.0_212)[\r][\n]"
2020-06-22 11:01:12.959 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 >> "Accept-Encoding: gzip,deflate[\r][\n]"
2020-06-22 11:01:12.959 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 >> "[\r][\n]"
2020-06-22 11:01:12.961 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 << "HTTP/1.1 200 OK[\r][\n]"
2020-06-22 11:01:12.961 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 << "Date: Mon, 22 Jun 2020 11:01:12 GMT[\r][\n]"
2020-06-22 11:01:12.961 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 << "Content-Type: application/json[\r][\n]"
2020-06-22 11:01:12.961 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 << "Content-Length: 188[\r][\n]"
2020-06-22 11:01:12.961 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 << "Server: Jetty(9.4.20.v20190813)[\r][\n]"
2020-06-22 11:01:12.961 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 << "[\r][\n]"
2020-06-22 11:01:12.961 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 << "{"serviceUrl":"http://10.1.104.136:8080","serviceUrlTls":"https://10.1.104.136:8443","brokerServiceUrl":"pulsar://10.1.104.136:6650","brokerServiceUrlTls":"pulsar+ssl://10.1.104.136:6651"}"
2020-06-22 11:01:12.961 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-466 << HTTP/1.1 200 OK
2020-06-22 11:01:12.961 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-466 << Date: Mon, 22 Jun 2020 11:01:12 GMT
2020-06-22 11:01:12.961 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-466 << Content-Type: application/json
2020-06-22 11:01:12.961 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-466 << Content-Length: 188
2020-06-22 11:01:12.961 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-466 << Server: Jetty(9.4.20.v20190813)
2020-06-22 11:01:12.961 DEBUG 42 --- [pool-2-thread-1] o.a.http.impl.execchain.MainClientExec   : Connection can be kept alive indefinitely
2020-06-22 11:01:12.961 DEBUG 42 --- [pool-2-thread-1] h.i.c.PoolingHttpClientConnectionManager : Connection [id: 466][route: {}->http://10.1.104.130:8080] can be kept alive indefinitely
2020-06-22 11:01:12.961 DEBUG 42 --- [pool-2-thread-1] h.i.c.DefaultManagedHttpClientConnection : http-outgoing-466: set socket timeout to 0
2020-06-22 11:01:12.961 DEBUG 42 --- [pool-2-thread-1] h.i.c.PoolingHttpClientConnectionManager : Connection released: [id: 466][route: {}->http://10.1.104.130:8080][total kept alive: 2; route allocated: 1 of 10; total allocated: 2 of 100]
2020-06-22 11:01:12.961  INFO 42 --- [pool-2-thread-1] o.a.p.m.s.i.EnvironmentCacheServiceImpl  : Loaded cluster data for cluster shanghai @ environment shanghai from http://10.1.104.130:8080/admin/v2/clusters/shanghai : {"serviceUrl":"http://10.1.104.136:8080","serviceUrlTls":"https://10.1.104.136:8443","brokerServiceUrl":"pulsar://10.1.104.136:6650","brokerServiceUrlTls":"pulsar+ssl://10.1.104.136:6651"}
2020-06-22 11:01:12.961  INFO 42 --- [pool-2-thread-1] o.a.p.m.s.i.EnvironmentCacheServiceImpl  : Successfully loaded cluster data for cluster shanghai @ environment shanghai : ClusterData{serviceUrl=http://10.1.104.136:8080, serviceUrlTls=https://10.1.104.136:8443, brokerServiceUrl=pulsar://10.1.104.136:6650, brokerServiceUrlTls=pulsar+ssl://10.1.104.136:6651, peerClusterNames=null}
2020-06-22 11:01:12.961  INFO 42 --- [pool-2-thread-1] o.a.p.m.s.i.EnvironmentCacheServiceImpl  : Reloading cluster data for cluster beijing @ environment shanghai ...
2020-06-22 11:01:12.962 DEBUG 42 --- [pool-2-thread-1] o.a.h.client.protocol.RequestAddCookies  : CookieSpec selected: default
2020-06-22 11:01:12.962 DEBUG 42 --- [pool-2-thread-1] o.a.h.client.protocol.RequestAuthCache   : Auth cache not set in the context
2020-06-22 11:01:12.962 DEBUG 42 --- [pool-2-thread-1] h.i.c.PoolingHttpClientConnectionManager : Connection request: [route: {}->http://10.1.104.130:8080][total kept alive: 2; route allocated: 1 of 10; total allocated: 2 of 100]
2020-06-22 11:01:12.962 DEBUG 42 --- [pool-2-thread-1] h.i.c.PoolingHttpClientConnectionManager : Connection leased: [id: 466][route: {}->http://10.1.104.130:8080][total kept alive: 1; route allocated: 1 of 10; total allocated: 2 of 100]
2020-06-22 11:01:12.962 DEBUG 42 --- [pool-2-thread-1] h.i.c.DefaultManagedHttpClientConnection : http-outgoing-466: set socket timeout to 0
2020-06-22 11:01:12.962 DEBUG 42 --- [pool-2-thread-1] h.i.c.DefaultManagedHttpClientConnection : http-outgoing-466: set socket timeout to 28000
2020-06-22 11:01:12.962 DEBUG 42 --- [pool-2-thread-1] o.a.http.impl.execchain.MainClientExec   : Executing request GET /admin/v2/clusters/beijing HTTP/1.1
2020-06-22 11:01:12.962 DEBUG 42 --- [pool-2-thread-1] o.a.http.impl.execchain.MainClientExec   : Proxy auth state: UNCHALLENGED
2020-06-22 11:01:12.962 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-466 >> GET /admin/v2/clusters/beijing HTTP/1.1
2020-06-22 11:01:12.962 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-466 >> Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJhZG1pbiIsImV4cCI6MTY4NzA4NDI5MH0.K5sAvvUjd9J8RxHaBVlDCPnoPW8T6FDa4x9CovoH6v4
2020-06-22 11:01:12.962 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-466 >> Host: 10.1.104.130:8080
2020-06-22 11:01:12.962 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-466 >> Connection: Keep-Alive
2020-06-22 11:01:12.962 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-466 >> User-Agent: Apache-HttpClient/4.5.5 (Java/1.8.0_212)
2020-06-22 11:01:12.962 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-466 >> Accept-Encoding: gzip,deflate
2020-06-22 11:01:12.962 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 >> "GET /admin/v2/clusters/beijing HTTP/1.1[\r][\n]"
2020-06-22 11:01:12.962 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 >> "Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJhZG1pbiIsImV4cCI6MTY4NzA4NDI5MH0.K5sAvvUjd9J8RxHaBVlDCPnoPW8T6FDa4x9CovoH6v4[\r][\n]"
2020-06-22 11:01:12.962 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 >> "Host: 10.1.104.130:8080[\r][\n]"
2020-06-22 11:01:12.962 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 >> "Connection: Keep-Alive[\r][\n]"
2020-06-22 11:01:12.962 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 >> "User-Agent: Apache-HttpClient/4.5.5 (Java/1.8.0_212)[\r][\n]"
2020-06-22 11:01:12.962 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 >> "Accept-Encoding: gzip,deflate[\r][\n]"
2020-06-22 11:01:12.962 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 >> "[\r][\n]"
2020-06-22 11:01:12.963 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 << "HTTP/1.1 200 OK[\r][\n]"
2020-06-22 11:01:12.963 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 << "Date: Mon, 22 Jun 2020 11:01:12 GMT[\r][\n]"
2020-06-22 11:01:12.963 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 << "Content-Type: application/json[\r][\n]"
2020-06-22 11:01:12.963 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 << "Content-Length: 188[\r][\n]"
2020-06-22 11:01:12.963 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 << "Server: Jetty(9.4.20.v20190813)[\r][\n]"
2020-06-22 11:01:12.963 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 << "[\r][\n]"
2020-06-22 11:01:12.963 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 << "{"serviceUrl":"http://10.1.104.220:8080","serviceUrlTls":"https://10.1.104.220:8443","brokerServiceUrl":"pulsar://10.1.104.220:6650","brokerServiceUrlTls":"pulsar+ssl://10.1.104.220:6651"}"
2020-06-22 11:01:12.963 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-466 << HTTP/1.1 200 OK
2020-06-22 11:01:12.963 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-466 << Date: Mon, 22 Jun 2020 11:01:12 GMT
2020-06-22 11:01:12.963 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-466 << Content-Type: application/json
2020-06-22 11:01:12.963 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-466 << Content-Length: 188
2020-06-22 11:01:12.963 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-466 << Server: Jetty(9.4.20.v20190813)
2020-06-22 11:01:12.963 DEBUG 42 --- [pool-2-thread-1] o.a.http.impl.execchain.MainClientExec   : Connection can be kept alive indefinitely
2020-06-22 11:01:12.963 DEBUG 42 --- [pool-2-thread-1] h.i.c.PoolingHttpClientConnectionManager : Connection [id: 466][route: {}->http://10.1.104.130:8080] can be kept alive indefinitely
2020-06-22 11:01:12.963 DEBUG 42 --- [pool-2-thread-1] h.i.c.DefaultManagedHttpClientConnection : http-outgoing-466: set socket timeout to 0
2020-06-22 11:01:12.964 DEBUG 42 --- [pool-2-thread-1] h.i.c.PoolingHttpClientConnectionManager : Connection released: [id: 466][route: {}->http://10.1.104.130:8080][total kept alive: 2; route allocated: 1 of 10; total allocated: 2 of 100]
2020-06-22 11:01:12.964  INFO 42 --- [pool-2-thread-1] o.a.p.m.s.i.EnvironmentCacheServiceImpl  : Loaded cluster data for cluster beijing @ environment shanghai from http://10.1.104.130:8080/admin/v2/clusters/beijing : {"serviceUrl":"http://10.1.104.220:8080","serviceUrlTls":"https://10.1.104.220:8443","brokerServiceUrl":"pulsar://10.1.104.220:6650","brokerServiceUrlTls":"pulsar+ssl://10.1.104.220:6651"}
2020-06-22 11:01:12.964  INFO 42 --- [pool-2-thread-1] o.a.p.m.s.i.EnvironmentCacheServiceImpl  : Successfully loaded cluster data for cluster beijing @ environment shanghai : ClusterData{serviceUrl=http://10.1.104.220:8080, serviceUrlTls=https://10.1.104.220:8443, brokerServiceUrl=pulsar://10.1.104.220:6650, brokerServiceUrlTls=pulsar+ssl://10.1.104.220:6651, peerClusterNames=null}
2020-06-22 11:01:12.964 DEBUG 42 --- [pool-2-thread-1] o.a.h.client.protocol.RequestAddCookies  : CookieSpec selected: default
2020-06-22 11:01:12.964 DEBUG 42 --- [pool-2-thread-1] o.a.h.client.protocol.RequestAuthCache   : Auth cache not set in the context
2020-06-22 11:01:12.964 DEBUG 42 --- [pool-2-thread-1] h.i.c.PoolingHttpClientConnectionManager : Connection request: [route: {}->http://10.1.104.133:8080][total kept alive: 2; route allocated: 1 of 10; total allocated: 2 of 100]
2020-06-22 11:01:12.964 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-464 << "end of stream"
2020-06-22 11:01:12.964 DEBUG 42 --- [pool-2-thread-1] h.i.c.DefaultManagedHttpClientConnection : http-outgoing-464: Close connection
2020-06-22 11:01:12.964 DEBUG 42 --- [pool-2-thread-1] h.i.c.PoolingHttpClientConnectionManager : Connection leased: [id: 468][route: {}->http://10.1.104.133:8080][total kept alive: 1; route allocated: 1 of 10; total allocated: 2 of 100]
2020-06-22 11:01:12.964 DEBUG 42 --- [pool-2-thread-1] o.a.http.impl.execchain.MainClientExec   : Opening connection {}->http://10.1.104.133:8080
2020-06-22 11:01:12.964 DEBUG 42 --- [pool-2-thread-1] .i.c.DefaultHttpClientConnectionOperator : Connecting to /10.1.104.133:8080
2020-06-22 11:01:12.965 DEBUG 42 --- [pool-2-thread-1] .i.c.DefaultHttpClientConnectionOperator : Connection established 172.17.0.2:51448<->10.1.104.133:8080
2020-06-22 11:01:12.965 DEBUG 42 --- [pool-2-thread-1] h.i.c.DefaultManagedHttpClientConnection : http-outgoing-468: set socket timeout to 28000
2020-06-22 11:01:12.965 DEBUG 42 --- [pool-2-thread-1] o.a.http.impl.execchain.MainClientExec   : Executing request GET /admin/v2/clusters HTTP/1.1
2020-06-22 11:01:12.965 DEBUG 42 --- [pool-2-thread-1] o.a.http.impl.execchain.MainClientExec   : Proxy auth state: UNCHALLENGED
2020-06-22 11:01:12.965 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-468 >> GET /admin/v2/clusters HTTP/1.1
2020-06-22 11:01:12.965 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-468 >> Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJhZG1pbiIsImV4cCI6MTY4NzA4NDI5MH0.K5sAvvUjd9J8RxHaBVlDCPnoPW8T6FDa4x9CovoH6v4
2020-06-22 11:01:12.965 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-468 >> Host: 10.1.104.133:8080
2020-06-22 11:01:12.965 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-468 >> Connection: Keep-Alive
2020-06-22 11:01:12.965 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-468 >> User-Agent: Apache-HttpClient/4.5.5 (Java/1.8.0_212)
2020-06-22 11:01:12.965 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-468 >> Accept-Encoding: gzip,deflate
2020-06-22 11:01:12.965 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-468 >> "GET /admin/v2/clusters HTTP/1.1[\r][\n]"
2020-06-22 11:01:12.965 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-468 >> "Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJhZG1pbiIsImV4cCI6MTY4NzA4NDI5MH0.K5sAvvUjd9J8RxHaBVlDCPnoPW8T6FDa4x9CovoH6v4[\r][\n]"
2020-06-22 11:01:12.965 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-468 >> "Host: 10.1.104.133:8080[\r][\n]"
2020-06-22 11:01:12.965 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-468 >> "Connection: Keep-Alive[\r][\n]"
2020-06-22 11:01:12.965 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-468 >> "User-Agent: Apache-HttpClient/4.5.5 (Java/1.8.0_212)[\r][\n]"
2020-06-22 11:01:12.965 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-468 >> "Accept-Encoding: gzip,deflate[\r][\n]"
2020-06-22 11:01:12.965 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-468 >> "[\r][\n]"
2020-06-22 11:01:12.970 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-468 << "HTTP/1.1 200 OK[\r][\n]"
2020-06-22 11:01:12.970 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-468 << "Date: Mon, 22 Jun 2020 11:01:12 GMT[\r][\n]"
2020-06-22 11:01:12.970 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-468 << "Content-Type: application/json[\r][\n]"
2020-06-22 11:01:12.971 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-468 << "Content-Length: 22[\r][\n]"
2020-06-22 11:01:12.971 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-468 << "Server: Jetty(9.4.20.v20190813)[\r][\n]"
2020-06-22 11:01:12.971 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-468 << "[\r][\n]"
2020-06-22 11:01:12.971 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-468 << "["shanghai","beijing"]"
2020-06-22 11:01:12.971 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-468 << HTTP/1.1 200 OK
2020-06-22 11:01:12.971 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-468 << Date: Mon, 22 Jun 2020 11:01:12 GMT
2020-06-22 11:01:12.971 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-468 << Content-Type: application/json
2020-06-22 11:01:12.971 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-468 << Content-Length: 22
2020-06-22 11:01:12.971 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-468 << Server: Jetty(9.4.20.v20190813)
2020-06-22 11:01:12.971 DEBUG 42 --- [pool-2-thread-1] o.a.http.impl.execchain.MainClientExec   : Connection can be kept alive indefinitely
2020-06-22 11:01:12.971 DEBUG 42 --- [pool-2-thread-1] h.i.c.PoolingHttpClientConnectionManager : Connection [id: 468][route: {}->http://10.1.104.133:8080] can be kept alive indefinitely
2020-06-22 11:01:12.971 DEBUG 42 --- [pool-2-thread-1] h.i.c.DefaultManagedHttpClientConnection : http-outgoing-468: set socket timeout to 0
2020-06-22 11:01:12.971 DEBUG 42 --- [pool-2-thread-1] h.i.c.PoolingHttpClientConnectionManager : Connection released: [id: 468][route: {}->http://10.1.104.133:8080][total kept alive: 2; route allocated: 1 of 10; total allocated: 2 of 100]
2020-06-22 11:01:12.971  INFO 42 --- [pool-2-thread-1] o.a.p.m.s.i.EnvironmentCacheServiceImpl  : Reload cluster list for environment beijing : [shanghai, beijing]
2020-06-22 11:01:12.971  INFO 42 --- [pool-2-thread-1] o.a.p.m.s.i.EnvironmentCacheServiceImpl  : Reloading cluster data for cluster shanghai @ environment beijing ...
2020-06-22 11:01:12.971 DEBUG 42 --- [pool-2-thread-1] o.a.h.client.protocol.RequestAddCookies  : CookieSpec selected: default
2020-06-22 11:01:12.971 DEBUG 42 --- [pool-2-thread-1] o.a.h.client.protocol.RequestAuthCache   : Auth cache not set in the context
2020-06-22 11:01:12.971 DEBUG 42 --- [pool-2-thread-1] h.i.c.PoolingHttpClientConnectionManager : Connection request: [route: {}->http://10.1.104.133:8080][total kept alive: 2; route allocated: 1 of 10; total allocated: 2 of 100]
2020-06-22 11:01:12.971 DEBUG 42 --- [pool-2-thread-1] h.i.c.PoolingHttpClientConnectionManager : Connection leased: [id: 468][route: {}->http://10.1.104.133:8080][total kept alive: 1; route allocated: 1 of 10; total allocated: 2 of 100]
2020-06-22 11:01:12.971 DEBUG 42 --- [pool-2-thread-1] h.i.c.DefaultManagedHttpClientConnection : http-outgoing-468: set socket timeout to 0
2020-06-22 11:01:12.971 DEBUG 42 --- [pool-2-thread-1] h.i.c.DefaultManagedHttpClientConnection : http-outgoing-468: set socket timeout to 28000
2020-06-22 11:01:12.971 DEBUG 42 --- [pool-2-thread-1] o.a.http.impl.execchain.MainClientExec   : Executing request GET /admin/v2/clusters/shanghai HTTP/1.1
2020-06-22 11:01:12.971 DEBUG 42 --- [pool-2-thread-1] o.a.http.impl.execchain.MainClientExec   : Proxy auth state: UNCHALLENGED
2020-06-22 11:01:12.971 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-468 >> GET /admin/v2/clusters/shanghai HTTP/1.1
2020-06-22 11:01:12.971 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-468 >> Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJhZG1pbiIsImV4cCI6MTY4NzA4NDI5MH0.K5sAvvUjd9J8RxHaBVlDCPnoPW8T6FDa4x9CovoH6v4
2020-06-22 11:01:12.971 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-468 >> Host: 10.1.104.133:8080
2020-06-22 11:01:12.971 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-468 >> Connection: Keep-Alive
2020-06-22 11:01:12.972 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-468 >> User-Agent: Apache-HttpClient/4.5.5 (Java/1.8.0_212)
2020-06-22 11:01:12.972 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-468 >> Accept-Encoding: gzip,deflate
2020-06-22 11:01:12.972 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-468 >> "GET /admin/v2/clusters/shanghai HTTP/1.1[\r][\n]"
2020-06-22 11:01:12.972 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-468 >> "Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJhZG1pbiIsImV4cCI6MTY4NzA4NDI5MH0.K5sAvvUjd9J8RxHaBVlDCPnoPW8T6FDa4x9CovoH6v4[\r][\n]"
2020-06-22 11:01:12.972 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-468 >> "Host: 10.1.104.133:8080[\r][\n]"
2020-06-22 11:01:12.972 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-468 >> "Connection: Keep-Alive[\r][\n]"
2020-06-22 11:01:12.972 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-468 >> "User-Agent: Apache-HttpClient/4.5.5 (Java/1.8.0_212)[\r][\n]"
2020-06-22 11:01:12.972 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-468 >> "Accept-Encoding: gzip,deflate[\r][\n]"
2020-06-22 11:01:12.972 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-468 >> "[\r][\n]"
2020-06-22 11:01:12.976 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-468 << "HTTP/1.1 200 OK[\r][\n]"
2020-06-22 11:01:12.976 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-468 << "Date: Mon, 22 Jun 2020 11:01:12 GMT[\r][\n]"
2020-06-22 11:01:12.976 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-468 << "Content-Type: application/json[\r][\n]"
2020-06-22 11:01:12.976 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-468 << "Content-Length: 188[\r][\n]"
2020-06-22 11:01:12.976 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-468 << "Server: Jetty(9.4.20.v20190813)[\r][\n]"
2020-06-22 11:01:12.976 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-468 << "[\r][\n]"
2020-06-22 11:01:12.976 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-468 << "{"serviceUrl":"http://10.1.104.136:8080","serviceUrlTls":"https://10.1.104.136:8443","brokerServiceUrl":"pulsar://10.1.104.136:6650","brokerServiceUrlTls":"pulsar+ssl://10.1.104.136:6651"}"
2020-06-22 11:01:12.976 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-468 << HTTP/1.1 200 OK
2020-06-22 11:01:12.976 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-468 << Date: Mon, 22 Jun 2020 11:01:12 GMT
2020-06-22 11:01:12.976 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-468 << Content-Type: application/json
2020-06-22 11:01:12.976 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-468 << Content-Length: 188
2020-06-22 11:01:12.976 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-468 << Server: Jetty(9.4.20.v20190813)
2020-06-22 11:01:12.976 DEBUG 42 --- [pool-2-thread-1] o.a.http.impl.execchain.MainClientExec   : Connection can be kept alive indefinitely
2020-06-22 11:01:12.977 DEBUG 42 --- [pool-2-thread-1] h.i.c.PoolingHttpClientConnectionManager : Connection [id: 468][route: {}->http://10.1.104.133:8080] can be kept alive indefinitely
2020-06-22 11:01:12.977 DEBUG 42 --- [pool-2-thread-1] h.i.c.DefaultManagedHttpClientConnection : http-outgoing-468: set socket timeout to 0
2020-06-22 11:01:12.977 DEBUG 42 --- [pool-2-thread-1] h.i.c.PoolingHttpClientConnectionManager : Connection released: [id: 468][route: {}->http://10.1.104.133:8080][total kept alive: 2; route allocated: 1 of 10; total allocated: 2 of 100]
2020-06-22 11:01:12.977  INFO 42 --- [pool-2-thread-1] o.a.p.m.s.i.EnvironmentCacheServiceImpl  : Loaded cluster data for cluster shanghai @ environment beijing from http://10.1.104.133:8080/admin/v2/clusters/shanghai : {"serviceUrl":"http://10.1.104.136:8080","serviceUrlTls":"https://10.1.104.136:8443","brokerServiceUrl":"pulsar://10.1.104.136:6650","brokerServiceUrlTls":"pulsar+ssl://10.1.104.136:6651"}
2020-06-22 11:01:12.977  INFO 42 --- [pool-2-thread-1] o.a.p.m.s.i.EnvironmentCacheServiceImpl  : Successfully loaded cluster data for cluster shanghai @ environment beijing : ClusterData{serviceUrl=http://10.1.104.136:8080, serviceUrlTls=https://10.1.104.136:8443, brokerServiceUrl=pulsar://10.1.104.136:6650, brokerServiceUrlTls=pulsar+ssl://10.1.104.136:6651, peerClusterNames=null}
2020-06-22 11:01:12.977  INFO 42 --- [pool-2-thread-1] o.a.p.m.s.i.EnvironmentCacheServiceImpl  : Reloading cluster data for cluster beijing @ environment beijing ...
2020-06-22 11:01:12.977 DEBUG 42 --- [pool-2-thread-1] o.a.h.client.protocol.RequestAddCookies  : CookieSpec selected: default
2020-06-22 11:01:12.977 DEBUG 42 --- [pool-2-thread-1] o.a.h.client.protocol.RequestAuthCache   : Auth cache not set in the context
2020-06-22 11:01:12.977 DEBUG 42 --- [pool-2-thread-1] h.i.c.PoolingHttpClientConnectionManager : Connection request: [route: {}->http://10.1.104.133:8080][total kept alive: 2; route allocated: 1 of 10; total allocated: 2 of 100]
2020-06-22 11:01:12.978 DEBUG 42 --- [pool-2-thread-1] h.i.c.PoolingHttpClientConnectionManager : Connection leased: [id: 468][route: {}->http://10.1.104.133:8080][total kept alive: 1; route allocated: 1 of 10; total allocated: 2 of 100]
2020-06-22 11:01:12.978 DEBUG 42 --- [pool-2-thread-1] h.i.c.DefaultManagedHttpClientConnection : http-outgoing-468: set socket timeout to 0
2020-06-22 11:01:12.978 DEBUG 42 --- [pool-2-thread-1] h.i.c.DefaultManagedHttpClientConnection : http-outgoing-468: set socket timeout to 28000
2020-06-22 11:01:12.978 DEBUG 42 --- [pool-2-thread-1] o.a.http.impl.execchain.MainClientExec   : Executing request GET /admin/v2/clusters/beijing HTTP/1.1
2020-06-22 11:01:12.978 DEBUG 42 --- [pool-2-thread-1] o.a.http.impl.execchain.MainClientExec   : Proxy auth state: UNCHALLENGED
2020-06-22 11:01:12.978 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-468 >> GET /admin/v2/clusters/beijing HTTP/1.1
2020-06-22 11:01:12.978 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-468 >> Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJhZG1pbiIsImV4cCI6MTY4NzA4NDI5MH0.K5sAvvUjd9J8RxHaBVlDCPnoPW8T6FDa4x9CovoH6v4
2020-06-22 11:01:12.978 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-468 >> Host: 10.1.104.133:8080
2020-06-22 11:01:12.978 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-468 >> Connection: Keep-Alive
2020-06-22 11:01:12.978 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-468 >> User-Agent: Apache-HttpClient/4.5.5 (Java/1.8.0_212)
2020-06-22 11:01:12.978 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-468 >> Accept-Encoding: gzip,deflate
2020-06-22 11:01:12.978 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-468 >> "GET /admin/v2/clusters/beijing HTTP/1.1[\r][\n]"
2020-06-22 11:01:12.978 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-468 >> "Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJhZG1pbiIsImV4cCI6MTY4NzA4NDI5MH0.K5sAvvUjd9J8RxHaBVlDCPnoPW8T6FDa4x9CovoH6v4[\r][\n]"
2020-06-22 11:01:12.978 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-468 >> "Host: 10.1.104.133:8080[\r][\n]"
2020-06-22 11:01:12.978 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-468 >> "Connection: Keep-Alive[\r][\n]"
2020-06-22 11:01:12.978 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-468 >> "User-Agent: Apache-HttpClient/4.5.5 (Java/1.8.0_212)[\r][\n]"
2020-06-22 11:01:12.978 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-468 >> "Accept-Encoding: gzip,deflate[\r][\n]"
2020-06-22 11:01:12.978 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-468 >> "[\r][\n]"
2020-06-22 11:01:12.980 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-468 << "HTTP/1.1 200 OK[\r][\n]"
2020-06-22 11:01:12.980 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-468 << "Date: Mon, 22 Jun 2020 11:01:12 GMT[\r][\n]"
2020-06-22 11:01:12.980 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-468 << "Content-Type: application/json[\r][\n]"
2020-06-22 11:01:12.980 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-468 << "Content-Length: 188[\r][\n]"
2020-06-22 11:01:12.981 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-468 << "Server: Jetty(9.4.20.v20190813)[\r][\n]"
2020-06-22 11:01:12.981 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-468 << "[\r][\n]"
2020-06-22 11:01:12.981 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-468 << "{"serviceUrl":"http://10.1.104.220:8080","serviceUrlTls":"https://10.1.104.220:8443","brokerServiceUrl":"pulsar://10.1.104.220:6650","brokerServiceUrlTls":"pulsar+ssl://10.1.104.220:6651"}"
2020-06-22 11:01:12.981 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-468 << HTTP/1.1 200 OK
2020-06-22 11:01:12.981 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-468 << Date: Mon, 22 Jun 2020 11:01:12 GMT
2020-06-22 11:01:12.981 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-468 << Content-Type: application/json
2020-06-22 11:01:12.981 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-468 << Content-Length: 188
2020-06-22 11:01:12.981 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-468 << Server: Jetty(9.4.20.v20190813)
2020-06-22 11:01:12.981 DEBUG 42 --- [pool-2-thread-1] o.a.http.impl.execchain.MainClientExec   : Connection can be kept alive indefinitely
2020-06-22 11:01:12.981 DEBUG 42 --- [pool-2-thread-1] h.i.c.PoolingHttpClientConnectionManager : Connection [id: 468][route: {}->http://10.1.104.133:8080] can be kept alive indefinitely
2020-06-22 11:01:12.981 DEBUG 42 --- [pool-2-thread-1] h.i.c.DefaultManagedHttpClientConnection : http-outgoing-468: set socket timeout to 0
2020-06-22 11:01:12.981 DEBUG 42 --- [pool-2-thread-1] h.i.c.PoolingHttpClientConnectionManager : Connection released: [id: 468][route: {}->http://10.1.104.133:8080][total kept alive: 2; route allocated: 1 of 10; total allocated: 2 of 100]
2020-06-22 11:01:12.981  INFO 42 --- [pool-2-thread-1] o.a.p.m.s.i.EnvironmentCacheServiceImpl  : Loaded cluster data for cluster beijing @ environment beijing from http://10.1.104.133:8080/admin/v2/clusters/beijing : {"serviceUrl":"http://10.1.104.220:8080","serviceUrlTls":"https://10.1.104.220:8443","brokerServiceUrl":"pulsar://10.1.104.220:6650","brokerServiceUrlTls":"pulsar+ssl://10.1.104.220:6651"}
2020-06-22 11:01:12.982  INFO 42 --- [pool-2-thread-1] o.a.p.m.s.i.EnvironmentCacheServiceImpl  : Successfully loaded cluster data for cluster beijing @ environment beijing : ClusterData{serviceUrl=http://10.1.104.220:8080, serviceUrlTls=https://10.1.104.220:8443, brokerServiceUrl=pulsar://10.1.104.220:6650, brokerServiceUrlTls=pulsar+ssl://10.1.104.220:6651, peerClusterNames=null}
2020-06-22 11:01:12.982 DEBUG 42 --- [pool-2-thread-1] o.a.p.m.m.E.findEnvironmentsList_COUNT   : ==>  Preparing: SELECT count(0) FROM environments 
2020-06-22 11:01:12.983 DEBUG 42 --- [pool-2-thread-1] o.a.p.m.m.E.findEnvironmentsList_COUNT   : ==> Parameters: 
2020-06-22 11:01:12.983 DEBUG 42 --- [pool-2-thread-1] o.a.p.m.m.E.findEnvironmentsList_COUNT   : <==      Total: 1
2020-06-22 11:01:12.983 DEBUG 42 --- [pool-2-thread-1] o.a.p.m.m.E.findEnvironmentsList         : ==>  Preparing: SELECT name,broker FROM environments LIMIT ? 
2020-06-22 11:01:12.983 DEBUG 42 --- [pool-2-thread-1] o.a.p.m.m.E.findEnvironmentsList         : ==> Parameters: 100(Integer)
2020-06-22 11:01:12.984 DEBUG 42 --- [pool-2-thread-1] o.a.p.m.m.E.findEnvironmentsList         : <==      Total: 2
2020-06-22 11:01:12.984 DEBUG 42 --- [pool-2-thread-1] o.a.h.client.protocol.RequestAddCookies  : CookieSpec selected: default
2020-06-22 11:01:12.984 DEBUG 42 --- [pool-2-thread-1] o.a.h.client.protocol.RequestAuthCache   : Auth cache not set in the context
2020-06-22 11:01:12.985 DEBUG 42 --- [pool-2-thread-1] h.i.c.PoolingHttpClientConnectionManager : Connection request: [route: {}->http://10.1.104.130:8080][total kept alive: 2; route allocated: 1 of 10; total allocated: 2 of 100]
2020-06-22 11:01:12.985 DEBUG 42 --- [pool-2-thread-1] h.i.c.PoolingHttpClientConnectionManager : Connection leased: [id: 466][route: {}->http://10.1.104.130:8080][total kept alive: 1; route allocated: 1 of 10; total allocated: 2 of 100]
2020-06-22 11:01:12.985 DEBUG 42 --- [pool-2-thread-1] h.i.c.DefaultManagedHttpClientConnection : http-outgoing-466: set socket timeout to 0
2020-06-22 11:01:12.985 DEBUG 42 --- [pool-2-thread-1] h.i.c.DefaultManagedHttpClientConnection : http-outgoing-466: set socket timeout to 28000
2020-06-22 11:01:12.985 DEBUG 42 --- [pool-2-thread-1] o.a.http.impl.execchain.MainClientExec   : Executing request GET /admin/v2/clusters HTTP/1.1
2020-06-22 11:01:12.985 DEBUG 42 --- [pool-2-thread-1] o.a.http.impl.execchain.MainClientExec   : Proxy auth state: UNCHALLENGED
2020-06-22 11:01:12.985 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-466 >> GET /admin/v2/clusters HTTP/1.1
2020-06-22 11:01:12.985 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-466 >> Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJhZG1pbiIsImV4cCI6MTY4NzA4NDI5MH0.K5sAvvUjd9J8RxHaBVlDCPnoPW8T6FDa4x9CovoH6v4
2020-06-22 11:01:12.985 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-466 >> Host: 10.1.104.130:8080
2020-06-22 11:01:12.985 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-466 >> Connection: Keep-Alive
2020-06-22 11:01:12.985 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-466 >> User-Agent: Apache-HttpClient/4.5.5 (Java/1.8.0_212)
2020-06-22 11:01:12.985 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-466 >> Accept-Encoding: gzip,deflate
2020-06-22 11:01:12.985 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 >> "GET /admin/v2/clusters HTTP/1.1[\r][\n]"
2020-06-22 11:01:12.985 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 >> "Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJhZG1pbiIsImV4cCI6MTY4NzA4NDI5MH0.K5sAvvUjd9J8RxHaBVlDCPnoPW8T6FDa4x9CovoH6v4[\r][\n]"
2020-06-22 11:01:12.985 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 >> "Host: 10.1.104.130:8080[\r][\n]"
2020-06-22 11:01:12.985 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 >> "Connection: Keep-Alive[\r][\n]"
2020-06-22 11:01:12.985 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 >> "User-Agent: Apache-HttpClient/4.5.5 (Java/1.8.0_212)[\r][\n]"
2020-06-22 11:01:12.985 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 >> "Accept-Encoding: gzip,deflate[\r][\n]"
2020-06-22 11:01:12.985 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 >> "[\r][\n]"
2020-06-22 11:01:12.986 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 << "HTTP/1.1 200 OK[\r][\n]"
2020-06-22 11:01:12.986 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 << "Date: Mon, 22 Jun 2020 11:01:12 GMT[\r][\n]"
2020-06-22 11:01:12.986 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 << "Content-Type: application/json[\r][\n]"
2020-06-22 11:01:12.986 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 << "Content-Length: 22[\r][\n]"
2020-06-22 11:01:12.986 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 << "Server: Jetty(9.4.20.v20190813)[\r][\n]"
2020-06-22 11:01:12.986 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 << "[\r][\n]"
2020-06-22 11:01:12.986 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 << "["shanghai","beijing"]"
2020-06-22 11:01:12.986 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-466 << HTTP/1.1 200 OK
2020-06-22 11:01:12.986 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-466 << Date: Mon, 22 Jun 2020 11:01:12 GMT
2020-06-22 11:01:12.986 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-466 << Content-Type: application/json
2020-06-22 11:01:12.986 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-466 << Content-Length: 22
2020-06-22 11:01:12.986 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-466 << Server: Jetty(9.4.20.v20190813)
2020-06-22 11:01:12.986 DEBUG 42 --- [pool-2-thread-1] o.a.http.impl.execchain.MainClientExec   : Connection can be kept alive indefinitely
2020-06-22 11:01:12.986 DEBUG 42 --- [pool-2-thread-1] h.i.c.PoolingHttpClientConnectionManager : Connection [id: 466][route: {}->http://10.1.104.130:8080] can be kept alive indefinitely
2020-06-22 11:01:12.986 DEBUG 42 --- [pool-2-thread-1] h.i.c.DefaultManagedHttpClientConnection : http-outgoing-466: set socket timeout to 0
2020-06-22 11:01:12.986 DEBUG 42 --- [pool-2-thread-1] h.i.c.PoolingHttpClientConnectionManager : Connection released: [id: 466][route: {}->http://10.1.104.130:8080][total kept alive: 2; route allocated: 1 of 10; total allocated: 2 of 100]
2020-06-22 11:01:12.986  INFO 42 --- [pool-2-thread-1] o.a.p.m.s.i.EnvironmentCacheServiceImpl  : Reload cluster list for environment shanghai : [shanghai, beijing]
2020-06-22 11:01:12.986  INFO 42 --- [pool-2-thread-1] o.a.p.m.s.i.EnvironmentCacheServiceImpl  : Reloading cluster data for cluster shanghai @ environment shanghai ...
2020-06-22 11:01:12.987 DEBUG 42 --- [pool-2-thread-1] o.a.h.client.protocol.RequestAddCookies  : CookieSpec selected: default
2020-06-22 11:01:12.987 DEBUG 42 --- [pool-2-thread-1] o.a.h.client.protocol.RequestAuthCache   : Auth cache not set in the context
2020-06-22 11:01:12.987 DEBUG 42 --- [pool-2-thread-1] h.i.c.PoolingHttpClientConnectionManager : Connection request: [route: {}->http://10.1.104.130:8080][total kept alive: 2; route allocated: 1 of 10; total allocated: 2 of 100]
2020-06-22 11:01:12.987 DEBUG 42 --- [pool-2-thread-1] h.i.c.PoolingHttpClientConnectionManager : Connection leased: [id: 466][route: {}->http://10.1.104.130:8080][total kept alive: 1; route allocated: 1 of 10; total allocated: 2 of 100]
2020-06-22 11:01:12.987 DEBUG 42 --- [pool-2-thread-1] h.i.c.DefaultManagedHttpClientConnection : http-outgoing-466: set socket timeout to 0
2020-06-22 11:01:12.987 DEBUG 42 --- [pool-2-thread-1] h.i.c.DefaultManagedHttpClientConnection : http-outgoing-466: set socket timeout to 28000
2020-06-22 11:01:12.987 DEBUG 42 --- [pool-2-thread-1] o.a.http.impl.execchain.MainClientExec   : Executing request GET /admin/v2/clusters/shanghai HTTP/1.1
2020-06-22 11:01:12.987 DEBUG 42 --- [pool-2-thread-1] o.a.http.impl.execchain.MainClientExec   : Proxy auth state: UNCHALLENGED
2020-06-22 11:01:12.987 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-466 >> GET /admin/v2/clusters/shanghai HTTP/1.1
2020-06-22 11:01:12.987 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-466 >> Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJhZG1pbiIsImV4cCI6MTY4NzA4NDI5MH0.K5sAvvUjd9J8RxHaBVlDCPnoPW8T6FDa4x9CovoH6v4
2020-06-22 11:01:12.987 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-466 >> Host: 10.1.104.130:8080
2020-06-22 11:01:12.987 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-466 >> Connection: Keep-Alive
2020-06-22 11:01:12.987 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-466 >> User-Agent: Apache-HttpClient/4.5.5 (Java/1.8.0_212)
2020-06-22 11:01:12.987 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-466 >> Accept-Encoding: gzip,deflate
2020-06-22 11:01:12.987 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 >> "GET /admin/v2/clusters/shanghai HTTP/1.1[\r][\n]"
2020-06-22 11:01:12.987 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 >> "Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJhZG1pbiIsImV4cCI6MTY4NzA4NDI5MH0.K5sAvvUjd9J8RxHaBVlDCPnoPW8T6FDa4x9CovoH6v4[\r][\n]"
2020-06-22 11:01:12.987 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 >> "Host: 10.1.104.130:8080[\r][\n]"
2020-06-22 11:01:12.987 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 >> "Connection: Keep-Alive[\r][\n]"
2020-06-22 11:01:12.987 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 >> "User-Agent: Apache-HttpClient/4.5.5 (Java/1.8.0_212)[\r][\n]"
2020-06-22 11:01:12.987 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 >> "Accept-Encoding: gzip,deflate[\r][\n]"
2020-06-22 11:01:12.987 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 >> "[\r][\n]"
2020-06-22 11:01:12.988 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 << "HTTP/1.1 200 OK[\r][\n]"
2020-06-22 11:01:12.988 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 << "Date: Mon, 22 Jun 2020 11:01:12 GMT[\r][\n]"
2020-06-22 11:01:12.988 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 << "Content-Type: application/json[\r][\n]"
2020-06-22 11:01:12.988 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 << "Content-Length: 188[\r][\n]"
2020-06-22 11:01:12.988 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 << "Server: Jetty(9.4.20.v20190813)[\r][\n]"
2020-06-22 11:01:12.988 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 << "[\r][\n]"
2020-06-22 11:01:12.988 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 << "{"serviceUrl":"http://10.1.104.136:8080","serviceUrlTls":"https://10.1.104.136:8443","brokerServiceUrl":"pulsar://10.1.104.136:6650","brokerServiceUrlTls":"pulsar+ssl://10.1.104.136:6651"}"
2020-06-22 11:01:12.988 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-466 << HTTP/1.1 200 OK
2020-06-22 11:01:12.988 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-466 << Date: Mon, 22 Jun 2020 11:01:12 GMT
2020-06-22 11:01:12.988 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-466 << Content-Type: application/json
2020-06-22 11:01:12.988 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-466 << Content-Length: 188
2020-06-22 11:01:12.988 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-466 << Server: Jetty(9.4.20.v20190813)
2020-06-22 11:01:12.988 DEBUG 42 --- [pool-2-thread-1] o.a.http.impl.execchain.MainClientExec   : Connection can be kept alive indefinitely
2020-06-22 11:01:12.988 DEBUG 42 --- [pool-2-thread-1] h.i.c.PoolingHttpClientConnectionManager : Connection [id: 466][route: {}->http://10.1.104.130:8080] can be kept alive indefinitely
2020-06-22 11:01:12.988 DEBUG 42 --- [pool-2-thread-1] h.i.c.DefaultManagedHttpClientConnection : http-outgoing-466: set socket timeout to 0
2020-06-22 11:01:12.988 DEBUG 42 --- [pool-2-thread-1] h.i.c.PoolingHttpClientConnectionManager : Connection released: [id: 466][route: {}->http://10.1.104.130:8080][total kept alive: 2; route allocated: 1 of 10; total allocated: 2 of 100]
2020-06-22 11:01:12.989  INFO 42 --- [pool-2-thread-1] o.a.p.m.s.i.EnvironmentCacheServiceImpl  : Loaded cluster data for cluster shanghai @ environment shanghai from http://10.1.104.130:8080/admin/v2/clusters/shanghai : {"serviceUrl":"http://10.1.104.136:8080","serviceUrlTls":"https://10.1.104.136:8443","brokerServiceUrl":"pulsar://10.1.104.136:6650","brokerServiceUrlTls":"pulsar+ssl://10.1.104.136:6651"}
2020-06-22 11:01:12.989  INFO 42 --- [pool-2-thread-1] o.a.p.m.s.i.EnvironmentCacheServiceImpl  : Successfully loaded cluster data for cluster shanghai @ environment shanghai : ClusterData{serviceUrl=http://10.1.104.136:8080, serviceUrlTls=https://10.1.104.136:8443, brokerServiceUrl=pulsar://10.1.104.136:6650, brokerServiceUrlTls=pulsar+ssl://10.1.104.136:6651, peerClusterNames=null}
2020-06-22 11:01:12.989  INFO 42 --- [pool-2-thread-1] o.a.p.m.s.i.EnvironmentCacheServiceImpl  : Reloading cluster data for cluster beijing @ environment shanghai ...
2020-06-22 11:01:12.989 DEBUG 42 --- [pool-2-thread-1] o.a.h.client.protocol.RequestAddCookies  : CookieSpec selected: default
2020-06-22 11:01:12.989 DEBUG 42 --- [pool-2-thread-1] o.a.h.client.protocol.RequestAuthCache   : Auth cache not set in the context
2020-06-22 11:01:12.989 DEBUG 42 --- [pool-2-thread-1] h.i.c.PoolingHttpClientConnectionManager : Connection request: [route: {}->http://10.1.104.130:8080][total kept alive: 2; route allocated: 1 of 10; total allocated: 2 of 100]
2020-06-22 11:01:12.989 DEBUG 42 --- [pool-2-thread-1] h.i.c.PoolingHttpClientConnectionManager : Connection leased: [id: 466][route: {}->http://10.1.104.130:8080][total kept alive: 1; route allocated: 1 of 10; total allocated: 2 of 100]
2020-06-22 11:01:12.989 DEBUG 42 --- [pool-2-thread-1] h.i.c.DefaultManagedHttpClientConnection : http-outgoing-466: set socket timeout to 0
2020-06-22 11:01:12.989 DEBUG 42 --- [pool-2-thread-1] h.i.c.DefaultManagedHttpClientConnection : http-outgoing-466: set socket timeout to 28000
2020-06-22 11:01:12.989 DEBUG 42 --- [pool-2-thread-1] o.a.http.impl.execchain.MainClientExec   : Executing request GET /admin/v2/clusters/beijing HTTP/1.1
2020-06-22 11:01:12.989 DEBUG 42 --- [pool-2-thread-1] o.a.http.impl.execchain.MainClientExec   : Proxy auth state: UNCHALLENGED
2020-06-22 11:01:12.989 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-466 >> GET /admin/v2/clusters/beijing HTTP/1.1
2020-06-22 11:01:12.989 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-466 >> Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJhZG1pbiIsImV4cCI6MTY4NzA4NDI5MH0.K5sAvvUjd9J8RxHaBVlDCPnoPW8T6FDa4x9CovoH6v4
2020-06-22 11:01:12.989 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-466 >> Host: 10.1.104.130:8080
2020-06-22 11:01:12.989 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-466 >> Connection: Keep-Alive
2020-06-22 11:01:12.989 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-466 >> User-Agent: Apache-HttpClient/4.5.5 (Java/1.8.0_212)
2020-06-22 11:01:12.989 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-466 >> Accept-Encoding: gzip,deflate
2020-06-22 11:01:12.989 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 >> "GET /admin/v2/clusters/beijing HTTP/1.1[\r][\n]"
2020-06-22 11:01:12.989 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 >> "Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJhZG1pbiIsImV4cCI6MTY4NzA4NDI5MH0.K5sAvvUjd9J8RxHaBVlDCPnoPW8T6FDa4x9CovoH6v4[\r][\n]"
2020-06-22 11:01:12.989 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 >> "Host: 10.1.104.130:8080[\r][\n]"
2020-06-22 11:01:12.989 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 >> "Connection: Keep-Alive[\r][\n]"
2020-06-22 11:01:12.989 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 >> "User-Agent: Apache-HttpClient/4.5.5 (Java/1.8.0_212)[\r][\n]"
2020-06-22 11:01:12.989 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 >> "Accept-Encoding: gzip,deflate[\r][\n]"
2020-06-22 11:01:12.989 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 >> "[\r][\n]"
2020-06-22 11:01:12.990 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 << "HTTP/1.1 200 OK[\r][\n]"
2020-06-22 11:01:12.990 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 << "Date: Mon, 22 Jun 2020 11:01:12 GMT[\r][\n]"
2020-06-22 11:01:12.990 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 << "Content-Type: application/json[\r][\n]"
2020-06-22 11:01:12.990 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 << "Content-Length: 188[\r][\n]"
2020-06-22 11:01:12.990 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 << "Server: Jetty(9.4.20.v20190813)[\r][\n]"
2020-06-22 11:01:12.990 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 << "[\r][\n]"
2020-06-22 11:01:12.990 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 << "{"serviceUrl":"http://10.1.104.220:8080","serviceUrlTls":"https://10.1.104.220:8443","brokerServiceUrl":"pulsar://10.1.104.220:6650","brokerServiceUrlTls":"pulsar+ssl://10.1.104.220:6651"}"
2020-06-22 11:01:12.990 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-466 << HTTP/1.1 200 OK
2020-06-22 11:01:12.990 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-466 << Date: Mon, 22 Jun 2020 11:01:12 GMT
2020-06-22 11:01:12.991 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-466 << Content-Type: application/json
2020-06-22 11:01:12.991 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-466 << Content-Length: 188
2020-06-22 11:01:12.991 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-466 << Server: Jetty(9.4.20.v20190813)
2020-06-22 11:01:12.991 DEBUG 42 --- [pool-2-thread-1] o.a.http.impl.execchain.MainClientExec   : Connection can be kept alive indefinitely
2020-06-22 11:01:12.991 DEBUG 42 --- [pool-2-thread-1] h.i.c.PoolingHttpClientConnectionManager : Connection [id: 466][route: {}->http://10.1.104.130:8080] can be kept alive indefinitely
2020-06-22 11:01:12.991 DEBUG 42 --- [pool-2-thread-1] h.i.c.DefaultManagedHttpClientConnection : http-outgoing-466: set socket timeout to 0
2020-06-22 11:01:12.991 DEBUG 42 --- [pool-2-thread-1] h.i.c.PoolingHttpClientConnectionManager : Connection released: [id: 466][route: {}->http://10.1.104.130:8080][total kept alive: 2; route allocated: 1 of 10; total allocated: 2 of 100]
2020-06-22 11:01:12.991  INFO 42 --- [pool-2-thread-1] o.a.p.m.s.i.EnvironmentCacheServiceImpl  : Loaded cluster data for cluster beijing @ environment shanghai from http://10.1.104.130:8080/admin/v2/clusters/beijing : {"serviceUrl":"http://10.1.104.220:8080","serviceUrlTls":"https://10.1.104.220:8443","brokerServiceUrl":"pulsar://10.1.104.220:6650","brokerServiceUrlTls":"pulsar+ssl://10.1.104.220:6651"}
2020-06-22 11:01:12.991  INFO 42 --- [pool-2-thread-1] o.a.p.m.s.i.EnvironmentCacheServiceImpl  : Successfully loaded cluster data for cluster beijing @ environment shanghai : ClusterData{serviceUrl=http://10.1.104.220:8080, serviceUrlTls=https://10.1.104.220:8443, brokerServiceUrl=pulsar://10.1.104.220:6650, brokerServiceUrlTls=pulsar+ssl://10.1.104.220:6651, peerClusterNames=null}
2020-06-22 11:01:12.991 DEBUG 42 --- [pool-2-thread-1] o.a.h.client.protocol.RequestAddCookies  : CookieSpec selected: default
2020-06-22 11:01:12.991 DEBUG 42 --- [pool-2-thread-1] o.a.h.client.protocol.RequestAuthCache   : Auth cache not set in the context
2020-06-22 11:01:12.991 DEBUG 42 --- [pool-2-thread-1] h.i.c.PoolingHttpClientConnectionManager : Connection request: [route: {}->http://10.1.104.133:8080][total kept alive: 2; route allocated: 1 of 10; total allocated: 2 of 100]
2020-06-22 11:01:12.991 DEBUG 42 --- [pool-2-thread-1] h.i.c.PoolingHttpClientConnectionManager : Connection leased: [id: 468][route: {}->http://10.1.104.133:8080][total kept alive: 1; route allocated: 1 of 10; total allocated: 2 of 100]
2020-06-22 11:01:12.991 DEBUG 42 --- [pool-2-thread-1] h.i.c.DefaultManagedHttpClientConnection : http-outgoing-468: set socket timeout to 0
2020-06-22 11:01:12.991 DEBUG 42 --- [pool-2-thread-1] h.i.c.DefaultManagedHttpClientConnection : http-outgoing-468: set socket timeout to 28000
2020-06-22 11:01:12.991 DEBUG 42 --- [pool-2-thread-1] o.a.http.impl.execchain.MainClientExec   : Executing request GET /admin/v2/clusters HTTP/1.1
2020-06-22 11:01:12.991 DEBUG 42 --- [pool-2-thread-1] o.a.http.impl.execchain.MainClientExec   : Proxy auth state: UNCHALLENGED
2020-06-22 11:01:12.991 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-468 >> GET /admin/v2/clusters HTTP/1.1
2020-06-22 11:01:12.991 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-468 >> Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJhZG1pbiIsImV4cCI6MTY4NzA4NDI5MH0.K5sAvvUjd9J8RxHaBVlDCPnoPW8T6FDa4x9CovoH6v4
2020-06-22 11:01:12.991 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-468 >> Host: 10.1.104.133:8080
2020-06-22 11:01:12.991 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-468 >> Connection: Keep-Alive
2020-06-22 11:01:12.991 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-468 >> User-Agent: Apache-HttpClient/4.5.5 (Java/1.8.0_212)
2020-06-22 11:01:12.991 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-468 >> Accept-Encoding: gzip,deflate
2020-06-22 11:01:12.991 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-468 >> "GET /admin/v2/clusters HTTP/1.1[\r][\n]"
2020-06-22 11:01:12.992 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-468 >> "Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJhZG1pbiIsImV4cCI6MTY4NzA4NDI5MH0.K5sAvvUjd9J8RxHaBVlDCPnoPW8T6FDa4x9CovoH6v4[\r][\n]"
2020-06-22 11:01:12.992 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-468 >> "Host: 10.1.104.133:8080[\r][\n]"
2020-06-22 11:01:12.992 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-468 >> "Connection: Keep-Alive[\r][\n]"
2020-06-22 11:01:12.992 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-468 >> "User-Agent: Apache-HttpClient/4.5.5 (Java/1.8.0_212)[\r][\n]"
2020-06-22 11:01:12.992 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-468 >> "Accept-Encoding: gzip,deflate[\r][\n]"
2020-06-22 11:01:12.992 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-468 >> "[\r][\n]"
2020-06-22 11:01:12.993 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-468 << "HTTP/1.1 200 OK[\r][\n]"
2020-06-22 11:01:12.994 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-468 << "Date: Mon, 22 Jun 2020 11:01:12 GMT[\r][\n]"
2020-06-22 11:01:12.994 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-468 << "Content-Type: application/json[\r][\n]"
2020-06-22 11:01:12.994 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-468 << "Content-Length: 22[\r][\n]"
2020-06-22 11:01:12.994 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-468 << "Server: Jetty(9.4.20.v20190813)[\r][\n]"
2020-06-22 11:01:12.994 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-468 << "[\r][\n]"
2020-06-22 11:01:12.994 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-468 << "["shanghai","beijing"]"
2020-06-22 11:01:12.994 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-468 << HTTP/1.1 200 OK
2020-06-22 11:01:12.994 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-468 << Date: Mon, 22 Jun 2020 11:01:12 GMT
2020-06-22 11:01:12.994 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-468 << Content-Type: application/json
2020-06-22 11:01:12.994 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-468 << Content-Length: 22
2020-06-22 11:01:12.994 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-468 << Server: Jetty(9.4.20.v20190813)
2020-06-22 11:01:12.994 DEBUG 42 --- [pool-2-thread-1] o.a.http.impl.execchain.MainClientExec   : Connection can be kept alive indefinitely
2020-06-22 11:01:12.994 DEBUG 42 --- [pool-2-thread-1] h.i.c.PoolingHttpClientConnectionManager : Connection [id: 468][route: {}->http://10.1.104.133:8080] can be kept alive indefinitely
2020-06-22 11:01:12.994 DEBUG 42 --- [pool-2-thread-1] h.i.c.DefaultManagedHttpClientConnection : http-outgoing-468: set socket timeout to 0
2020-06-22 11:01:12.994 DEBUG 42 --- [pool-2-thread-1] h.i.c.PoolingHttpClientConnectionManager : Connection released: [id: 468][route: {}->http://10.1.104.133:8080][total kept alive: 2; route allocated: 1 of 10; total allocated: 2 of 100]
2020-06-22 11:01:12.994  INFO 42 --- [pool-2-thread-1] o.a.p.m.s.i.EnvironmentCacheServiceImpl  : Reload cluster list for environment beijing : [shanghai, beijing]
2020-06-22 11:01:12.994  INFO 42 --- [pool-2-thread-1] o.a.p.m.s.i.EnvironmentCacheServiceImpl  : Reloading cluster data for cluster shanghai @ environment beijing ...
2020-06-22 11:01:12.994 DEBUG 42 --- [pool-2-thread-1] o.a.h.client.protocol.RequestAddCookies  : CookieSpec selected: default
2020-06-22 11:01:12.994 DEBUG 42 --- [pool-2-thread-1] o.a.h.client.protocol.RequestAuthCache   : Auth cache not set in the context
2020-06-22 11:01:12.994 DEBUG 42 --- [pool-2-thread-1] h.i.c.PoolingHttpClientConnectionManager : Connection request: [route: {}->http://10.1.104.133:8080][total kept alive: 2; route allocated: 1 of 10; total allocated: 2 of 100]
2020-06-22 11:01:12.994 DEBUG 42 --- [pool-2-thread-1] h.i.c.PoolingHttpClientConnectionManager : Connection leased: [id: 468][route: {}->http://10.1.104.133:8080][total kept alive: 1; route allocated: 1 of 10; total allocated: 2 of 100]
2020-06-22 11:01:12.994 DEBUG 42 --- [pool-2-thread-1] h.i.c.DefaultManagedHttpClientConnection : http-outgoing-468: set socket timeout to 0
2020-06-22 11:01:12.994 DEBUG 42 --- [pool-2-thread-1] h.i.c.DefaultManagedHttpClientConnection : http-outgoing-468: set socket timeout to 28000
2020-06-22 11:01:12.994 DEBUG 42 --- [pool-2-thread-1] o.a.http.impl.execchain.MainClientExec   : Executing request GET /admin/v2/clusters/shanghai HTTP/1.1
2020-06-22 11:01:12.994 DEBUG 42 --- [pool-2-thread-1] o.a.http.impl.execchain.MainClientExec   : Proxy auth state: UNCHALLENGED
2020-06-22 11:01:12.994 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-468 >> GET /admin/v2/clusters/shanghai HTTP/1.1
2020-06-22 11:01:12.995 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-468 >> Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJhZG1pbiIsImV4cCI6MTY4NzA4NDI5MH0.K5sAvvUjd9J8RxHaBVlDCPnoPW8T6FDa4x9CovoH6v4
2020-06-22 11:01:12.995 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-468 >> Host: 10.1.104.133:8080
2020-06-22 11:01:12.995 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-468 >> Connection: Keep-Alive
2020-06-22 11:01:12.995 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-468 >> User-Agent: Apache-HttpClient/4.5.5 (Java/1.8.0_212)
2020-06-22 11:01:12.995 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-468 >> Accept-Encoding: gzip,deflate
2020-06-22 11:01:12.995 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-468 >> "GET /admin/v2/clusters/shanghai HTTP/1.1[\r][\n]"
2020-06-22 11:01:12.995 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-468 >> "Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJhZG1pbiIsImV4cCI6MTY4NzA4NDI5MH0.K5sAvvUjd9J8RxHaBVlDCPnoPW8T6FDa4x9CovoH6v4[\r][\n]"
2020-06-22 11:01:12.995 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-468 >> "Host: 10.1.104.133:8080[\r][\n]"
2020-06-22 11:01:12.995 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-468 >> "Connection: Keep-Alive[\r][\n]"
2020-06-22 11:01:12.995 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-468 >> "User-Agent: Apache-HttpClient/4.5.5 (Java/1.8.0_212)[\r][\n]"
2020-06-22 11:01:12.995 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-468 >> "Accept-Encoding: gzip,deflate[\r][\n]"
2020-06-22 11:01:12.995 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-468 >> "[\r][\n]"
2020-06-22 11:01:12.998 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-468 << "HTTP/1.1 200 OK[\r][\n]"
2020-06-22 11:01:12.998 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-468 << "Date: Mon, 22 Jun 2020 11:01:12 GMT[\r][\n]"
2020-06-22 11:01:12.998 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-468 << "Content-Type: application/json[\r][\n]"
2020-06-22 11:01:12.998 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-468 << "Content-Length: 188[\r][\n]"
2020-06-22 11:01:12.998 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-468 << "Server: Jetty(9.4.20.v20190813)[\r][\n]"
2020-06-22 11:01:12.998 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-468 << "[\r][\n]"
2020-06-22 11:01:12.998 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-468 << "{"serviceUrl":"http://10.1.104.136:8080","serviceUrlTls":"https://10.1.104.136:8443","brokerServiceUrl":"pulsar://10.1.104.136:6650","brokerServiceUrlTls":"pulsar+ssl://10.1.104.136:6651"}"
2020-06-22 11:01:12.998 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-468 << HTTP/1.1 200 OK
2020-06-22 11:01:12.998 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-468 << Date: Mon, 22 Jun 2020 11:01:12 GMT
2020-06-22 11:01:12.998 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-468 << Content-Type: application/json
2020-06-22 11:01:12.998 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-468 << Content-Length: 188
2020-06-22 11:01:12.998 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-468 << Server: Jetty(9.4.20.v20190813)
2020-06-22 11:01:12.998 DEBUG 42 --- [pool-2-thread-1] o.a.http.impl.execchain.MainClientExec   : Connection can be kept alive indefinitely
2020-06-22 11:01:12.998 DEBUG 42 --- [pool-2-thread-1] h.i.c.PoolingHttpClientConnectionManager : Connection [id: 468][route: {}->http://10.1.104.133:8080] can be kept alive indefinitely
2020-06-22 11:01:12.998 DEBUG 42 --- [pool-2-thread-1] h.i.c.DefaultManagedHttpClientConnection : http-outgoing-468: set socket timeout to 0
2020-06-22 11:01:12.998 DEBUG 42 --- [pool-2-thread-1] h.i.c.PoolingHttpClientConnectionManager : Connection released: [id: 468][route: {}->http://10.1.104.133:8080][total kept alive: 2; route allocated: 1 of 10; total allocated: 2 of 100]
2020-06-22 11:01:12.998  INFO 42 --- [pool-2-thread-1] o.a.p.m.s.i.EnvironmentCacheServiceImpl  : Loaded cluster data for cluster shanghai @ environment beijing from http://10.1.104.133:8080/admin/v2/clusters/shanghai : {"serviceUrl":"http://10.1.104.136:8080","serviceUrlTls":"https://10.1.104.136:8443","brokerServiceUrl":"pulsar://10.1.104.136:6650","brokerServiceUrlTls":"pulsar+ssl://10.1.104.136:6651"}
2020-06-22 11:01:12.998  INFO 42 --- [pool-2-thread-1] o.a.p.m.s.i.EnvironmentCacheServiceImpl  : Successfully loaded cluster data for cluster shanghai @ environment beijing : ClusterData{serviceUrl=http://10.1.104.136:8080, serviceUrlTls=https://10.1.104.136:8443, brokerServiceUrl=pulsar://10.1.104.136:6650, brokerServiceUrlTls=pulsar+ssl://10.1.104.136:6651, peerClusterNames=null}
2020-06-22 11:01:12.998  INFO 42 --- [pool-2-thread-1] o.a.p.m.s.i.EnvironmentCacheServiceImpl  : Reloading cluster data for cluster beijing @ environment beijing ...
2020-06-22 11:01:12.999 DEBUG 42 --- [pool-2-thread-1] o.a.h.client.protocol.RequestAddCookies  : CookieSpec selected: default
2020-06-22 11:01:12.999 DEBUG 42 --- [pool-2-thread-1] o.a.h.client.protocol.RequestAuthCache   : Auth cache not set in the context
2020-06-22 11:01:12.999 DEBUG 42 --- [pool-2-thread-1] h.i.c.PoolingHttpClientConnectionManager : Connection request: [route: {}->http://10.1.104.133:8080][total kept alive: 2; route allocated: 1 of 10; total allocated: 2 of 100]
2020-06-22 11:01:12.999 DEBUG 42 --- [pool-2-thread-1] h.i.c.PoolingHttpClientConnectionManager : Connection leased: [id: 468][route: {}->http://10.1.104.133:8080][total kept alive: 1; route allocated: 1 of 10; total allocated: 2 of 100]
2020-06-22 11:01:12.999 DEBUG 42 --- [pool-2-thread-1] h.i.c.DefaultManagedHttpClientConnection : http-outgoing-468: set socket timeout to 0
2020-06-22 11:01:12.999 DEBUG 42 --- [pool-2-thread-1] h.i.c.DefaultManagedHttpClientConnection : http-outgoing-468: set socket timeout to 28000
2020-06-22 11:01:12.999 DEBUG 42 --- [pool-2-thread-1] o.a.http.impl.execchain.MainClientExec   : Executing request GET /admin/v2/clusters/beijing HTTP/1.1
2020-06-22 11:01:12.999 DEBUG 42 --- [pool-2-thread-1] o.a.http.impl.execchain.MainClientExec   : Proxy auth state: UNCHALLENGED
2020-06-22 11:01:12.999 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-468 >> GET /admin/v2/clusters/beijing HTTP/1.1
2020-06-22 11:01:12.999 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-468 >> Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJhZG1pbiIsImV4cCI6MTY4NzA4NDI5MH0.K5sAvvUjd9J8RxHaBVlDCPnoPW8T6FDa4x9CovoH6v4
2020-06-22 11:01:12.999 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-468 >> Host: 10.1.104.133:8080
2020-06-22 11:01:12.999 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-468 >> Connection: Keep-Alive
2020-06-22 11:01:12.999 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-468 >> User-Agent: Apache-HttpClient/4.5.5 (Java/1.8.0_212)
2020-06-22 11:01:12.999 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-468 >> Accept-Encoding: gzip,deflate
2020-06-22 11:01:12.999 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-468 >> "GET /admin/v2/clusters/beijing HTTP/1.1[\r][\n]"
2020-06-22 11:01:12.999 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-468 >> "Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJhZG1pbiIsImV4cCI6MTY4NzA4NDI5MH0.K5sAvvUjd9J8RxHaBVlDCPnoPW8T6FDa4x9CovoH6v4[\r][\n]"
2020-06-22 11:01:12.999 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-468 >> "Host: 10.1.104.133:8080[\r][\n]"
2020-06-22 11:01:12.999 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-468 >> "Connection: Keep-Alive[\r][\n]"
2020-06-22 11:01:12.999 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-468 >> "User-Agent: Apache-HttpClient/4.5.5 (Java/1.8.0_212)[\r][\n]"
2020-06-22 11:01:12.999 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-468 >> "Accept-Encoding: gzip,deflate[\r][\n]"
2020-06-22 11:01:12.999 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-468 >> "[\r][\n]"
2020-06-22 11:01:13.001 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-468 << "HTTP/1.1 200 OK[\r][\n]"
2020-06-22 11:01:13.001 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-468 << "Date: Mon, 22 Jun 2020 11:01:12 GMT[\r][\n]"
2020-06-22 11:01:13.001 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-468 << "Content-Type: application/json[\r][\n]"
2020-06-22 11:01:13.001 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-468 << "Content-Length: 188[\r][\n]"
2020-06-22 11:01:13.001 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-468 << "Server: Jetty(9.4.20.v20190813)[\r][\n]"
2020-06-22 11:01:13.001 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-468 << "[\r][\n]"
2020-06-22 11:01:13.001 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-468 << "{"serviceUrl":"http://10.1.104.220:8080","serviceUrlTls":"https://10.1.104.220:8443","brokerServiceUrl":"pulsar://10.1.104.220:6650","brokerServiceUrlTls":"pulsar+ssl://10.1.104.220:6651"}"
2020-06-22 11:01:13.001 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-468 << HTTP/1.1 200 OK
2020-06-22 11:01:13.001 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-468 << Date: Mon, 22 Jun 2020 11:01:12 GMT
2020-06-22 11:01:13.001 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-468 << Content-Type: application/json
2020-06-22 11:01:13.001 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-468 << Content-Length: 188
2020-06-22 11:01:13.001 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-468 << Server: Jetty(9.4.20.v20190813)
2020-06-22 11:01:13.001 DEBUG 42 --- [pool-2-thread-1] o.a.http.impl.execchain.MainClientExec   : Connection can be kept alive indefinitely
2020-06-22 11:01:13.001 DEBUG 42 --- [pool-2-thread-1] h.i.c.PoolingHttpClientConnectionManager : Connection [id: 468][route: {}->http://10.1.104.133:8080] can be kept alive indefinitely
2020-06-22 11:01:13.001 DEBUG 42 --- [pool-2-thread-1] h.i.c.DefaultManagedHttpClientConnection : http-outgoing-468: set socket timeout to 0
2020-06-22 11:01:13.001 DEBUG 42 --- [pool-2-thread-1] h.i.c.PoolingHttpClientConnectionManager : Connection released: [id: 468][route: {}->http://10.1.104.133:8080][total kept alive: 2; route allocated: 1 of 10; total allocated: 2 of 100]
2020-06-22 11:01:13.001  INFO 42 --- [pool-2-thread-1] o.a.p.m.s.i.EnvironmentCacheServiceImpl  : Loaded cluster data for cluster beijing @ environment beijing from http://10.1.104.133:8080/admin/v2/clusters/beijing : {"serviceUrl":"http://10.1.104.220:8080","serviceUrlTls":"https://10.1.104.220:8443","brokerServiceUrl":"pulsar://10.1.104.220:6650","brokerServiceUrlTls":"pulsar+ssl://10.1.104.220:6651"}
2020-06-22 11:01:13.001  INFO 42 --- [pool-2-thread-1] o.a.p.m.s.i.EnvironmentCacheServiceImpl  : Successfully loaded cluster data for cluster beijing @ environment beijing : ClusterData{serviceUrl=http://10.1.104.220:8080, serviceUrlTls=https://10.1.104.220:8443, brokerServiceUrl=pulsar://10.1.104.220:6650, brokerServiceUrlTls=pulsar+ssl://10.1.104.220:6651, peerClusterNames=null}
2020-06-22 11:01:13.002 DEBUG 42 --- [pool-2-thread-1] o.a.p.m.m.E.findEnvironmentsList_COUNT   : ==>  Preparing: SELECT count(0) FROM environments 
2020-06-22 11:01:13.002 DEBUG 42 --- [pool-2-thread-1] o.a.p.m.m.E.findEnvironmentsList_COUNT   : ==> Parameters: 
2020-06-22 11:01:13.002 DEBUG 42 --- [pool-2-thread-1] o.a.p.m.m.E.findEnvironmentsList_COUNT   : <==      Total: 1
2020-06-22 11:01:13.002  INFO 42 --- [pool-2-thread-1] o.a.p.m.s.i.EnvironmentCacheServiceImpl  : Successfully reloaded environments : [shanghai, beijing]
2020-06-22 11:01:20.947 DEBUG 42 --- [pool-2-thread-1] o.a.p.m.m.E.findEnvironmentsList         : ==>  Preparing: SELECT name,broker FROM environments 
2020-06-22 11:01:20.947 DEBUG 42 --- [pool-2-thread-1] o.a.p.m.m.E.findEnvironmentsList         : ==> Parameters: 
2020-06-22 11:01:20.948 DEBUG 42 --- [pool-2-thread-1] o.a.p.m.m.E.findEnvironmentsList         : <==      Total: 2
2020-06-22 11:01:20.948 DEBUG 42 --- [pool-2-thread-1] o.a.h.client.protocol.RequestAddCookies  : CookieSpec selected: default
2020-06-22 11:01:20.949 DEBUG 42 --- [pool-2-thread-1] o.a.h.client.protocol.RequestAuthCache   : Auth cache not set in the context
2020-06-22 11:01:20.949 DEBUG 42 --- [pool-2-thread-1] h.i.c.PoolingHttpClientConnectionManager : Connection request: [route: {}->http://10.1.104.130:8080][total kept alive: 2; route allocated: 1 of 10; total allocated: 2 of 100]
2020-06-22 11:01:20.950 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 << "[read] I/O error: Read timed out"
2020-06-22 11:01:20.950 DEBUG 42 --- [pool-2-thread-1] h.i.c.PoolingHttpClientConnectionManager : Connection leased: [id: 466][route: {}->http://10.1.104.130:8080][total kept alive: 1; route allocated: 1 of 10; total allocated: 2 of 100]
2020-06-22 11:01:20.950 DEBUG 42 --- [pool-2-thread-1] h.i.c.DefaultManagedHttpClientConnection : http-outgoing-466: set socket timeout to 0
2020-06-22 11:01:20.950 DEBUG 42 --- [pool-2-thread-1] h.i.c.DefaultManagedHttpClientConnection : http-outgoing-466: set socket timeout to 28000
2020-06-22 11:01:20.950 DEBUG 42 --- [pool-2-thread-1] o.a.http.impl.execchain.MainClientExec   : Executing request GET /admin/v2/clusters HTTP/1.1
2020-06-22 11:01:20.950 DEBUG 42 --- [pool-2-thread-1] o.a.http.impl.execchain.MainClientExec   : Proxy auth state: UNCHALLENGED
2020-06-22 11:01:20.950 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-466 >> GET /admin/v2/clusters HTTP/1.1
2020-06-22 11:01:20.951 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-466 >> Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJhZG1pbiIsImV4cCI6MTY4NzA4NDI5MH0.K5sAvvUjd9J8RxHaBVlDCPnoPW8T6FDa4x9CovoH6v4
2020-06-22 11:01:20.951 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-466 >> Host: 10.1.104.130:8080
2020-06-22 11:01:20.951 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-466 >> Connection: Keep-Alive
2020-06-22 11:01:20.951 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-466 >> User-Agent: Apache-HttpClient/4.5.5 (Java/1.8.0_212)
2020-06-22 11:01:20.951 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-466 >> Accept-Encoding: gzip,deflate
2020-06-22 11:01:20.951 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 >> "GET /admin/v2/clusters HTTP/1.1[\r][\n]"
2020-06-22 11:01:20.951 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 >> "Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJhZG1pbiIsImV4cCI6MTY4NzA4NDI5MH0.K5sAvvUjd9J8RxHaBVlDCPnoPW8T6FDa4x9CovoH6v4[\r][\n]"
2020-06-22 11:01:20.951 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 >> "Host: 10.1.104.130:8080[\r][\n]"
2020-06-22 11:01:20.951 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 >> "Connection: Keep-Alive[\r][\n]"
2020-06-22 11:01:20.951 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 >> "User-Agent: Apache-HttpClient/4.5.5 (Java/1.8.0_212)[\r][\n]"
2020-06-22 11:01:20.951 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 >> "Accept-Encoding: gzip,deflate[\r][\n]"
2020-06-22 11:01:20.951 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 >> "[\r][\n]"
2020-06-22 11:01:20.953 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 << "HTTP/1.1 200 OK[\r][\n]"
2020-06-22 11:01:20.953 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 << "Date: Mon, 22 Jun 2020 11:01:20 GMT[\r][\n]"
2020-06-22 11:01:20.953 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 << "Content-Type: application/json[\r][\n]"
2020-06-22 11:01:20.953 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 << "Content-Length: 22[\r][\n]"
2020-06-22 11:01:20.953 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 << "Server: Jetty(9.4.20.v20190813)[\r][\n]"
2020-06-22 11:01:20.953 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 << "[\r][\n]"
2020-06-22 11:01:20.953 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 << "["shanghai","beijing"]"
2020-06-22 11:01:20.953 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-466 << HTTP/1.1 200 OK
2020-06-22 11:01:20.953 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-466 << Date: Mon, 22 Jun 2020 11:01:20 GMT
2020-06-22 11:01:20.953 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-466 << Content-Type: application/json
2020-06-22 11:01:20.953 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-466 << Content-Length: 22
2020-06-22 11:01:20.953 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-466 << Server: Jetty(9.4.20.v20190813)
2020-06-22 11:01:20.953 DEBUG 42 --- [pool-2-thread-1] o.a.http.impl.execchain.MainClientExec   : Connection can be kept alive indefinitely
2020-06-22 11:01:20.953 DEBUG 42 --- [pool-2-thread-1] h.i.c.PoolingHttpClientConnectionManager : Connection [id: 466][route: {}->http://10.1.104.130:8080] can be kept alive indefinitely
2020-06-22 11:01:20.953 DEBUG 42 --- [pool-2-thread-1] h.i.c.DefaultManagedHttpClientConnection : http-outgoing-466: set socket timeout to 0
2020-06-22 11:01:20.954 DEBUG 42 --- [pool-2-thread-1] h.i.c.PoolingHttpClientConnectionManager : Connection released: [id: 466][route: {}->http://10.1.104.130:8080][total kept alive: 2; route allocated: 1 of 10; total allocated: 2 of 100]
2020-06-22 11:01:20.954 DEBUG 42 --- [pool-2-thread-1] o.a.h.client.protocol.RequestAddCookies  : CookieSpec selected: default
2020-06-22 11:01:20.954 DEBUG 42 --- [pool-2-thread-1] o.a.h.client.protocol.RequestAuthCache   : Auth cache not set in the context
2020-06-22 11:01:20.954 DEBUG 42 --- [pool-2-thread-1] h.i.c.PoolingHttpClientConnectionManager : Connection request: [route: {}->http://10.1.104.130:8080][total kept alive: 2; route allocated: 1 of 10; total allocated: 2 of 100]
2020-06-22 11:01:20.954 DEBUG 42 --- [pool-2-thread-1] h.i.c.PoolingHttpClientConnectionManager : Connection leased: [id: 466][route: {}->http://10.1.104.130:8080][total kept alive: 1; route allocated: 1 of 10; total allocated: 2 of 100]
2020-06-22 11:01:20.954 DEBUG 42 --- [pool-2-thread-1] h.i.c.DefaultManagedHttpClientConnection : http-outgoing-466: set socket timeout to 0
2020-06-22 11:01:20.954 DEBUG 42 --- [pool-2-thread-1] h.i.c.DefaultManagedHttpClientConnection : http-outgoing-466: set socket timeout to 28000
2020-06-22 11:01:20.954 DEBUG 42 --- [pool-2-thread-1] o.a.http.impl.execchain.MainClientExec   : Executing request GET /admin/v2/clusters/shanghai/failureDomains HTTP/1.1
2020-06-22 11:01:20.954 DEBUG 42 --- [pool-2-thread-1] o.a.http.impl.execchain.MainClientExec   : Proxy auth state: UNCHALLENGED
2020-06-22 11:01:20.954 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-466 >> GET /admin/v2/clusters/shanghai/failureDomains HTTP/1.1
2020-06-22 11:01:20.954 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-466 >> Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJhZG1pbiIsImV4cCI6MTY4NzA4NDI5MH0.K5sAvvUjd9J8RxHaBVlDCPnoPW8T6FDa4x9CovoH6v4
2020-06-22 11:01:20.955 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-466 >> Host: 10.1.104.130:8080
2020-06-22 11:01:20.955 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-466 >> Connection: Keep-Alive
2020-06-22 11:01:20.955 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-466 >> User-Agent: Apache-HttpClient/4.5.5 (Java/1.8.0_212)
2020-06-22 11:01:20.955 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-466 >> Accept-Encoding: gzip,deflate
2020-06-22 11:01:20.955 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 >> "GET /admin/v2/clusters/shanghai/failureDomains HTTP/1.1[\r][\n]"
2020-06-22 11:01:20.955 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 >> "Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJhZG1pbiIsImV4cCI6MTY4NzA4NDI5MH0.K5sAvvUjd9J8RxHaBVlDCPnoPW8T6FDa4x9CovoH6v4[\r][\n]"
2020-06-22 11:01:20.955 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 >> "Host: 10.1.104.130:8080[\r][\n]"
2020-06-22 11:01:20.955 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 >> "Connection: Keep-Alive[\r][\n]"
2020-06-22 11:01:20.955 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 >> "User-Agent: Apache-HttpClient/4.5.5 (Java/1.8.0_212)[\r][\n]"
2020-06-22 11:01:20.955 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 >> "Accept-Encoding: gzip,deflate[\r][\n]"
2020-06-22 11:01:20.955 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 >> "[\r][\n]"
2020-06-22 11:01:20.956 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 << "HTTP/1.1 200 OK[\r][\n]"
2020-06-22 11:01:20.956 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 << "Date: Mon, 22 Jun 2020 11:01:20 GMT[\r][\n]"
2020-06-22 11:01:20.956 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 << "Content-Type: application/json[\r][\n]"
2020-06-22 11:01:20.956 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 << "Content-Length: 2[\r][\n]"
2020-06-22 11:01:20.956 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 << "Server: Jetty(9.4.20.v20190813)[\r][\n]"
2020-06-22 11:01:20.956 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 << "[\r][\n]"
2020-06-22 11:01:20.956 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 << "{}"
2020-06-22 11:01:20.956 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-466 << HTTP/1.1 200 OK
2020-06-22 11:01:20.956 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-466 << Date: Mon, 22 Jun 2020 11:01:20 GMT
2020-06-22 11:01:20.956 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-466 << Content-Type: application/json
2020-06-22 11:01:20.957 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-466 << Content-Length: 2
2020-06-22 11:01:20.957 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-466 << Server: Jetty(9.4.20.v20190813)
2020-06-22 11:01:20.957 DEBUG 42 --- [pool-2-thread-1] o.a.http.impl.execchain.MainClientExec   : Connection can be kept alive indefinitely
2020-06-22 11:01:20.957 DEBUG 42 --- [pool-2-thread-1] h.i.c.PoolingHttpClientConnectionManager : Connection [id: 466][route: {}->http://10.1.104.130:8080] can be kept alive indefinitely
2020-06-22 11:01:20.957 DEBUG 42 --- [pool-2-thread-1] h.i.c.DefaultManagedHttpClientConnection : http-outgoing-466: set socket timeout to 0
2020-06-22 11:01:20.957 DEBUG 42 --- [pool-2-thread-1] h.i.c.PoolingHttpClientConnectionManager : Connection released: [id: 466][route: {}->http://10.1.104.130:8080][total kept alive: 2; route allocated: 1 of 10; total allocated: 2 of 100]
2020-06-22 11:01:20.957 DEBUG 42 --- [pool-2-thread-1] o.a.h.client.protocol.RequestAddCookies  : CookieSpec selected: default
2020-06-22 11:01:20.957 DEBUG 42 --- [pool-2-thread-1] o.a.h.client.protocol.RequestAuthCache   : Auth cache not set in the context
2020-06-22 11:01:20.957 DEBUG 42 --- [pool-2-thread-1] h.i.c.PoolingHttpClientConnectionManager : Connection request: [route: {}->http://10.1.104.130:8080][total kept alive: 2; route allocated: 1 of 10; total allocated: 2 of 100]
2020-06-22 11:01:20.957 DEBUG 42 --- [pool-2-thread-1] h.i.c.PoolingHttpClientConnectionManager : Connection leased: [id: 466][route: {}->http://10.1.104.130:8080][total kept alive: 1; route allocated: 1 of 10; total allocated: 2 of 100]
2020-06-22 11:01:20.958 DEBUG 42 --- [pool-2-thread-1] h.i.c.DefaultManagedHttpClientConnection : http-outgoing-466: set socket timeout to 0
2020-06-22 11:01:20.958 DEBUG 42 --- [pool-2-thread-1] h.i.c.DefaultManagedHttpClientConnection : http-outgoing-466: set socket timeout to 28000
2020-06-22 11:01:20.958 DEBUG 42 --- [pool-2-thread-1] o.a.http.impl.execchain.MainClientExec   : Executing request GET /admin/v2/brokers/shanghai HTTP/1.1
2020-06-22 11:01:20.958 DEBUG 42 --- [pool-2-thread-1] o.a.http.impl.execchain.MainClientExec   : Proxy auth state: UNCHALLENGED
2020-06-22 11:01:20.958 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-466 >> GET /admin/v2/brokers/shanghai HTTP/1.1
2020-06-22 11:01:20.958 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-466 >> Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJhZG1pbiIsImV4cCI6MTY4NzA4NDI5MH0.K5sAvvUjd9J8RxHaBVlDCPnoPW8T6FDa4x9CovoH6v4
2020-06-22 11:01:20.958 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-466 >> Host: 10.1.104.130:8080
2020-06-22 11:01:20.958 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-466 >> Connection: Keep-Alive
2020-06-22 11:01:20.958 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-466 >> User-Agent: Apache-HttpClient/4.5.5 (Java/1.8.0_212)
2020-06-22 11:01:20.958 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-466 >> Accept-Encoding: gzip,deflate
2020-06-22 11:01:20.958 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 >> "GET /admin/v2/brokers/shanghai HTTP/1.1[\r][\n]"
2020-06-22 11:01:20.958 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 >> "Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJhZG1pbiIsImV4cCI6MTY4NzA4NDI5MH0.K5sAvvUjd9J8RxHaBVlDCPnoPW8T6FDa4x9CovoH6v4[\r][\n]"
2020-06-22 11:01:20.958 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 >> "Host: 10.1.104.130:8080[\r][\n]"
2020-06-22 11:01:20.958 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 >> "Connection: Keep-Alive[\r][\n]"
2020-06-22 11:01:20.958 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 >> "User-Agent: Apache-HttpClient/4.5.5 (Java/1.8.0_212)[\r][\n]"
2020-06-22 11:01:20.958 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 >> "Accept-Encoding: gzip,deflate[\r][\n]"
2020-06-22 11:01:20.958 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 >> "[\r][\n]"
2020-06-22 11:01:20.959 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 << "HTTP/1.1 200 OK[\r][\n]"
2020-06-22 11:01:20.959 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 << "Date: Mon, 22 Jun 2020 11:01:20 GMT[\r][\n]"
2020-06-22 11:01:20.959 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 << "Content-Type: application/json[\r][\n]"
2020-06-22 11:01:20.959 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 << "Content-Length: 61[\r][\n]"
2020-06-22 11:01:20.959 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 << "Server: Jetty(9.4.20.v20190813)[\r][\n]"
2020-06-22 11:01:20.960 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 << "[\r][\n]"
2020-06-22 11:01:20.960 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 << "["10.1.104.130:8080","10.1.104.131:8080","10.1.104.132:8080"]"
2020-06-22 11:01:20.960 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-466 << HTTP/1.1 200 OK
2020-06-22 11:01:20.960 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-466 << Date: Mon, 22 Jun 2020 11:01:20 GMT
2020-06-22 11:01:20.960 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-466 << Content-Type: application/json
2020-06-22 11:01:20.960 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-466 << Content-Length: 61
2020-06-22 11:01:20.960 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-466 << Server: Jetty(9.4.20.v20190813)
2020-06-22 11:01:20.960 DEBUG 42 --- [pool-2-thread-1] o.a.http.impl.execchain.MainClientExec   : Connection can be kept alive indefinitely
2020-06-22 11:01:20.960 DEBUG 42 --- [pool-2-thread-1] h.i.c.PoolingHttpClientConnectionManager : Connection [id: 466][route: {}->http://10.1.104.130:8080] can be kept alive indefinitely
2020-06-22 11:01:20.960 DEBUG 42 --- [pool-2-thread-1] h.i.c.DefaultManagedHttpClientConnection : http-outgoing-466: set socket timeout to 0
2020-06-22 11:01:20.960 DEBUG 42 --- [pool-2-thread-1] h.i.c.PoolingHttpClientConnectionManager : Connection released: [id: 466][route: {}->http://10.1.104.130:8080][total kept alive: 2; route allocated: 1 of 10; total allocated: 2 of 100]
2020-06-22 11:01:20.960 DEBUG 42 --- [pool-2-thread-1] o.a.h.client.protocol.RequestAddCookies  : CookieSpec selected: default
2020-06-22 11:01:20.960 DEBUG 42 --- [pool-2-thread-1] o.a.h.client.protocol.RequestAuthCache   : Auth cache not set in the context
2020-06-22 11:01:20.960 DEBUG 42 --- [pool-2-thread-1] h.i.c.PoolingHttpClientConnectionManager : Connection request: [route: {}->http://10.1.104.130:8080][total kept alive: 2; route allocated: 1 of 10; total allocated: 2 of 100]
2020-06-22 11:01:20.961 DEBUG 42 --- [pool-2-thread-1] h.i.c.PoolingHttpClientConnectionManager : Connection leased: [id: 466][route: {}->http://10.1.104.130:8080][total kept alive: 1; route allocated: 1 of 10; total allocated: 2 of 100]
2020-06-22 11:01:20.961 DEBUG 42 --- [pool-2-thread-1] h.i.c.DefaultManagedHttpClientConnection : http-outgoing-466: set socket timeout to 0
2020-06-22 11:01:20.961 DEBUG 42 --- [pool-2-thread-1] h.i.c.DefaultManagedHttpClientConnection : http-outgoing-466: set socket timeout to 28000
2020-06-22 11:01:20.961 DEBUG 42 --- [pool-2-thread-1] o.a.http.impl.execchain.MainClientExec   : Executing request GET /admin/v2/clusters/shanghai HTTP/1.1
2020-06-22 11:01:20.961 DEBUG 42 --- [pool-2-thread-1] o.a.http.impl.execchain.MainClientExec   : Proxy auth state: UNCHALLENGED
2020-06-22 11:01:20.961 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-466 >> GET /admin/v2/clusters/shanghai HTTP/1.1
2020-06-22 11:01:20.961 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-466 >> Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJhZG1pbiIsImV4cCI6MTY4NzA4NDI5MH0.K5sAvvUjd9J8RxHaBVlDCPnoPW8T6FDa4x9CovoH6v4
2020-06-22 11:01:20.961 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-466 >> Host: 10.1.104.130:8080
2020-06-22 11:01:20.961 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-466 >> Connection: Keep-Alive
2020-06-22 11:01:20.961 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-466 >> User-Agent: Apache-HttpClient/4.5.5 (Java/1.8.0_212)
2020-06-22 11:01:20.961 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-466 >> Accept-Encoding: gzip,deflate
2020-06-22 11:01:20.961 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 >> "GET /admin/v2/clusters/shanghai HTTP/1.1[\r][\n]"
2020-06-22 11:01:20.961 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 >> "Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJhZG1pbiIsImV4cCI6MTY4NzA4NDI5MH0.K5sAvvUjd9J8RxHaBVlDCPnoPW8T6FDa4x9CovoH6v4[\r][\n]"
2020-06-22 11:01:20.961 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 >> "Host: 10.1.104.130:8080[\r][\n]"
2020-06-22 11:01:20.961 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 >> "Connection: Keep-Alive[\r][\n]"
2020-06-22 11:01:20.961 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 >> "User-Agent: Apache-HttpClient/4.5.5 (Java/1.8.0_212)[\r][\n]"
2020-06-22 11:01:20.961 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 >> "Accept-Encoding: gzip,deflate[\r][\n]"
2020-06-22 11:01:20.961 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 >> "[\r][\n]"
2020-06-22 11:01:20.962 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 << "HTTP/1.1 200 OK[\r][\n]"
2020-06-22 11:01:20.962 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 << "Date: Mon, 22 Jun 2020 11:01:20 GMT[\r][\n]"
2020-06-22 11:01:20.962 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 << "Content-Type: application/json[\r][\n]"
2020-06-22 11:01:20.962 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 << "Content-Length: 188[\r][\n]"
2020-06-22 11:01:20.962 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 << "Server: Jetty(9.4.20.v20190813)[\r][\n]"
2020-06-22 11:01:20.963 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 << "[\r][\n]"
2020-06-22 11:01:20.963 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 << "{"serviceUrl":"http://10.1.104.136:8080","serviceUrlTls":"https://10.1.104.136:8443","brokerServiceUrl":"pulsar://10.1.104.136:6650","brokerServiceUrlTls":"pulsar+ssl://10.1.104.136:6651"}"
2020-06-22 11:01:20.963 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-466 << HTTP/1.1 200 OK
2020-06-22 11:01:20.963 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-466 << Date: Mon, 22 Jun 2020 11:01:20 GMT
2020-06-22 11:01:20.963 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-466 << Content-Type: application/json
2020-06-22 11:01:20.963 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-466 << Content-Length: 188
2020-06-22 11:01:20.963 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-466 << Server: Jetty(9.4.20.v20190813)
2020-06-22 11:01:20.963 DEBUG 42 --- [pool-2-thread-1] o.a.http.impl.execchain.MainClientExec   : Connection can be kept alive indefinitely
2020-06-22 11:01:20.963 DEBUG 42 --- [pool-2-thread-1] h.i.c.PoolingHttpClientConnectionManager : Connection [id: 466][route: {}->http://10.1.104.130:8080] can be kept alive indefinitely
2020-06-22 11:01:20.963 DEBUG 42 --- [pool-2-thread-1] h.i.c.DefaultManagedHttpClientConnection : http-outgoing-466: set socket timeout to 0
2020-06-22 11:01:20.963 DEBUG 42 --- [pool-2-thread-1] h.i.c.PoolingHttpClientConnectionManager : Connection released: [id: 466][route: {}->http://10.1.104.130:8080][total kept alive: 2; route allocated: 1 of 10; total allocated: 2 of 100]
2020-06-22 11:01:20.964 DEBUG 42 --- [pool-2-thread-1] o.a.h.client.protocol.RequestAddCookies  : CookieSpec selected: default
2020-06-22 11:01:20.964 DEBUG 42 --- [pool-2-thread-1] o.a.h.client.protocol.RequestAuthCache   : Auth cache not set in the context
2020-06-22 11:01:20.964 DEBUG 42 --- [pool-2-thread-1] h.i.c.PoolingHttpClientConnectionManager : Connection request: [route: {}->http://10.1.104.130:8080][total kept alive: 2; route allocated: 1 of 10; total allocated: 2 of 100]
2020-06-22 11:01:20.964 DEBUG 42 --- [pool-2-thread-1] h.i.c.PoolingHttpClientConnectionManager : Connection leased: [id: 466][route: {}->http://10.1.104.130:8080][total kept alive: 1; route allocated: 1 of 10; total allocated: 2 of 100]
2020-06-22 11:01:20.964 DEBUG 42 --- [pool-2-thread-1] h.i.c.DefaultManagedHttpClientConnection : http-outgoing-466: set socket timeout to 0
2020-06-22 11:01:20.964 DEBUG 42 --- [pool-2-thread-1] h.i.c.DefaultManagedHttpClientConnection : http-outgoing-466: set socket timeout to 28000
2020-06-22 11:01:20.964 DEBUG 42 --- [pool-2-thread-1] o.a.http.impl.execchain.MainClientExec   : Executing request GET /admin/v2/clusters/beijing/failureDomains HTTP/1.1
2020-06-22 11:01:20.964 DEBUG 42 --- [pool-2-thread-1] o.a.http.impl.execchain.MainClientExec   : Proxy auth state: UNCHALLENGED
2020-06-22 11:01:20.964 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-466 >> GET /admin/v2/clusters/beijing/failureDomains HTTP/1.1
2020-06-22 11:01:20.964 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-466 >> Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJhZG1pbiIsImV4cCI6MTY4NzA4NDI5MH0.K5sAvvUjd9J8RxHaBVlDCPnoPW8T6FDa4x9CovoH6v4
2020-06-22 11:01:20.964 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-466 >> Host: 10.1.104.130:8080
2020-06-22 11:01:20.964 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-466 >> Connection: Keep-Alive
2020-06-22 11:01:20.964 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-466 >> User-Agent: Apache-HttpClient/4.5.5 (Java/1.8.0_212)
2020-06-22 11:01:20.964 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-466 >> Accept-Encoding: gzip,deflate
2020-06-22 11:01:20.964 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 >> "GET /admin/v2/clusters/beijing/failureDomains HTTP/1.1[\r][\n]"
2020-06-22 11:01:20.965 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 >> "Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJhZG1pbiIsImV4cCI6MTY4NzA4NDI5MH0.K5sAvvUjd9J8RxHaBVlDCPnoPW8T6FDa4x9CovoH6v4[\r][\n]"
2020-06-22 11:01:20.965 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 >> "Host: 10.1.104.130:8080[\r][\n]"
2020-06-22 11:01:20.965 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 >> "Connection: Keep-Alive[\r][\n]"
2020-06-22 11:01:20.965 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 >> "User-Agent: Apache-HttpClient/4.5.5 (Java/1.8.0_212)[\r][\n]"
2020-06-22 11:01:20.965 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 >> "Accept-Encoding: gzip,deflate[\r][\n]"
2020-06-22 11:01:20.965 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 >> "[\r][\n]"
2020-06-22 11:01:20.965 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 << "HTTP/1.1 200 OK[\r][\n]"
2020-06-22 11:01:20.965 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 << "Date: Mon, 22 Jun 2020 11:01:20 GMT[\r][\n]"
2020-06-22 11:01:20.965 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 << "Content-Type: application/json[\r][\n]"
2020-06-22 11:01:20.965 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 << "Content-Length: 2[\r][\n]"
2020-06-22 11:01:20.965 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 << "Server: Jetty(9.4.20.v20190813)[\r][\n]"
2020-06-22 11:01:20.965 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 << "[\r][\n]"
2020-06-22 11:01:20.965 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 << "{}"
2020-06-22 11:01:20.966 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-466 << HTTP/1.1 200 OK
2020-06-22 11:01:20.966 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-466 << Date: Mon, 22 Jun 2020 11:01:20 GMT
2020-06-22 11:01:20.966 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-466 << Content-Type: application/json
2020-06-22 11:01:20.966 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-466 << Content-Length: 2
2020-06-22 11:01:20.966 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-466 << Server: Jetty(9.4.20.v20190813)
2020-06-22 11:01:20.966 DEBUG 42 --- [pool-2-thread-1] o.a.http.impl.execchain.MainClientExec   : Connection can be kept alive indefinitely
2020-06-22 11:01:20.966 DEBUG 42 --- [pool-2-thread-1] h.i.c.PoolingHttpClientConnectionManager : Connection [id: 466][route: {}->http://10.1.104.130:8080] can be kept alive indefinitely
2020-06-22 11:01:20.966 DEBUG 42 --- [pool-2-thread-1] h.i.c.DefaultManagedHttpClientConnection : http-outgoing-466: set socket timeout to 0
2020-06-22 11:01:20.966 DEBUG 42 --- [pool-2-thread-1] h.i.c.PoolingHttpClientConnectionManager : Connection released: [id: 466][route: {}->http://10.1.104.130:8080][total kept alive: 2; route allocated: 1 of 10; total allocated: 2 of 100]
2020-06-22 11:01:20.966 DEBUG 42 --- [pool-2-thread-1] o.a.h.client.protocol.RequestAddCookies  : CookieSpec selected: default
2020-06-22 11:01:20.966 DEBUG 42 --- [pool-2-thread-1] o.a.h.client.protocol.RequestAuthCache   : Auth cache not set in the context
2020-06-22 11:01:20.966 DEBUG 42 --- [pool-2-thread-1] h.i.c.PoolingHttpClientConnectionManager : Connection request: [route: {}->http://10.1.104.130:8080][total kept alive: 2; route allocated: 1 of 10; total allocated: 2 of 100]
2020-06-22 11:01:20.966 DEBUG 42 --- [pool-2-thread-1] h.i.c.PoolingHttpClientConnectionManager : Connection leased: [id: 466][route: {}->http://10.1.104.130:8080][total kept alive: 1; route allocated: 1 of 10; total allocated: 2 of 100]
2020-06-22 11:01:20.966 DEBUG 42 --- [pool-2-thread-1] h.i.c.DefaultManagedHttpClientConnection : http-outgoing-466: set socket timeout to 0
2020-06-22 11:01:20.966 DEBUG 42 --- [pool-2-thread-1] h.i.c.DefaultManagedHttpClientConnection : http-outgoing-466: set socket timeout to 28000
2020-06-22 11:01:20.966 DEBUG 42 --- [pool-2-thread-1] o.a.http.impl.execchain.MainClientExec   : Executing request GET /admin/v2/brokers/beijing HTTP/1.1
2020-06-22 11:01:20.966 DEBUG 42 --- [pool-2-thread-1] o.a.http.impl.execchain.MainClientExec   : Proxy auth state: UNCHALLENGED
2020-06-22 11:01:20.966 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-466 >> GET /admin/v2/brokers/beijing HTTP/1.1
2020-06-22 11:01:20.966 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-466 >> Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJhZG1pbiIsImV4cCI6MTY4NzA4NDI5MH0.K5sAvvUjd9J8RxHaBVlDCPnoPW8T6FDa4x9CovoH6v4
2020-06-22 11:01:20.966 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-466 >> Host: 10.1.104.130:8080
2020-06-22 11:01:20.966 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-466 >> Connection: Keep-Alive
2020-06-22 11:01:20.966 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-466 >> User-Agent: Apache-HttpClient/4.5.5 (Java/1.8.0_212)
2020-06-22 11:01:20.966 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-466 >> Accept-Encoding: gzip,deflate
2020-06-22 11:01:20.966 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 >> "GET /admin/v2/brokers/beijing HTTP/1.1[\r][\n]"
2020-06-22 11:01:20.966 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 >> "Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJhZG1pbiIsImV4cCI6MTY4NzA4NDI5MH0.K5sAvvUjd9J8RxHaBVlDCPnoPW8T6FDa4x9CovoH6v4[\r][\n]"
2020-06-22 11:01:20.966 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 >> "Host: 10.1.104.130:8080[\r][\n]"
2020-06-22 11:01:20.966 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 >> "Connection: Keep-Alive[\r][\n]"
2020-06-22 11:01:20.967 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 >> "User-Agent: Apache-HttpClient/4.5.5 (Java/1.8.0_212)[\r][\n]"
2020-06-22 11:01:20.967 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 >> "Accept-Encoding: gzip,deflate[\r][\n]"
2020-06-22 11:01:20.967 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 >> "[\r][\n]"
2020-06-22 11:01:20.968 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 << "HTTP/1.1 307 Temporary Redirect[\r][\n]"
2020-06-22 11:01:20.968 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 << "Date: Mon, 22 Jun 2020 11:01:20 GMT[\r][\n]"
2020-06-22 11:01:20.968 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 << "Location: http://10.1.104.220:8080/admin/v2/brokers/beijing[\r][\n]"
2020-06-22 11:01:20.968 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 << "broker-address: 10.1.104.130[\r][\n]"
2020-06-22 11:01:20.968 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 << "Content-Length: 0[\r][\n]"
2020-06-22 11:01:20.968 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 << "Server: Jetty(9.4.20.v20190813)[\r][\n]"
2020-06-22 11:01:20.968 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 << "[\r][\n]"
2020-06-22 11:01:20.968 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-466 << HTTP/1.1 307 Temporary Redirect
2020-06-22 11:01:20.968 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-466 << Date: Mon, 22 Jun 2020 11:01:20 GMT
2020-06-22 11:01:20.968 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-466 << Location: http://10.1.104.220:8080/admin/v2/brokers/beijing
2020-06-22 11:01:20.968 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-466 << broker-address: 10.1.104.130
2020-06-22 11:01:20.968 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-466 << Content-Length: 0
2020-06-22 11:01:20.968 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-466 << Server: Jetty(9.4.20.v20190813)
2020-06-22 11:01:20.968 DEBUG 42 --- [pool-2-thread-1] o.a.http.impl.execchain.MainClientExec   : Connection can be kept alive indefinitely
2020-06-22 11:01:20.968 DEBUG 42 --- [pool-2-thread-1] h.i.c.PoolingHttpClientConnectionManager : Connection [id: 466][route: {}->http://10.1.104.130:8080] can be kept alive indefinitely
2020-06-22 11:01:20.969 DEBUG 42 --- [pool-2-thread-1] h.i.c.DefaultManagedHttpClientConnection : http-outgoing-466: set socket timeout to 0
2020-06-22 11:01:20.969 DEBUG 42 --- [pool-2-thread-1] h.i.c.PoolingHttpClientConnectionManager : Connection released: [id: 466][route: {}->http://10.1.104.130:8080][total kept alive: 2; route allocated: 1 of 10; total allocated: 2 of 100]
2020-06-22 11:01:20.969 DEBUG 42 --- [pool-2-thread-1] o.a.h.i.client.DefaultRedirectStrategy   : Redirect requested to location 'http://10.1.104.220:8080/admin/v2/brokers/beijing'
2020-06-22 11:01:20.969 DEBUG 42 --- [pool-2-thread-1] o.a.http.impl.execchain.RedirectExec     : Resetting target auth state
2020-06-22 11:01:20.969 DEBUG 42 --- [pool-2-thread-1] o.a.http.impl.execchain.RedirectExec     : Redirecting to 'http://10.1.104.220:8080/admin/v2/brokers/beijing' via {}->http://10.1.104.220:8080
2020-06-22 11:01:20.969 DEBUG 42 --- [pool-2-thread-1] o.a.h.client.protocol.RequestAddCookies  : CookieSpec selected: default
2020-06-22 11:01:20.969 DEBUG 42 --- [pool-2-thread-1] o.a.h.client.protocol.RequestAuthCache   : Auth cache not set in the context
2020-06-22 11:01:20.969 DEBUG 42 --- [pool-2-thread-1] h.i.c.PoolingHttpClientConnectionManager : Connection request: [route: {}->http://10.1.104.220:8080][total kept alive: 2; route allocated: 0 of 10; total allocated: 2 of 100]
2020-06-22 11:01:20.969 DEBUG 42 --- [pool-2-thread-1] h.i.c.PoolingHttpClientConnectionManager : Connection leased: [id: 469][route: {}->http://10.1.104.220:8080][total kept alive: 2; route allocated: 1 of 10; total allocated: 3 of 100]
2020-06-22 11:01:20.969 DEBUG 42 --- [pool-2-thread-1] o.a.http.impl.execchain.MainClientExec   : Opening connection {}->http://10.1.104.220:8080
2020-06-22 11:01:20.970 DEBUG 42 --- [pool-2-thread-1] .i.c.DefaultHttpClientConnectionOperator : Connecting to /10.1.104.220:8080
2020-06-22 11:01:20.970 DEBUG 42 --- [pool-2-thread-1] .i.c.DefaultHttpClientConnectionOperator : Connection established 172.17.0.2:56478<->10.1.104.220:8080
2020-06-22 11:01:20.971 DEBUG 42 --- [pool-2-thread-1] h.i.c.DefaultManagedHttpClientConnection : http-outgoing-469: set socket timeout to 28000
2020-06-22 11:01:20.971 DEBUG 42 --- [pool-2-thread-1] o.a.http.impl.execchain.MainClientExec   : Executing request GET /admin/v2/brokers/beijing HTTP/1.1
2020-06-22 11:01:20.971 DEBUG 42 --- [pool-2-thread-1] o.a.http.impl.execchain.MainClientExec   : Proxy auth state: UNCHALLENGED
2020-06-22 11:01:20.971 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-469 >> GET /admin/v2/brokers/beijing HTTP/1.1
2020-06-22 11:01:20.971 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-469 >> Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJhZG1pbiIsImV4cCI6MTY4NzA4NDI5MH0.K5sAvvUjd9J8RxHaBVlDCPnoPW8T6FDa4x9CovoH6v4
2020-06-22 11:01:20.971 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-469 >> Host: 10.1.104.220:8080
2020-06-22 11:01:20.971 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-469 >> Connection: Keep-Alive
2020-06-22 11:01:20.971 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-469 >> User-Agent: Apache-HttpClient/4.5.5 (Java/1.8.0_212)
2020-06-22 11:01:20.971 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-469 >> Accept-Encoding: gzip,deflate
2020-06-22 11:01:20.971 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-469 >> "GET /admin/v2/brokers/beijing HTTP/1.1[\r][\n]"
2020-06-22 11:01:20.971 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-469 >> "Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJhZG1pbiIsImV4cCI6MTY4NzA4NDI5MH0.K5sAvvUjd9J8RxHaBVlDCPnoPW8T6FDa4x9CovoH6v4[\r][\n]"
2020-06-22 11:01:20.971 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-469 >> "Host: 10.1.104.220:8080[\r][\n]"
2020-06-22 11:01:20.971 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-469 >> "Connection: Keep-Alive[\r][\n]"
2020-06-22 11:01:20.971 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-469 >> "User-Agent: Apache-HttpClient/4.5.5 (Java/1.8.0_212)[\r][\n]"
2020-06-22 11:01:20.971 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-469 >> "Accept-Encoding: gzip,deflate[\r][\n]"
2020-06-22 11:01:20.971 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-469 >> "[\r][\n]"
2020-06-22 11:01:20.975 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-469 << "HTTP/1.1 401 Authentication required[\r][\n]"
2020-06-22 11:01:20.975 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-469 << "Date: Mon, 22 Jun 2020 11:01:20 GMT[\r][\n]"
2020-06-22 11:01:20.975 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-469 << "Cache-Control: must-revalidate,no-cache,no-store[\r][\n]"
2020-06-22 11:01:20.975 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-469 << "Content-Type: text/html;charset=iso-8859-1[\r][\n]"
2020-06-22 11:01:20.975 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-469 << "Content-Length: 369[\r][\n]"
2020-06-22 11:01:20.975 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-469 << "Server: Jetty(9.4.20.v20190813)[\r][\n]"
2020-06-22 11:01:20.975 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-469 << "[\r][\n]"
2020-06-22 11:01:20.975 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-469 << "<html>[\n]"
2020-06-22 11:01:20.975 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-469 << "<head>[\n]"
2020-06-22 11:01:20.975 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-469 << "<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>[\n]"
2020-06-22 11:01:20.975 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-469 << "<title>Error 401 Authentication required</title>[\n]"
2020-06-22 11:01:20.975 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-469 << "</head>[\n]"
2020-06-22 11:01:20.975 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-469 << "<body><h2>HTTP ERROR 401</h2>[\n]"
2020-06-22 11:01:20.975 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-469 << "<p>Problem accessing /admin/v2/brokers/beijing. Reason:[\n]"
2020-06-22 11:01:20.975 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-469 << "<pre>    Authentication required</pre></p><hr><a href="http://eclipse.org/jetty">Powered by Jetty:// 9.4.20.v20190813</a><hr/>[\n]"
2020-06-22 11:01:20.975 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-469 << "[\n]"
2020-06-22 11:01:20.975 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-469 << "</body>[\n]"
2020-06-22 11:01:20.975 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-469 << "</html>[\n]"
2020-06-22 11:01:20.975 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-469 << HTTP/1.1 401 Authentication required
2020-06-22 11:01:20.975 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-469 << Date: Mon, 22 Jun 2020 11:01:20 GMT
2020-06-22 11:01:20.975 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-469 << Cache-Control: must-revalidate,no-cache,no-store
2020-06-22 11:01:20.975 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-469 << Content-Type: text/html;charset=iso-8859-1
2020-06-22 11:01:20.975 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-469 << Content-Length: 369
2020-06-22 11:01:20.976 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-469 << Server: Jetty(9.4.20.v20190813)
2020-06-22 11:01:20.976 DEBUG 42 --- [pool-2-thread-1] o.a.http.impl.execchain.MainClientExec   : Connection can be kept alive indefinitely
2020-06-22 11:01:20.976 DEBUG 42 --- [pool-2-thread-1] o.a.http.impl.auth.HttpAuthenticator     : Authentication required
2020-06-22 11:01:20.976 DEBUG 42 --- [pool-2-thread-1] o.a.http.impl.auth.HttpAuthenticator     : 10.1.104.220:8080 requested authentication
2020-06-22 11:01:20.976 DEBUG 42 --- [pool-2-thread-1] o.a.http.impl.auth.HttpAuthenticator     : Response contains no authentication challenges
2020-06-22 11:01:20.976 DEBUG 42 --- [pool-2-thread-1] o.a.http.impl.execchain.MainClientExec   : Cancelling request execution
2020-06-22 11:01:20.976 DEBUG 42 --- [pool-2-thread-1] h.i.c.DefaultManagedHttpClientConnection : http-outgoing-469: Shutdown connection
2020-06-22 11:01:20.976 DEBUG 42 --- [pool-2-thread-1] o.a.http.impl.execchain.MainClientExec   : Connection discarded
2020-06-22 11:01:20.976 DEBUG 42 --- [pool-2-thread-1] h.i.c.PoolingHttpClientConnectionManager : Connection released: [id: 469][route: {}->http://10.1.104.220:8080][total kept alive: 2; route allocated: 0 of 10; total allocated: 2 of 100]
2020-06-22 11:01:20.979 ERROR 42 --- [pool-2-thread-1] o.s.s.s.TaskUtils$LoggingErrorHandler    : Unexpected error occurred in scheduled task.

java.lang.NullPointerException: null
    at org.apache.pulsar.manager.service.impl.BrokersServiceImpl.getBrokersList(BrokersServiceImpl.java:54) ~[pulsar-manager.jar:na]
    at org.apache.pulsar.manager.service.impl.ClustersServiceImpl.getClustersList(ClustersServiceImpl.java:70) ~[pulsar-manager.jar:na]
    at org.apache.pulsar.manager.service.impl.BrokerStatsServiceImpl.scheduleCollectStats(BrokerStatsServiceImpl.java:129) ~[pulsar-manager.jar:na]
    at sun.reflect.GeneratedMethodAccessor118.invoke(Unknown Source) ~[na:na]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_212]
    at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_212]
    at org.springframework.scheduling.support.ScheduledMethodRunnable.run(ScheduledMethodRunnable.java:65) ~[spring-context-5.0.6.RELEASE.jar:5.0.6.RELEASE]
    at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54) ~[spring-context-5.0.6.RELEASE.jar:5.0.6.RELEASE]
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [na:1.8.0_212]
    at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) [na:1.8.0_212]
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) [na:1.8.0_212]
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) [na:1.8.0_212]
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [na:1.8.0_212]
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [na:1.8.0_212]
    at java.lang.Thread.run(Thread.java:748) [na:1.8.0_212]
tuteng commented 4 years ago

Exception stack:

: http-outgoing-466 >> GET /admin/v2/brokers/beijing HTTP/1.1
2020-06-22 11:01:20.966 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-466 >> Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJhZG1pbiIsImV4cCI6MTY4NzA4NDI5MH0.K5sAvvUjd9J8RxHaBVlDCPnoPW8T6FDa4x9CovoH6v4
2020-06-22 11:01:20.966 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-466 >> Host: 10.1.104.130:8080
2020-06-22 11:01:20.966 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-466 >> Connection: Keep-Alive
2020-06-22 11:01:20.966 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-466 >> User-Agent: Apache-HttpClient/4.5.5 (Java/1.8.0_212)
2020-06-22 11:01:20.966 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-466 >> Accept-Encoding: gzip,deflate
2020-06-22 11:01:20.966 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 >> "GET /admin/v2/brokers/beijing HTTP/1.1[\r][\n]"
2020-06-22 11:01:20.966 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 >> "Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJhZG1pbiIsImV4cCI6MTY4NzA4NDI5MH0.K5sAvvUjd9J8RxHaBVlDCPnoPW8T6FDa4x9CovoH6v4[\r][\n]"
2020-06-22 11:01:20.966 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 >> "Host: 10.1.104.130:8080[\r][\n]"
2020-06-22 11:01:20.966 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 >> "Connection: Keep-Alive[\r][\n]"
2020-06-22 11:01:20.967 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 >> "User-Agent: Apache-HttpClient/4.5.5 (Java/1.8.0_212)[\r][\n]"
2020-06-22 11:01:20.967 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 >> "Accept-Encoding: gzip,deflate[\r][\n]"
2020-06-22 11:01:20.967 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 >> "[\r][\n]"
2020-06-22 11:01:20.968 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 << "HTTP/1.1 307 Temporary Redirect[\r][\n]"
2020-06-22 11:01:20.968 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 << "Date: Mon, 22 Jun 2020 11:01:20 GMT[\r][\n]"
2020-06-22 11:01:20.968 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 << "Location: http://10.1.104.220:8080/admin/v2/brokers/beijing[\r][\n]"
2020-06-22 11:01:20.968 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 << "broker-address: 10.1.104.130[\r][\n]"
2020-06-22 11:01:20.968 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 << "Content-Length: 0[\r][\n]"
2020-06-22 11:01:20.968 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 << "Server: Jetty(9.4.20.v20190813)[\r][\n]"
2020-06-22 11:01:20.968 DEBUG 42 --- [pool-2-thread-1] org.apache.http.wire                     : http-outgoing-466 << "[\r][\n]"
2020-06-22 11:01:20.968 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-466 << HTTP/1.1 307 Temporary Redirect
2020-06-22 11:01:20.968 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-466 << Date: Mon, 22 Jun 2020 11:01:20 GMT
2020-06-22 11:01:20.968 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-466 << Location: http://10.1.104.220:8080/admin/v2/brokers/beijing
2020-06-22 11:01:20.968 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-466 << broker-address: 10.1.104.130
2020-06-22 11:01:20.968 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-466 << Content-Length: 0
2020-06-22 11:01:20.968 DEBUG 42 --- [pool-2-thread-1] org.apache.http.headers                  : http-outgoing-466 << Server: Jetty(9.4.20.v20190813)
2

It seems that this problem is caused by 307 redirections. When a proxy does 307 redirections, the header does not carry authentication information. You can try to open this option on proxy.conf

# Whether client authorization credentials are forwared to the broker for re-authorization.
# Authentication must be enabled via authenticationEnabled=true for this to take effect.
forwardAuthorizationCredentials=false

@lvs071103

lvs071103 commented 4 years ago
forwardAuthorizationCredentials=true

The problem could not be solved