{"id":20048007,"url":"https://github.com/reactiverse/pinot-client","last_synced_at":"2025-07-22T04:32:48.348Z","repository":{"id":167121528,"uuid":"642112325","full_name":"reactiverse/pinot-client","owner":"reactiverse","description":"This client exposes the Pinot Java Client for Eclipse Vert.x applications.","archived":false,"fork":false,"pushed_at":"2023-10-09T12:46:09.000Z","size":71,"stargazers_count":2,"open_issues_count":1,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-02T08:20:39.346Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/reactiverse.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-05-17T21:11:26.000Z","updated_at":"2023-09-20T12:51:59.000Z","dependencies_parsed_at":"2024-11-13T11:50:12.459Z","dependency_job_id":null,"html_url":"https://github.com/reactiverse/pinot-client","commit_stats":null,"previous_names":["lucifer4j/pinot-client","reactiverse/pinot-client"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/reactiverse/pinot-client","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reactiverse%2Fpinot-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reactiverse%2Fpinot-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reactiverse%2Fpinot-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reactiverse%2Fpinot-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/reactiverse","download_url":"https://codeload.github.com/reactiverse/pinot-client/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reactiverse%2Fpinot-client/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266427980,"owners_count":23926909,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-22T02:00:09.085Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-13T11:40:01.288Z","updated_at":"2025-07-22T04:32:48.321Z","avatar_url":"https://github.com/reactiverse.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pinot-client\n\nVert.x Pinot client exposes a convenient API for Eclipse Vert.x applications to query Apache Pinot servers.\n\nThe client is built atop the official [pinot-java-client](https://docs.pinot.apache.org/users/clients/java).\n\n## Install\n\nUsing maven:\n```\n\u003cdependency\u003e\n    \u003cgroupId\u003eio.reactiverse\u003c/groupId\u003e\n    \u003cartifactId\u003epinot-client\u003c/artifactId\u003e\n    \u003cversion\u003e1.0-SNAPSHOT\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\nUsing Gradle:\n```\nimplementation(\"io.reactiverse:pinot-client:1.0-SNAPSHOT\")\n```\n\n## Sample usage\n\nInitialize the transport and the client:\n\n```java\nString brokerUrl = \"localhost:8000\";\nVertxPinotClientTransport transport = new VertxPinotClientTransport(vertx);\nVertxConnection connection = VertxConnectionFactory.fromHostList(vertx, List.of(brokerUrl), transport);\n```\n\nHere is a sample usage with Java API where we ask to retrieve a list of top 10 players with most home runs:\n\n```java\nString query = \"select playerName, sum(homeRuns) AS totalHomeRuns from baseballStats where homeRuns \u003e 0 group by playerID, playerName ORDER BY totalHomeRuns DESC limit 10\";\nconnection\n    .execute(query)\n    .onSuccess(resultSetGroup -\u003e {\n        ResultSet results = resultSetGroup.getResultSet(0);\n        System.out.println(\"Player Name\\tTotal Home Runs\");\n        for (int i = 0; i \u003c results.getRowCount(); i++) {\n            System.out.println(results.getString(i, 0) + \"\\t\" + results.getString(i, 1));\n        }\n    })\n    .onFailure(Throwable::printStackTrace);\n```\n\nAnd here is the RxJava 2 API equivalent:\n\n```java\nString query = \"select playerName, sum(homeRuns) AS totalHomeRuns from baseballStats where homeRuns \u003e 0 group by playerID, playerName ORDER BY totalHomeRuns DESC limit 10\";\nconnection\n    .rxExecute(query)\n    .subscribe(resultSetGroup -\u003e {\n        ResultSet results = resultSetGroup.getResultSet(0);\n        System.out.println(\"Player Name\\tTotal Home Runs\");\n        for (int i = 0; i \u003c results.getRowCount(); i++) {\n            System.out.println(results.getString(i, 0) + \"\\t\" + results.getString(i, 1));\n        }\n    }, Throwable::printStackTrace);\n```\n\nYou can configure the underlying webclient options while creating the Vert.x transport. For instance, here is how an\nexample of configuring timeouts on the web client transport:\n```java\nWebClientOptions options = new WebClientOptions()\n    .setConnectTimeout(15000)\n    .setIdleTimeout(15000)\n    .setKeepAliveTimeout(15000);\nVertxPinotClientTransport transport = new VertxPinotClientTransport(vertx, Map.of(), \"http\", null, options);\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freactiverse%2Fpinot-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Freactiverse%2Fpinot-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freactiverse%2Fpinot-client/lists"}