{"id":13802727,"url":"https://github.com/uber-common/node-kafka-rest-client","last_synced_at":"2025-04-15T08:31:42.343Z","repository":{"id":57288089,"uuid":"41319172","full_name":"uber-common/node-kafka-rest-client","owner":"uber-common","description":"A REST client for producing messages to Kafka","archived":false,"fork":false,"pushed_at":"2018-10-04T04:40:55.000Z","size":249,"stargazers_count":39,"open_issues_count":1,"forks_count":10,"subscribers_count":2581,"default_branch":"master","last_synced_at":"2025-04-12T06:47:52.810Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://www.uber.com","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/uber-common.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}},"created_at":"2015-08-24T18:12:37.000Z","updated_at":"2022-01-08T05:21:45.000Z","dependencies_parsed_at":"2022-09-11T08:03:04.182Z","dependency_job_id":null,"html_url":"https://github.com/uber-common/node-kafka-rest-client","commit_stats":null,"previous_names":["uber/node-kafka-rest-client"],"tags_count":36,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uber-common%2Fnode-kafka-rest-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uber-common%2Fnode-kafka-rest-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uber-common%2Fnode-kafka-rest-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uber-common%2Fnode-kafka-rest-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/uber-common","download_url":"https://codeload.github.com/uber-common/node-kafka-rest-client/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248530606,"owners_count":21119595,"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-08-04T00:01:51.990Z","updated_at":"2025-04-15T08:31:42.094Z","avatar_url":"https://github.com/uber-common.png","language":"JavaScript","readme":"# node-kafka-rest-client\n\nA rest client for producing JSON and binary messages to kafka.\n\n## Usage\n\n```js\nvar KafkaRestClient = require('kafka-rest-client');\nvar configs = {\n    proxyHost: 'localhost',\n    proxyPort: 18084\n};\n\nvar kafkaRestClient = new KafkaRestClient(kafkaRestClientOptions, callback);\nkafkaRestClient.connect(callback);\n\nkafkaRestClient.produce(topicName, 'Example Kafka Message', callback);\n\n```\n\n### Options\n\nKafkaProducer constructor accepts these options:\n  - `proxyHost` - Rest proxy hostname to produce kafka messages (default: `localhost`)\n  - `proxyPort` - Rest proxy port to produce kafka messages (required)\n\n## Install\n\n    npm install kafka-rest-client\n\n## Running tests\n\nTests are run using `npm`:\n\n    npm run test\n    \n## Running lint\n\nTests are run using `npm`:\n\n    npm run lint\n\n## MIT Licenced\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuber-common%2Fnode-kafka-rest-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fuber-common%2Fnode-kafka-rest-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuber-common%2Fnode-kafka-rest-client/lists"}