You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2020/12/31 10:16:19 UTC
[GitHub] [pulsar] tuteng opened a new issue #9101: Get function info error
tuteng opened a new issue #9101:
URL: https://github.com/apache/pulsar/issues/9101
**Describe the bug**
curl http://localhost:8080/admin/v3/functions/public/default/function-name
```
org.glassfish.jersey.message.internal.WriterInterceptorExecutor$TerminalWriterInterceptor aroundWriteTo
SEVERE: MessageBodyWriter not found for media type=text/plain, type=class org.apache.pulsar.common.functions.FunctionConfig, genericType=class org.apache.pulsar.common.functions.FunctionConfig.
```
**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
**Expected behavior**
A clear and concise description of what you expected to happen.
**Screenshots**
If applicable, add screenshots to help explain your problem.
**Desktop (please complete the following information):**
- OS: [e.g. iOS]
**Additional context**
Fixed update restful API, add attribute `@Produces(MediaType.APPLICATION_JSON)` for file `https://github.com/apache/pulsar/blob/master/pulsar-functions/worker/src/main/java/org/apache/pulsar/functions/worker/rest/api/v3/FunctionsApiV3Resource.java#L104`
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [pulsar] tuteng closed issue #9101: Get function info error
Posted by GitBox <gi...@apache.org>.
tuteng closed issue #9101:
URL: https://github.com/apache/pulsar/issues/9101
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org