{"id":19165757,"url":"https://github.com/loopbackio/loopback4-example-kafka","last_synced_at":"2025-05-07T12:24:22.305Z","repository":{"id":42658289,"uuid":"155433633","full_name":"loopbackio/loopback4-example-kafka","owner":"loopbackio","description":"A LoopBack 4 example application for Kafka integration","archived":false,"fork":false,"pushed_at":"2023-12-15T08:32:45.000Z","size":24,"stargazers_count":11,"open_issues_count":5,"forks_count":4,"subscribers_count":14,"default_branch":"master","last_synced_at":"2025-04-19T22:02:46.471Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/loopbackio.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":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-10-30T18:06:59.000Z","updated_at":"2023-08-04T11:37:21.000Z","dependencies_parsed_at":"2024-11-09T09:30:08.506Z","dependency_job_id":"678aba6a-3d05-4112-ab1b-6c306bc3a146","html_url":"https://github.com/loopbackio/loopback4-example-kafka","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/loopbackio%2Floopback4-example-kafka","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loopbackio%2Floopback4-example-kafka/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loopbackio%2Floopback4-example-kafka/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loopbackio%2Floopback4-example-kafka/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/loopbackio","download_url":"https://codeload.github.com/loopbackio/loopback4-example-kafka/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252874890,"owners_count":21817923,"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-09T09:29:15.482Z","updated_at":"2025-05-07T12:24:22.278Z","avatar_url":"https://github.com/loopbackio.png","language":"TypeScript","readme":"# loopback4-example-kafka\n\nA LoopBack 4 example application for Kafka integration.\n\nSee related issues:\n\n- https://github.com/strongloop/loopback-next/issues/1925\n- https://github.com/strongloop/loopback-next/issues/1884\n\n## Getting started\n\n### Start a Kafka instance\n\n```sh\ndocker-compose up\n```\n\n### Start the application\n\n```sh\nnpm start\n```\n\nNow you can try out on http://localhost:3000/explorer.\n\nTo use `curl`:\n\n- Create new topics\n\n```sh\ncurl -X POST \"http://127.0.0.1:3000/topics\" -H \"accept: */*\" -H \"Content-Type: application/json\" -d \"[\\\"demo\\\"]\"\n```\n\n- Publish messages to `demo` topic:\n\n```sh\ncurl -X POST \"http://127.0.0.1:3000/topics/demo/messages\" -H \"accept: */*\" -H \"Content-Type: application/json\" -d \"[\\\"test messsage\\\"]\"\n```\n\n- Receive messages from `demo` topic:\n\n```sh\ncurl -X GET \"http://127.0.0.1:3000/topics/demo/messages?limit=3\" -H \"accept: */*\"\n```\n\n[![LoopBack](\u003chttps://github.com/strongloop/loopback-next/raw/master/docs/site/imgs/branding/Powered-by-LoopBack-Badge-(blue)-@2x.png\u003e)](http://loopback.io/)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Floopbackio%2Floopback4-example-kafka","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Floopbackio%2Floopback4-example-kafka","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Floopbackio%2Floopback4-example-kafka/lists"}