Describe the bug
On manager UI , after start a pipeline with one ftp source connector and one topic, the graph cannot display states icon.
Response kind value should be 'source', but got 'connector'
To Reproduce
Steps to reproduce the behavior:
Expected behavior
After start pipeline, 'FtpSource' should display red fail icon
Screenshots

Operation System (please complete the following information):
Additional context
Request header :
Accept: application/json, text/plain, */*
Accept-Encoding: gzip, deflate, br
Accept-Language: zh-TW,zh;q=0.9,en-US;q=0.8,en;q=0.7
Connection: keep-alive
Cookie: SESSION=a6f80299-4a66-4010-a96c-7071e85c80af; __lfcc=1
Host: localhost:3000
Referer: http://localhost:3000/pipelines/edit/wk00/xxxx/source/asdfasdfsf
Sec-Fetch-Mode: cors
Sec-Fetch-Site: same-origin
User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.132 Safari/537.36
Reponse body :
{"name":"xxxx","lastModified":1568184818632,"tags":{"workerClusterName":"wk00"},"flows":[{"from":{"group":"wk00-xxxx","name":"asdfasdfsf"},"to":[{"group":"wk00-xxxx","name":"test-topic"}]},{"from":{"group":"wk00-topic","name":"test-topic"},"to":[]}],"objects":[{"name":"asdfasdfsf","lastModified":1568184831944,"tags":{},"error":"No status found for connector wk00-xxxx-asdfasdfsf","className":"com.island.ohara.connector.ftp.FtpSource","metrics":{"meters":[]},"kind":"connector","group":"wk00-xxxx"},{"name":"test-topic","state":"RUNNING","lastModified":1568173097198,"tags":{},"metrics":{"meters":[]},"kind":"topic","group":"wk00-topic"}],"group":"wk00-xxxx"}`
seems kafka have inconsistent response of "exist" and "state" ... Let me take over this issue :)
Most helpful comment
seems kafka have inconsistent response of "exist" and "state" ... Let me take over this issue :)