{"id":15887936,"url":"https://github.com/iwpnd/geo-stream-kafka","last_synced_at":"2025-10-17T23:30:55.285Z","repository":{"id":37726496,"uuid":"244927275","full_name":"iwpnd/geo-stream-kafka","owner":"iwpnd","description":"producer and consumer FastAPI endpoints to handle incoming geo data","archived":true,"fork":false,"pushed_at":"2020-03-17T06:31:06.000Z","size":2994,"stargazers_count":62,"open_issues_count":1,"forks_count":16,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-01-28T21:12:35.051Z","etag":null,"topics":["apache","fastapi","geodata","kafka","leaflet","leafletjs","websockets"],"latest_commit_sha":null,"homepage":null,"language":"Python","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/iwpnd.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":"2020-03-04T14:52:46.000Z","updated_at":"2024-03-13T08:29:50.000Z","dependencies_parsed_at":"2022-08-08T21:30:32.062Z","dependency_job_id":null,"html_url":"https://github.com/iwpnd/geo-stream-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/iwpnd%2Fgeo-stream-kafka","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iwpnd%2Fgeo-stream-kafka/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iwpnd%2Fgeo-stream-kafka/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iwpnd%2Fgeo-stream-kafka/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iwpnd","download_url":"https://codeload.github.com/iwpnd/geo-stream-kafka/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":236877977,"owners_count":19218902,"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":["apache","fastapi","geodata","kafka","leaflet","leafletjs","websockets"],"created_at":"2024-10-06T06:05:44.801Z","updated_at":"2025-10-17T23:30:49.865Z","avatar_url":"https://github.com/iwpnd.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# geo-stream-kafka\n\n\u003cp align=\"center\"\u003e\n\u003cimg src=\"/img/geostream-fastapi-kafka.png\" alt=\"setup geostream fastapi aiokafka\"\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n\u003cimg src=\"/img/geostream.gif\" alt=\"geostream gif\"\u003e\n\u003c/p\u003e\n\nsee [blogpost](https://iwpnd.pw/articles/2020-03/apache-kafka-fastapi-geostream) for a more detailed description\n\n```bash\ndocker-compose up -d\n```\n\nIf you're on MacOS set an environment variable like:\n```bash\nexport DOCKER_KAFKA_HOST=$(ipconfig getifaddr en0)\n```\n\nthat is afterwards used in `docker-compose.yml` to identify the `KAFKA_ADVERTISED_HOST_NAME`. Some similar workaround has to exist for Windows users.\nFor linux I assume you can just set it to `localhost` if you're only running on Kafka node. See [github.com/wurstmeister/kafka-docker/wiki/Connectivity](https://github.com/wurstmeister/kafka-docker/wiki/Connectivity).\n\n## Kafka\nKafka will be served on `localhost:9092`\n\n## Frontend\nopen `/geostream/frontend/app/index.html` and associated `map.js` will consume messages when they come in\n\n## Producer\ncan produce messages to a topic at `localhost:8002/producer/\u003ctopicname\u003e`\n\n## Consumer\ncan consume kafka messages through at `localhost:8003/consumer/\u003ctopicname\u003e`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiwpnd%2Fgeo-stream-kafka","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fiwpnd%2Fgeo-stream-kafka","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiwpnd%2Fgeo-stream-kafka/lists"}