public class PartitionAssignment extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| PartitionAssignment() | 
| PartitionAssignment(PartitionAssignment source)NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
       and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy. | 
| Modifier and Type | Method and Description | 
|---|---|
| String | getClientId()Get 消费者的clientId | 
| Long[] | getPartitionNo()Get 该消费者正在消费的分区
注意:此字段可能返回 null,表示取不到有效值。 | 
| void | setClientId(String ClientId)Set 消费者的clientId | 
| void | setPartitionNo(Long[] PartitionNo)Set 该消费者正在消费的分区
注意:此字段可能返回 null,表示取不到有效值。 | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic PartitionAssignment()
public PartitionAssignment(PartitionAssignment source)
public String getClientId()
public void setClientId(String ClientId)
ClientId - 消费者的clientIdpublic Long[] getPartitionNo()
public void setPartitionNo(Long[] PartitionNo)
PartitionNo - 该消费者正在消费的分区
注意:此字段可能返回 null,表示取不到有效值。Copyright © 2025. All rights reserved.