{"id":25511720,"url":"https://github.com/jmahmood/kafkasnake","last_synced_at":"2025-07-31T04:34:48.999Z","repository":{"id":137381372,"uuid":"109800727","full_name":"jmahmood/kafkasnake","owner":"jmahmood","description":"A set of examples of how to use Heroku Kafka with Python on your local environment","archived":false,"fork":false,"pushed_at":"2017-11-07T07:23:11.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-04T06:44:49.256Z","etag":null,"topics":["asyncio","heroku","kafka","kafka-consumer","kafka-producer","python3","tornado","tornado-websocket"],"latest_commit_sha":null,"homepage":null,"language":"Python","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/jmahmood.png","metadata":{"files":{"readme":"README.md","changelog":null,"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}},"created_at":"2017-11-07T07:22:55.000Z","updated_at":"2021-05-01T10:12:20.000Z","dependencies_parsed_at":"2023-05-04T17:40:58.212Z","dependency_job_id":null,"html_url":"https://github.com/jmahmood/kafkasnake","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jmahmood/kafkasnake","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmahmood%2Fkafkasnake","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmahmood%2Fkafkasnake/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmahmood%2Fkafkasnake/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmahmood%2Fkafkasnake/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jmahmood","download_url":"https://codeload.github.com/jmahmood/kafkasnake/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmahmood%2Fkafkasnake/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267988458,"owners_count":24176996,"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","status":"online","status_checked_at":"2025-07-31T02:00:08.723Z","response_time":66,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["asyncio","heroku","kafka","kafka-consumer","kafka-producer","python3","tornado","tornado-websocket"],"created_at":"2025-02-19T10:47:18.825Z","updated_at":"2025-07-31T04:34:48.988Z","avatar_url":"https://github.com/jmahmood.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Python / Kafka Examples for Heroku\n---\n\nA small set of examples that show how you can use Kafka on Heroku with Python, from your own personal dev environment.\n\n**Examples**\n\n`standard_consumer.py` and `standard_producer.py` both use the confluent-kafka-python library.\n\n`asyncio_kafka_consumer.py` is a consumer built on the Python 3.5+ Asyncio library.\n\n`asyncio_websockets_kafka_consumer.py` is built on Tornado / Asyncio / aiokafka, \nand shows an example of how to do pubsub with Kafka without blocking, and how to connect it to Tornado which\nhandles websocket connections.\n\n**How to Use**\n\nI am running this on a Basic-0 Heroku plan.  You need to make sure `HEROKU_STAGING_APP_NAME` is pointing to the application which contains the Kafka plugin.   \n\nIf you wish to use it off of Heroku, you can play with the kafka_settings files to make changes to the connection settings.\n ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjmahmood%2Fkafkasnake","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjmahmood%2Fkafkasnake","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjmahmood%2Fkafkasnake/lists"}