{"id":25436890,"url":"https://github.com/flowcore-io/data-pump","last_synced_at":"2025-07-09T03:03:12.980Z","repository":{"id":277252419,"uuid":"931798914","full_name":"flowcore-io/data-pump","owner":"flowcore-io","description":"Data Pump Client","archived":false,"fork":false,"pushed_at":"2025-06-27T12:59:30.000Z","size":226,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-27T13:42:47.883Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/flowcore-io.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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,"zenodo":null}},"created_at":"2025-02-12T21:50:56.000Z","updated_at":"2025-06-27T12:58:47.000Z","dependencies_parsed_at":"2025-04-16T23:04:31.670Z","dependency_job_id":"4b322955-6d5e-45ac-82dd-e35e2c8474b8","html_url":"https://github.com/flowcore-io/data-pump","commit_stats":null,"previous_names":["flowcore-io/data-pump"],"tags_count":44,"template":false,"template_full_name":null,"purl":"pkg:github/flowcore-io/data-pump","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flowcore-io%2Fdata-pump","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flowcore-io%2Fdata-pump/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flowcore-io%2Fdata-pump/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flowcore-io%2Fdata-pump/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/flowcore-io","download_url":"https://codeload.github.com/flowcore-io/data-pump/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flowcore-io%2Fdata-pump/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264384294,"owners_count":23599606,"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":"2025-02-17T08:29:16.166Z","updated_at":"2025-07-09T03:03:12.933Z","avatar_url":"https://github.com/flowcore-io.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Flowcore Data Pump Client\n\n## Usage example\n\n```ts\nimport { FlowcoreDataPump } from \"@flowcore/data-pump\"\nimport { oidcClient } from \"@flowcore/oidc-client\"\n\nconst oidcClient = oidcClient({\n  clientId: \"\",\n  clientSecret: \"\",\n})\n\nconst dataPump = FlowcoreDataPump.create({\n  auth: {\n    getBearerToken: () =\u003e oidcClient.getToken().then((token) =\u003e token.accessToken),\n  },\n  dataSource: {\n    tenant: \"tenant\",\n    dataCore: \"data-core\",\n    flowType: \"data.0\",\n    eventTypes: [\"data.created.0\", \"data.updated.0\", \"data.deleted.0\"],\n  },\n  processor: {\n    concurrency: 1,\n    handler: async (events) =\u003e {\n      console.log(`Got ${events.length} events`)\n      await new Promise((resolve) =\u003e setTimeout(resolve, 100))\n      return true\n    },\n  },\n  bufferSize: 10_000,\n  maxRedeliveryCount: 4,\n  achknowledgeTimeoutMs: 10_000,\n  logger: console,\n})\n\nawait dataPump.start((error?: Error) =\u003e {\n  console.log(\"Datapump ended with: \", error)\n})\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflowcore-io%2Fdata-pump","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflowcore-io%2Fdata-pump","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflowcore-io%2Fdata-pump/lists"}