public class ProjectConsumerGroup extends Object implements Serializable
| Constructor and Description |
|---|
ProjectConsumerGroup(String consumerGroupName,
String logStoreExpr,
int timeout,
boolean inOrder) |
| Modifier and Type | Method and Description |
|---|---|
String |
getConsumerGroupName() |
String |
getLogStoreExpr() |
int |
getTimeout() |
boolean |
isInOrder() |
void |
setConsumerGroupName(String consumerGroupName) |
void |
setInOrder(boolean inOrder) |
void |
setLogStoreExpr(String logStoreExpr) |
void |
setTimeout(int timeout) |
com.alibaba.fastjson.JSONObject |
ToRequestJson() |
String |
ToRequestString() |
String |
toString() |
public ProjectConsumerGroup(String consumerGroupName, String logStoreExpr, int timeout, boolean inOrder)
consumerGroupName - consumer group namelogStoreExpr - log store glob expressiontimeout - if the time interval of a consumer's heartbeat exceed this value in second, the consumer will be deleted.inOrder - consume data in oder or notpublic String getConsumerGroupName()
public void setConsumerGroupName(String consumerGroupName)
public String getLogStoreExpr()
public void setLogStoreExpr(String logStoreExpr)
public int getTimeout()
public void setTimeout(int timeout)
public boolean isInOrder()
public void setInOrder(boolean inOrder)
public com.alibaba.fastjson.JSONObject ToRequestJson()
public String ToRequestString()
Copyright © 2025. All Rights Reserved.