-
-
Notifications
You must be signed in to change notification settings - Fork 528
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
List of upcoming breaking changes #1013
Comments
Remove typo-type: Lines 729 to 730 in addcd6f
|
Switch default producer partitioner to I realise that changing this has issues as it would cause problems for users that upgrade kafkajs version for their current apps. But as-is there are also issues when interacting with Java (or other) clients. We actually recently got bitten by this in production after moving to a new Kafka cluster where topics had been mirrored across via MirrorMaker (i.e. the Java producer.) One option could be to not have a default partitioner but require one to be specified. Not a nice API but maybe it could be like that through the betas or for one dot version? |
Pushed a branch where I removed the |
For many years now, we have never made a breaking change to KafkaJS (at least not intentionally), which is great for our users in the short term, but in the long term it also means we accumulate cruft and some slightly awkward APIs.
The intention of this issue is to collect all of the things that we have said we want to change in a single major version, so that when we feel that we have accumulated enough things we can actually put together a project to do them.
Planned breaking changes
ResourceTypes
(Allow describe/alter config for broker configs #649)topic
argument fromadmin.fetchOffsets
(New admin method for fetching group offsets for multiple topics #992)admin.getTopicMetadata
(Add admin#fetchTopicMetadata #331)enforceRequestTimeout
and enable by default (document enforceRequestTimeout #955)TopicPartitionOffsetAndMedata
type (Fix a typo in a type name #758)originalError
from errors (replaced bycause
)topic
argument fromconsumer.subscribe
(Make consumer.subscribe accept an array of topics #1313)Please leave a comment if you find more changes that should be on this list.
The text was updated successfully, but these errors were encountered: