Closed ilovedumplings closed 1 year ago
rocketmq-client-java
is the gRPC/protobuf-based SDK, while rocketmq-client
is the remoting-based SDK.
They works by different communication protocols, and rocketmq-client-java
adopts the brand new APIs and is recommended.
rocketmq-client-java
is the gRPC/protobuf-based SDK, whilerocketmq-client
is the remoting-based SDK.They works by different communication protocols, and
rocketmq-client-java
adopts the brand new APIs and is recommended.
thanks.
i also wanna know both them support customized delay queue(int 24 hours) ??
@ilovedumplings you mean delay message? Of course!
@ilovedumplings you mean delay message? Of course!
yeah yeah yeah ,thanks !big man !!!
in rocketmq-client i wanna use delay message can i use this : ⬇ org.apache.rocketmq.common.message.Message
public void setDelayTimeSec(long sec) {
this.putProperty(MessageConst.PROPERTY_TIMER_DELAY_SEC, String.valueOf(sec));
}
public void setDelayTimeMs(long timeMs) {
this.putProperty(MessageConst.PROPERTY_TIMER_DELAY_MS, String.valueOf(timeMs));
}
public void setDeliverTimeMs(long timeMs) {
this.putProperty(MessageConst.PROPERTY_TIMER_DELIVER_MS, String.valueOf(timeMs));
}
@ilovedumplings you mean delay message? Of course!
因为我看rocket-mq-client的,似乎没有调用PROPERTY_TIMER_DELIVER_MS/PROPERTY_TIMER_DELAY_SEC 这几个参数的地方
sorry . i use wrong version of broker ....shit....
in the int the rocket mq 5.0.0 quick start , it use rocketmq-client-java i wanna know what's diff between rocketmq-client-java and rocketmq -client
thanks.