public class BatchModifyTopicInfo extends AbstractModel
Constructor and Description |
---|
BatchModifyTopicInfo() |
BatchModifyTopicInfo(BatchModifyTopicInfo 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 |
getCleanUpPolicy()
Get Message deletion policy.
|
Long |
getMaxMessageBytes()
Get Message size per batch.
|
Long |
getMinInsyncReplicas()
Get The minimum number of replicas specified by `min.insync.replicas` when the producer sets `request.required.acks` to `-1`.
|
String |
getNote()
Get Remarks.
|
Long |
getPartitionNum()
Get The number of partitions.
|
Long |
getReplicaNum()
Get Number of replicas.
|
Long |
getRetentionBytes()
Get Message retention size in topic dimension.
|
Long |
getRetentionMs()
Get Message retention period in topic dimension in milliseconds.
|
Long |
getSegmentMs()
Get Segment rolling duration in milliseconds.
|
String |
getTopicName()
Get Topic name.
|
Boolean |
getUncleanLeaderElectionEnable()
Get Whether to allow a non-ISR replica to be the leader.
|
void |
setCleanUpPolicy(String CleanUpPolicy)
Set Message deletion policy.
|
void |
setMaxMessageBytes(Long MaxMessageBytes)
Set Message size per batch.
|
void |
setMinInsyncReplicas(Long MinInsyncReplicas)
Set The minimum number of replicas specified by `min.insync.replicas` when the producer sets `request.required.acks` to `-1`.
|
void |
setNote(String Note)
Set Remarks.
|
void |
setPartitionNum(Long PartitionNum)
Set The number of partitions.
|
void |
setReplicaNum(Long ReplicaNum)
Set Number of replicas.
|
void |
setRetentionBytes(Long RetentionBytes)
Set Message retention size in topic dimension.
|
void |
setRetentionMs(Long RetentionMs)
Set Message retention period in topic dimension in milliseconds.
|
void |
setSegmentMs(Long SegmentMs)
Set Segment rolling duration in milliseconds.
|
void |
setTopicName(String TopicName)
Set Topic name.
|
void |
setUncleanLeaderElectionEnable(Boolean UncleanLeaderElectionEnable)
Set Whether to allow a non-ISR replica to be the leader.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public BatchModifyTopicInfo()
public BatchModifyTopicInfo(BatchModifyTopicInfo source)
public String getTopicName()
public void setTopicName(String TopicName)
TopicName
- Topic name.public Long getPartitionNum()
public void setPartitionNum(Long PartitionNum)
PartitionNum
- The number of partitions.public String getNote()
public void setNote(String Note)
Note
- Remarks.public Long getReplicaNum()
public void setReplicaNum(Long ReplicaNum)
ReplicaNum
- Number of replicas.public String getCleanUpPolicy()
public void setCleanUpPolicy(String CleanUpPolicy)
CleanUpPolicy
- Message deletion policy. Valid values: `delete`, `compact`.public Long getMinInsyncReplicas()
public void setMinInsyncReplicas(Long MinInsyncReplicas)
MinInsyncReplicas
- The minimum number of replicas specified by `min.insync.replicas` when the producer sets `request.required.acks` to `-1`.public Boolean getUncleanLeaderElectionEnable()
public void setUncleanLeaderElectionEnable(Boolean UncleanLeaderElectionEnable)
UncleanLeaderElectionEnable
- Whether to allow a non-ISR replica to be the leader.public Long getRetentionMs()
public void setRetentionMs(Long RetentionMs)
RetentionMs
- Message retention period in topic dimension in milliseconds. Value range: 1 minute to 90 days.public Long getRetentionBytes()
public void setRetentionBytes(Long RetentionBytes)
RetentionBytes
- Message retention size in topic dimension. Value range: 1 MB - 1024 GB.public Long getSegmentMs()
public void setSegmentMs(Long SegmentMs)
SegmentMs
- Segment rolling duration in milliseconds. Value range: 1-90 days.public Long getMaxMessageBytes()
public void setMaxMessageBytes(Long MaxMessageBytes)
MaxMessageBytes
- Message size per batch. Value range: 1 KB - 12 MB.Copyright © 2023. All rights reserved.