Hi,
I have created Cluster in Confluent Cloud and using Confluent Rest Proxy API i am able to produce message to Kafka cluster but didn't found any endpoint for consuming messages. Below is the link I am following
Documentation URL
Since I am new to confluent. if some one please help me out.
Thanks
hi,
I would recommend to start and follow the following
Apache Kafka® Quick Start - Confluent Cloud
best,
michael
Thanks Michael for your reply. i have already signed-up in Confluent cloud and created cluster and Topics.
I am using .Net client to Produce and Consume messages using Rest Proxy API. i have used below API end point for Produce Records
https://{Address}/kafka/v3/clusters/{cluster_id}/topics/{topic_name}/records
is there any Rest Proxy API end point to consume message?
Thanks,
according to the docs you should get it with
https://{address}/kafka/v3/clusters/{cluster_id}/topics/{topic_name}
for ref:
https://docs.confluent.io/cloud/current/api.html#operation/getKafkaTopic
best,
michael
Thanks Michael, the endpoint which returns information about the topic.
According to the doc we have Record endpoint
https://{address}/kafka/v3/clusters/{cluster_id}/topics/{topic_name}/records
to produce record to the given topic, but there is no Record endpoint for Consume.
hi,
just did some test and played around with the api
looks like there is no way (or I’m checking the wrong docs) to consume via the cloud rest api (at least for the moment)
according to the cloud console the produce part of the api is in preview so it may be somehow related
best,
michael
Thanks Michael, in feature there might be new API endpoint for Consume records from topics?
And You have mentioned Produce Record REST API is in Preview, we cant use the API endpoint in production environment?
I guess there might be one in future though I’m not aware of any plans
perhaps @rmoff knows more
you can use though it’s not recommended for production usage
best,
michael
Thanks Michael for your response.
@rmoff - Could you please let me know when REST Proxy API for Produce and Consume records ready to use in production environment?
Hi @mmuehlbeyer,
I have gone through Confluent Document page and noticed there is API endpoint for consuming message. in that example it shows like consuming message from localhost( "http://localhost:8082/consumers/cg1 | jq") below is the link reference
https://docs.confluent.io/platform/current/tutorials/examples/clients/docs/rest-proxy.html
In one of your message you have mentioned there is no REST Proxy API endpoint for Consuming message. if there is REST proxy API endpoint for consuming message from Confluent cloud, could you please share the link?.
Thanks,
Hi @nishyanthp
don’t mix the rest proxy with the rest api for confluent cloud.
afaik there is no consumer implementation at confluents cloud rest api.
nevertheless you’re free to connect the rest proxy to any kafka/confluent cluster.
hth,
michael
Hi @mmuehlbeyer,
Thanks for your reply, Want to make sure using REST Proxy API can we Produce and Consume Messages to kafka/confluent cluster? If so, could you please share any documentation link.
Thanks,
Nishanth P
hi @nishyanthp
are we still talking about a confluent cloud cluster?
best,
michael