{"id":17119160,"url":"https://github.com/regadas/trino-pubsub-event-listener","last_synced_at":"2025-04-13T04:37:12.744Z","repository":{"id":139035547,"uuid":"605730119","full_name":"regadas/trino-pubsub-event-listener","owner":"regadas","description":"Trino Google Pub/Sub event listener","archived":false,"fork":false,"pushed_at":"2025-04-08T21:37:23.000Z","size":465,"stargazers_count":2,"open_issues_count":5,"forks_count":6,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-08T22:28:51.955Z","etag":null,"topics":["google-cloud-platform","trino","trinodb"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/regadas.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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-02-23T19:27:04.000Z","updated_at":"2025-04-08T21:36:51.000Z","dependencies_parsed_at":"2023-10-01T14:52:34.228Z","dependency_job_id":"8cc96e4f-2136-4da7-97c2-c0d939faec40","html_url":"https://github.com/regadas/trino-pubsub-event-listener","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/regadas%2Ftrino-pubsub-event-listener","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/regadas%2Ftrino-pubsub-event-listener/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/regadas%2Ftrino-pubsub-event-listener/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/regadas%2Ftrino-pubsub-event-listener/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/regadas","download_url":"https://codeload.github.com/regadas/trino-pubsub-event-listener/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248665691,"owners_count":21142121,"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":["google-cloud-platform","trino","trinodb"],"created_at":"2024-10-14T17:56:25.997Z","updated_at":"2025-04-13T04:37:12.723Z","avatar_url":"https://github.com/regadas.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# trino-pubsub-event-listener\n\n## Overview\n\nTrino Pub/Sub event listener is a plugin for [Trino](https://trino.io/) that allows you to send query events to Google Cloud Pub/Sub.\n\n``` mermaid\ngraph LR\n    A(Trino) -- Query events --\u003e B((Pub/Sub))\n    B --\u003e C(HTTP)\n    B --\u003e D(BigQuery)\n    B --\u003e E(Apache Avro / GCS)\n```\n\n\n## Usage\n\nTo use this plugin you need to copy the distribution package to the Trino plugin (`\u003cpath_to_trino\u003e/plugin/pubsub-event-listener/`) directory and configure the plugin.\n\n### Configuration\n\nCreate `\u003cpath_to_trino\u003e/etc/pubsub-event-listener.properties` with the following required parameters, e.g.:\n\n```properties\nevent-listener.name=pubsub\npubsub-event-listener.log-created=false\npubsub-event-listener.log-completed=true\npubsub-event-listener.log-split=false\npubsub-event-listener.project-id=\u003cgcp-project-id\u003e\npubsub-event-listener.topic-id=\u003ctopic-id\u003e\npubsub-event-listener.message-format=\u003cproto | json | avro\u003e\npubsub-event-listener.credentials-file=\u003cpath\u003e # optional\n```\n\n## Development\n\n### Prerequisites\n\n- Java 17\n- Gradle\n- `protoc` (Protobuf compiler)\n\n### Build\n\n```bash\n./gradlew build\n```\n\n### Distribution package\n\n```bash\n./gradlew distTar\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fregadas%2Ftrino-pubsub-event-listener","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fregadas%2Ftrino-pubsub-event-listener","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fregadas%2Ftrino-pubsub-event-listener/lists"}