{"id":13783696,"url":"https://github.com/nodefluent/kafka-connect","last_synced_at":"2025-04-13T08:18:13.659Z","repository":{"id":20890413,"uuid":"91196968","full_name":"nodefluent/kafka-connect","owner":"nodefluent","description":"equivalent to kafka-connect :wrench: for nodejs :sparkles::turtle::rocket::sparkles:","archived":false,"fork":false,"pushed_at":"2022-12-10T17:20:13.000Z","size":695,"stargazers_count":127,"open_issues_count":17,"forks_count":8,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-04-13T08:18:05.113Z","etag":null,"topics":["connect","datastore","etl","framework","kafka","kafka-connect","nodejs"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/nodefluent.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-05-13T19:07:21.000Z","updated_at":"2025-01-03T21:46:09.000Z","dependencies_parsed_at":"2023-01-14T01:45:15.639Z","dependency_job_id":null,"html_url":"https://github.com/nodefluent/kafka-connect","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nodefluent%2Fkafka-connect","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nodefluent%2Fkafka-connect/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nodefluent%2Fkafka-connect/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nodefluent%2Fkafka-connect/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nodefluent","download_url":"https://codeload.github.com/nodefluent/kafka-connect/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248681519,"owners_count":21144703,"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":["connect","datastore","etl","framework","kafka","kafka-connect","nodejs"],"created_at":"2024-08-03T19:00:28.702Z","updated_at":"2025-04-13T08:18:13.638Z","avatar_url":"https://github.com/nodefluent.png","language":"JavaScript","funding_links":[],"categories":["Operations"],"sub_categories":["Tools"],"readme":"# node-kafka-connect\n\n[![Build Status](https://travis-ci.org/nodefluent/kafka-connect.svg?branch=master)](https://travis-ci.org/nodefluent/kafka-connect)\n\n[![Coverage Status](https://coveralls.io/repos/github/nodefluent/kafka-connect/badge.svg?branch=master)](https://coveralls.io/github/nodefluent/kafka-connect?branch=master)\n\n## What can I do with this?\nThe framework can be used to build connectors,\nthat transfer data `to` and `from` Apache Kafka and Databases,\nvery easily. If you are looking for already implemented connectors\nfor you favorite datastore, take a look at the `Available Connector Implementations` below.\n\n## Info\n\n- node-kafka-connect is a framework to implement large\n`kafka -\u003e datastore` \u0026 `datastore -\u003e kafka` data movements.\n- it can be used to easily built connectors from/to kafka to any kind of\ndatastore/database.\n- a connector might consist of a SourceConnector + SourceTask to\npoll data from a datastore into a kafka topic.\n- a connector might consist of a SinkConnector + SinkTask to put\ndata from a kafka topic into a datastore.\n- Converters might be used to apply alteration to any data-stream.\n- any operation in node-kafka-connect is asynchronous\n- ships with auto http server (health-checks, kafka-stats)\n- ships with auto metrics (prometheus)\n\n## A note on native mode\n\nIf you are using the native mode (`config: { noptions: {} }`).\nYou will have to manually install `node-rdkafka` alongside kafka-connect.\n(This requires a Node.js version between 9 and 12 and will not work with Node.js \u003e= 13, last tested with 12.16.1)\n\nOn Mac OS High Sierra / Mojave:\n`CPPFLAGS=-I/usr/local/opt/openssl/include LDFLAGS=-L/usr/local/opt/openssl/lib yarn add --frozen-lockfile node-rdkafka@2.7.4`\n\nOtherwise:\n`yarn add --frozen-lockfile node-rdkafka@2.7.4`\n\n(Please also note: Doing this with npm does not work, it will remove your deps, `npm i -g yarn`)\n\n## Available Connector Implementations\n\n* [Sequelize (MySQL, Postgres, SQLite, MSSQL)](https://github.com/nodefluent/sequelize-kafka-connect)\n* [Google BigQuery](https://github.com/nodefluent/bigquery-kafka-connect)\n* [Salesforce](https://github.com/nodefluent/salesforce-kafka-connect)\n* [Google PubSub](https://github.com/nodefluent/gcloud-pubsub-kafka-connect)\n\n## Creating custom Connectors\n\n```\nyarn add kafka-connect\n```\n\n```es6\nconst source = new TestSourceConfig(config, \n    TestSourceConnector, \n    TestSourceTask, \n    [TestConverter]);\n    \nsource.run().then();\n```\n\n```es6\nconst sink = new TestSinkConfig(config,\n    TestSinkConnector, \n    TestSinkTask, \n    [TestConverter]);\n \nsink.run().then();\n```\n\n## Docs\n\n* [Implementation-Helper Overview](docs/sample.md)\n* [Framework Events](docs/events.md)\n\n## Debugging\n\n* You can use `DEBUG=kafka-connect:*` to debug the sink configuration.\n\n## FAQ\n\n* Q: it is running slow / only synchronous / 1 by 1 messages ?\n* A: just set the config.batch object [as it is described here](https://github.com/nodefluent/node-sinek/tree/master/lib/librdkafka#advanced-1n-consumer-mode)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnodefluent%2Fkafka-connect","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnodefluent%2Fkafka-connect","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnodefluent%2Fkafka-connect/lists"}