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 2022/05/07 09:25:28 UTC

[GitHub] [pulsar] wuxuanqicn commented on issue #15484: REST API cannot send message because of the topicName contains the "-"

wuxuanqicn commented on issue #15484:
URL: https://github.com/apache/pulsar/issues/15484#issuecomment-1120174056

   @xyhmnb Can you provide the request detail and response detail?
   ![image](https://user-images.githubusercontent.com/89442834/167248029-bf1acc51-d466-4ecc-8c8b-cdf638264058.png)
   
   my local pulsar works fine
   ```
   curl -X POST -H 'Content-Type: application/json' localhost:8080/topics/persistent/public/default/my-topic --data '{"messages":[{"payload":"RestProducer:1","key":"my-key","eventTime":"1603045262772","sequenceId":1,"disableReplication":false,"deliverAt":0,"deliverAfterMs":0,"schemaVersion":0},{"payload":"RestProducer:2","key":"my-key","eventTime":"1603045262772","sequenceId":2,"disableReplication":false,"deliverAt":0,"deliverAfterMs":0,"schemaVersion":0},{"payload":"RestProducer:3","key":"my-key","eventTime":"1603045262772","sequenceId":3,"disableReplication":false,"deliverAt":0,"deliverAfterMs":0,"schemaVersion":0}]}'
   ```
   


-- 
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: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org