Dear all,

I am trying to send message to kafka using kafka-Net (c#).

I want to send message synchronously

i am using below code to achieve this


*var x= client.SendMessageAsync("dynamictopic1", new[] { message });*
*var response = await x;*

Now the response contains the offset details

If i am using .wait() methods its return only bool not offset detail

Is there any way to achieve to send message synchronously without using
await keyword


Thanks,
Sugumar J

Reply via email to