{"id":21829957,"url":"https://github.com/devinrsmith/deephaven-minio","last_synced_at":"2025-03-21T12:46:25.042Z","repository":{"id":237288543,"uuid":"794214992","full_name":"devinrsmith/deephaven-minio","owner":"devinrsmith","description":"Deephaven and MinIO configuration example","archived":false,"fork":false,"pushed_at":"2025-02-05T21:23:58.000Z","size":12,"stargazers_count":1,"open_issues_count":2,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-05T22:36:20.889Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/devinrsmith.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2024-04-30T17:16:50.000Z","updated_at":"2025-01-14T17:18:41.000Z","dependencies_parsed_at":"2024-04-30T18:32:55.855Z","dependency_job_id":"630b0c71-bb73-4d36-bb71-baeb4aecf318","html_url":"https://github.com/devinrsmith/deephaven-minio","commit_stats":null,"previous_names":["devinrsmith/deephaven-minio"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devinrsmith%2Fdeephaven-minio","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devinrsmith%2Fdeephaven-minio/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devinrsmith%2Fdeephaven-minio/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devinrsmith%2Fdeephaven-minio/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devinrsmith","download_url":"https://codeload.github.com/devinrsmith/deephaven-minio/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244801212,"owners_count":20512619,"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","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-27T18:33:16.216Z","updated_at":"2025-03-21T12:46:25.015Z","avatar_url":"https://github.com/devinrsmith.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# deephaven-minio\n\nA quick example of how to get [Deephaven](https://deephaven.io) and [MinIO](https://min.io) configured.\n\nIt's important to configure MinIO to accept virtual host-style resolution, as that's the preferred mode of operation for [AWS SDK for Java 2.x](https://docs.aws.amazon.com/sdk-for-java/)[^1]. This can be configured with the environment variable [MINIO_DOMAIN](https://min.io/docs/minio/linux/reference/minio-server/settings/core.html#envvar.MINIO_DOMAIN). For easy DNS via docker, each bucket can then be added as a network alias. This solution works for simple examples, but more complex setups may need to have a proper DNS service to support dynamic bucket names.\n\nAssuming the parquet file exists, with bucket \"test-data\" and key \"my-file.parquet\", the following query should then succeed:\n\n```python\nfrom deephaven import parquet\nfrom deephaven.experimental import s3\nfrom datetime import timedelta\n\nmy_table = parquet.read(\n    \"s3://test-data/my-file.parquet\",\n    special_instructions=s3.S3Instructions(\n        region_name=\"aws-global\",\n        endpoint_override=\"http://minio.example.com:9000\",\n        access_key_id=\"minioadmin\",\n        secret_access_key=\"minioadmin\",\n    ),\n)\n```\n\n[^1]: Deephaven _could_ allow [forcePathStyle](https://sdk.amazonaws.com/java/api/latest/software/amazon/awssdk/services/s3/S3BaseClientBuilder.html#forcePathStyle(java.lang.Boolean)) to be configured to enable path-style resolution, which could simplify deployment complexity in cases where users don't want to manage subdomains.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevinrsmith%2Fdeephaven-minio","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevinrsmith%2Fdeephaven-minio","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevinrsmith%2Fdeephaven-minio/lists"}