Confluent-kafka-dotnet: Is Producer thread safe?

Created on 24 Oct 2019  路  2Comments  路  Source: confluentinc/confluent-kafka-dotnet

Description

Not an issue. I need some help.

  1. Is Producer thread safe?
  2. If application is multi-threaded, which is a better pattern singleton or transient?

I feel bad for opening an issue for questions like this. Could you point me to forum where I can get answers for questions like this?

Thanks in advance.

How to reproduce

Not an issue

question

Most helpful comment

  • the producer is thread safe.
  • it's very expensive to create / pull down a client, so you want a singleton.

thanks for opening - helps us now what people don't understand. we need to improve the docs.

All 2 comments

  • the producer is thread safe.
  • it's very expensive to create / pull down a client, so you want a singleton.

thanks for opening - helps us now what people don't understand. we need to improve the docs.

Thank you for replying so quickly.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

michael-huxtable picture michael-huxtable  路  4Comments

jeffreycruzana picture jeffreycruzana  路  3Comments

andreas-soroko picture andreas-soroko  路  3Comments

ThomasHjorslevFcn picture ThomasHjorslevFcn  路  3Comments

nitinpi picture nitinpi  路  4Comments