ntent / kafka4net

C# client for Kafka
Apache License 2.0
52 stars 32 forks source link

Better backward comptibility when enhancing configuration classes #35

Open vchekan opened 8 years ago

vchekan commented 8 years ago

I've enhanced ProducerConfiguration class with new parameter, CompressionType. This keeps it source-compatible with previous version but binary incompatible. Method not found exception can be thrown if not all dependencies in a project using kafka4net are updated.

Rework config classes and move optional parameters into properties. This will allow to preserve both, source and binary backward compatibility.

Do this upon next major release because this is yet another API change.