You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pinot.apache.org by GitBox <gi...@apache.org> on 2022/09/22 23:20:31 UTC

[GitHub] [pinot] itschrispeck opened a new pull request, #9451: spark-connector should use v2/brokers endpoint

itschrispeck opened a new pull request, #9451:
URL: https://github.com/apache/pinot/pull/9451

   #### Description
   When pinot brokers are not specified, the pinot spark connector will use the `brokers/tables/<tableName>` endpoint to discover them. The current endpoint supplies a list of broker name and a regex is used to parse it for `host`/`port` info.
   
   This fix moves to the `v2/brokers/tables/<tableName>` endpoint, which provides `host` and `port` as properties. This fixes issues when the broker name does not follow past convention. 
   
   
   Tested via running ExampleSparkPinotConnectorTest.scala
   
   
   `bugfix` `refactor`


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org

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


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


[GitHub] [pinot] Jackie-Jiang merged pull request #9451: spark-connector should use v2/brokers endpoint

Posted by GitBox <gi...@apache.org>.
Jackie-Jiang merged PR #9451:
URL: https://github.com/apache/pinot/pull/9451


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org

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


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