apache / rocketmq-client-cpp

Apache RocketMQ cpp client

Home Page:https://rocketmq.apache.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SubscriptionData subversion field serialize in json should be long, not string.

lifepuzzlefun opened this issue · comments

see

Json::Value SubscriptionData::toJson() const {
Json::Value outJson;
outJson["subString"] = m_subString;
outJson["subVersion"] = UtilAll::to_string(m_subVersion);
outJson["topic"] = m_topic;
{

the serialize string in rockemq broker is long. i think this should keep the same as broker implementation