ah- / rdkafka-dotnet

C# Apache Kafka client
Other
242 stars 73 forks source link

Statically Linked version of zlib.dll / librdkafka.dll #92

Open wangjia184 opened 7 years ago

wangjia184 commented 7 years ago

I get the NuGet package and found that the zlib.dll is not statically linked to the runtime.

image

This involves an extra runtime on deployment. Can we use a statically linked version of zlib.dll in the NuGet package?

Or even better, statically link to the zlib in librdkafka.dll to avoid the extra dependency on zlib.dll.

ah- commented 7 years ago

Yes, that'd be really nice and make it easier to use.

This build is done with https://github.com/ah-/librdkafka-build, want to give it a go? I'd love to merge a PR.

wangjia184 commented 7 years ago

PR is created here : https://github.com/ah-/librdkafka-build/pull/1

Please have some test, if everything is ok. Could you please update NuGet package?