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
and there is no total_count and new_assignments in this type
it must be admin/new_partitions.py
classNewPartitions:
"""A class for new partition creation on existing topics. Note that the length of new_assignments, if specified, must be the difference between the new total number of partitions and the existing number of partitions. Arguments: total_count (int): the total number of partitions that should exist on the topic new_assignments ([[int]]): an array of arrays of replica assignments for new partitions. If not set, broker assigns replicas per an internal algorithm. """def__init__(
self,
total_count,
new_assignments=None
):
self.total_count=total_countself.new_assignments=new_assignments
The text was updated successfully, but these errors were encountered:
Describe the bug
there is a type error or wrong type
Environment (please complete the following information):
v0.10.0
7.1.2-ccs (Commit:99a40ee4675ee147)
Reproducible example
in
admin/client.py
while in
struct.py
TopicPartition
defined like thisand there is no
total_count
andnew_assignments
in this typeit must be
admin/new_partitions.py
The text was updated successfully, but these errors were encountered: