You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[2021-08-02 06:53:48,396] INFO [Admin Manager on Broker 1001]: Error processing create topic request CreatableTopic(name='testt', numPartitions=1, replicationFactor=1, assignments=[CreatableReplicaAssignment(partitionIndex=0, brokerIds=[1001, 1002]), CreatableReplicaAssignment(partitionIndex=1, brokerIds=[1002, 1003])], configs=[]) (kafka.server.AdminManager)
org.apache.kafka.common.errors.InvalidRequestException: Both numPartitions or replicationFactor and replicasAssignments were set. Both cannot be used at the same time.
kafkajs.admin sends default numPartitions and replicationFactor so when I send replicaassignment only but send default values together
The text was updated successfully, but these errors were encountered:
Fixed by #1305. KafkaJS now sends the default values -1 for replicationFactor and numPartitions, which is what's expected if you either want to use the default values from the cluster config, or if you are doing manual replica assignment. I have verified this in #1426.
kafkajs.admin sends default numPartitions and replicationFactor so when I send replicaassignment only but send default values together
The text was updated successfully, but these errors were encountered: