fx19880617 opened a new issue #6000:
URL: https://github.com/apache/incubator-pinot/issues/6000


   Current controller `/brokers` APIs only returns instance id and expect 
instance is in the format of `ROLE_HOSTNAME_PORT`, however this is not the 
right thing any more.
   So we propose the new `/broker/v2` APIs which expand the instance id to a 
json blob with the fields: instanceId/host/port/etc.
   
   Sample expected request/response:
   ```
   ➜ curl localhost:9000/brokers | jq .
   {
     "tenants": {
       "DefaultTenant": [
         {
           "instanceId": "Broker_127.0.0.1_8000",
           "host": "127.0.0.1",
           "port": 8000
         }
       ]
     },
     "tables": {
       "airlineStats": [
         {
           "instanceId": "Broker_127.0.0.1_8000",
           "host": "127.0.0.1",
           "port": 8000
         }
       ]
     }
   }
   ```
   
   @KKcorps @kishoreg 


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org
For additional commands, e-mail: commits-h...@pinot.apache.org

Reply via email to