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
public class TopicStatsTable extends RemotingSerializable {
private Map<MessageQueue, TopicOffset> offsetTable = new ConcurrentHashMap<>();
public Map<MessageQueue, TopicOffset> getOffsetTable() {
return offsetTable;
}
public void setOffsetTable(Map<MessageQueue, TopicOffset> offsetTable) {
this.offsetTable = offsetTable;
}
}
Provide any additional detail on your proposed use case for this feature.
I am developing a KEDA Scaler based on RocketMQ, which will dynamically adjust the number of Pods based on the difference between the ConsumerGroup Offset and the Topic MaxOffset. I can get the ConsumerGroup Offset through the PullConsumer.CurrentOffset method, But I also need a method to get MaxOffset.
Indicate the importance of this issue to you (blocker, must-have, should-have, nice-to-have). Are you currently using any workarounds to address this issue?
blocker
If there are some sub-tasks using -[] for each subtask and create a corresponding issue to map to the sub task:
None
The text was updated successfully, but these errors were encountered:
FEATURE REQUEST
there is no way To obtain the MaxOffset of a Topic, is it possible to also provide methods such as
TopicStatsTable
in the Go SDK.https://github.com/apache/rocketmq/blob/280804c5592341f92a43b6d72ec6e94db77b74ac/remoting/src/main/java/org/apache/rocketmq/remoting/protocol/admin/TopicStatsTable.java#L24
I am developing a KEDA Scaler based on RocketMQ, which will dynamically adjust the number of Pods based on the difference between the ConsumerGroup Offset and the Topic MaxOffset. I can get the ConsumerGroup Offset through the
PullConsumer.CurrentOffset
method, But I also need a method to get MaxOffset.blocker
None
The text was updated successfully, but these errors were encountered: