-
Notifications
You must be signed in to change notification settings - Fork 1
Use JVM default partitioner as default partitioner #60
Conversation
8c40de8
to
8c28b46
Compare
8c28b46
to
f1c3086
Compare
Should we change this default without any warning? |
Agreed about major version bump |
Yeah, new major version will be used. #61 |
Could it be an option to keep felice as is, and only modify the Config returned from |
Why so? If we bump to next major version, downstream users are aware of this. |
I'm not worried about downstream users, I just don't see the need to change the low level lib and release a new major version, while its config seems to be easily changeable in higher level libs. |
As stated in README, it's an opinionated library for Kafka, so that could imply that it has a default configuration that must not be changed in the most of users. I think any other configuration change that could affect downstream users like AckLocal would imply the same bump version in my opinion. What do you think? |
I'd say if we bump the major version we can freely change this default |
When changing the config here, yes definitely. But given that it's a public repo, we can have the OSS community in mind: After a bump we're likely to focus on 2.x for future fixes and features, so non-Heetch users of the library now all have to change their code to set the previous partitioner, without gaining anything else from the major version bump. For a struct or method signature change there's sometimes no way around a breaking change, but here it's just a config change which could be done in our other libraries. I see the pros on the other side: Less code to change for us, there are not many non-Heetch users of the lib, it's described as opinionated which I agree often includes configuration. Ok let's do it this way. |
Setting go.mod to 1.15
Removed outdated README
9e9701a
to
16b2dc8
Compare
Co-authored-by: Jean-Philippe Moal <skateinmars@users.noreply.github.com>
It uses murmur2 as custom hasher partitioner which is used by default
from JVM kafka client by default.
This is a backwards incompatible change to make easy to work in Kafka
ecosystem specially in Kakfa Streams cooperation.