You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I’m a beginner in the confluent Kafka cloud and trying to achieve the functionality of consuming messages using REST APIs in the confluent Kafka cloud.
I’m a beginner in the confluent Kafka cloud and trying to achieve the functionality of consuming messages using REST APIs in the confluent Kafka cloud.
I am not able to create consumer even though I referenced the Confluent Kafka documentation(https://docs.confluent.io/platform/current/kafka-rest/api.html#consumers).
Here are the possible commands that I tried:
Request:
curl -X POST -H "Content-Type: application/vnd.api+json"
-H "Authorization: Basic XXXXX"
"https://pkc-ymrq7.us-east-2.aws.confluent.cloud:443/kafka/v3/clusters/YYYY/consumers"
--data '{ "name": "data", "format": "json", "auto.offset.reset": "earliest" }'
Response:
{"error_code":404,"message":"HTTP 404 Not Found"}%
Request
curl -X POST -H "Content-Type: application/vnd.api+json"
-H "Authorization: Basic XXXXXX"
-d '{"data":{"attributes":{"name":"my-consumer-group"}}}'
"https://pkc-ymrq7.us-east-2.aws.confluent.cloud:443/kafka/v3/clusters/lkc-097n86/consumer-groups"
Response:
{"error_code":405,"message":"HTTP 405 Method Not Allowed"}%
The text was updated successfully, but these errors were encountered: