Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE REQUEST] Provide prebuilt binaries for each target triples #1078

Open
5d-jh opened this issue May 14, 2024 · 4 comments
Open

[FEATURE REQUEST] Provide prebuilt binaries for each target triples #1078

5d-jh opened this issue May 14, 2024 · 4 comments

Comments

@5d-jh
Copy link

5d-jh commented May 14, 2024

What
Provide librdkafka and its bindings as binary on release assets. Like swc-project.

Why
To speed up postinstall operation and avoid tackle with compilation errors/warnings.

How
When merged into master branch, compile native code and publish onto releases page.

Add postinstall script to download binary for suitable platform, using prebuild-install cli.

@jsumners-nr
Copy link

It'd be better to use prebuildify. A post install script to download binaries from a web site is not a great experience.

See newrelic/node-native-metrics#238 for one such conversion.

@wSedlacek
Copy link

When building multi platform docker images this would make things so much faster as generally you'll have to deal with some evel of emulation and builds take forever when building over emulation (10m+ on M1 Max for amd64)

@hverlin
Copy link

hverlin commented Nov 20, 2024

You can try https://github.com/confluentinc/confluent-kafka-javascript

@wSedlacek
Copy link

You can try https://github.com/confluentinc/confluent-kafka-javascript

Thank you so much! Having the not having prebuilt binaries was a major pain point and this library makes all that go away, don't even need to install any -dev libs.

You saved my PR <3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants