{"id":19686339,"url":"https://github.com/closeio/librdkafka-arm-binary","last_synced_at":"2026-03-03T03:09:09.166Z","repository":{"id":47210817,"uuid":"402705825","full_name":"closeio/librdkafka-arm-binary","owner":"closeio","description":"Repo for hosting librdkafka arm binaries ","archived":false,"fork":false,"pushed_at":"2023-12-05T17:12:27.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":19,"default_branch":"main","last_synced_at":"2025-01-10T07:19:20.541Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Dockerfile","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/closeio.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":"2021-09-03T08:51:05.000Z","updated_at":"2023-12-05T17:11:36.000Z","dependencies_parsed_at":"2024-11-11T18:32:49.129Z","dependency_job_id":"78553401-4328-428e-9894-eaf22b8e4a51","html_url":"https://github.com/closeio/librdkafka-arm-binary","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/closeio%2Flibrdkafka-arm-binary","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/closeio%2Flibrdkafka-arm-binary/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/closeio%2Flibrdkafka-arm-binary/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/closeio%2Flibrdkafka-arm-binary/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/closeio","download_url":"https://codeload.github.com/closeio/librdkafka-arm-binary/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240993951,"owners_count":19890419,"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-11T18:27:35.490Z","updated_at":"2026-03-03T03:09:04.134Z","avatar_url":"https://github.com/closeio.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# librdkafka-arm-binary\n## Why\nPython's `confluent-kafka` module depends on librdkafka arm binary, but it [does not provide a wheel for arm](https://pypi.org/project/confluent-kafka/#files) with it.\nSpecifically, the compilation of the module's C extension [requires librdkafka.](https://github.com/confluentinc/confluent-kafka-python/blob/master/src/confluent_kafka/src/confluent_kafka.h#L23)\nTherefore, we need to compile librdkafka for arm as suggested [here](https://github.com/confluentinc/confluent-kafka-python/issues/462#issuecomment-427657824).\n\n\n## Usage\n`make extract_files` will build docker arm64 image, compile librdkafka for arm, compress new `/usr` files into `librdkafka_arm.tar.gz` and copy that archive to host. \n\nThen we manually create a Github release with the extracted binary files.\n\nTo install the compiled binaries, extract the tar file content into `/usr` directory.\nExample of Dockerfile:\n```\n# More at https://github.com/closeio/librdkafka-arm-binary/tree/main\nRUN if [ \"$TARGETPLATFORM\" = \"linux/arm64\" ] ; then \\\n        curl https://github.com/closeio/librdkafka-arm-binary/releases/download/v1.7.0/librdkafka_arm.tar.gz --fail --output ./librdkafka_arm.tar.gz --location \u0026\u0026 \\\n        tar -xf librdkafka_arm.tar.gz \u0026\u0026 \\\n        cp -r librdkafka_arm/* /usr \u0026\u0026 \\\n        rm -r librdkafka_arm \u0026\u0026 \\\n        rm librdkafka_arm.tar.gz; \\\n    fi ;\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloseio%2Flibrdkafka-arm-binary","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcloseio%2Flibrdkafka-arm-binary","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloseio%2Flibrdkafka-arm-binary/lists"}