murong00 commented on issue #3726: functions cli received HTTP 404 when trying to inspect a build-in I/O connector URL: https://github.com/apache/pulsar/issues/3726#issuecomment-468587961 This is probably due to: https://github.com/apache/pulsar/blob/master/pulsar-functions/worker/src/main/java/org/apache/pulsar/functions/worker/rest/api/ComponentImpl.java#L922 the method `calculateSubjectType` returns the actual component Type `SINK`, but the variable `componentType` initialized by `Utils.ComponentType.FUNCTION` via constructor `FunctionsImpl` in `FunctionsBase.functions`.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
