You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@inlong.apache.org by GitBox <gi...@apache.org> on 2022/03/13 07:37:27 UTC
[GitHub] [incubator-inlong] kipshi opened a new issue #3097: [Bug] Fix json parser error in Manager Client
kipshi opened a new issue #3097:
URL: https://github.com/apache/incubator-inlong/issues/3097
### What happened
ClassCastException throw like this:
java.lang.ClassCastException: org.apache.inlong.manager.common.pojo.group.InlongGroupMqExtBase cannot be cast to org.apache.inlong.manager.common.pojo.group.InlongGroupPulsarInfo
at org.apache.inlong.manager.client.api.util.InlongGroupTransfer.parsePulsarConf(InlongGroupTransfer.java:147)
at org.apache.inlong.manager.client.api.util.InlongGroupTransfer.parseMqBaseConf(InlongGroupTransfer.java:78)
at org.apache.inlong.manager.client.api.util.InlongGroupTransfer.parseGroupResponse(InlongGroupTransfer.java:60)
at org.apache.inlong.manager.client.api.impl.InlongClientImpl.getGroup(InlongClientImpl.java:108)
at com.tencent.cloud.wedata.di.helper.InLongClientHelper.getInLongGroup(InLongClientHelper.java:228)
at com.tencent.cloud.wedata.di.service.impl.IntegrationTaskServiceImpl.startTask(IntegrationTaskServiceImpl.java:990)
### What you expected to happen
throw no ClassCastException
### How to reproduce
InlongGroup inlongGroup = inlongClient.getGroup(GROUP_NAME);
InlongGroup group = inlongClient.forGroup(groupConf);
### Environment
_No response_
### InLong version
master
### InLong Component
InLong Manager
### Are you willing to submit PR?
- [X] Yes, I am willing to submit a PR!
### Code of Conduct
- [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@inlong.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-inlong] dockerzhang closed issue #3097: [Bug] Fix json parser error in Manager Client
Posted by GitBox <gi...@apache.org>.
dockerzhang closed issue #3097:
URL: https://github.com/apache/incubator-inlong/issues/3097
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@inlong.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org