首页 > 解决方案 > Confluent.Kafka 与 Confluent.Kafka.StrongName nuget 包之间的区别

问题描述

Confluent.Kafka 和 Confluent.Kafka.StrongName nuget 包有什么区别。什么时候使用,哪一个?

标签: .netapache-kafka

解决方案


The difference between those packages is that one is Strong named and the other doesn't.

The content is the same.

To fully understand what a strong name assembly is, check this microsoft documentation.

Here a bit of explanation:

Strong-naming an assembly creates a unique identity for the assembly, and can prevent assembly conflicts.

When you reference a strong-named assembly, you can expect certain benefits, such as versioning and naming protection. In the .NET Framework, strong-named assemblies can be installed in the global assembly cache, which is required to enable some scenarios.

If you don't know what a Strong Name assembly is, probably you have to use Confluent.Kafka and not the strong name version.


推荐阅读