What about 
https://www.confluent.io/blog/http-and-rest-api-use-cases-and-architecture-with-apache-kafka/?
  Would that work for this use case?

    -Steve

> On Oct 12, 2021, at 8:32 AM, Luke Chen <show...@gmail.com> wrote:
> 
> Hi Pushkar,
>> I would like to know if kafka also provides any REST API which can
> be accessed by the test client (rather than making a TCP connection to
> broker) and then invoking those REST API to produce events onto topics?
> 
> --> Sorry, Kafka only provides TCP connection to brokers.
> 
> Thank you.
> Luke
> 
>> On Tue, Oct 12, 2021 at 8:26 PM Pushkar Deole <pdeole2...@gmail.com> wrote:
>> 
>> Hi All,
>> 
>> I am trying to load test our application that is a consumer of a kafka
>> topic.
>> I want to load test the application wherein my test tool (jmeter script) is
>> making a connection to kafka broker and then producing events onto topic
>> through producer API. This requires that the test client has connectivity
>> to the kafka broker through some VNET peering in cloud.
>> 
>> However I would like to know if kafka also provides any REST API which can
>> be accessed by the test client (rather than making a TCP connection to
>> broker) and then invoking those REST API to produce events onto topics?
>> 

Reply via email to