doc-exports/docs/dms/umn/kafka-faq-200426033.html
Chen, Junjie ca9677b121 DMS UMN 20230201 Version
Reviewed-by: Antonova, Ekaterina <ekantono@noreply.gitea.eco.tsi-dev.otc-service.com>
Co-authored-by: Chen, Junjie <chenjunjie@huawei.com>
Co-committed-by: Chen, Junjie <chenjunjie@huawei.com>
2024-07-22 13:20:04 +00:00

1.5 KiB

Do I Need to Create Consumer Groups, Producers, and Consumers for Kafka Instances?

  • When parameter auto.create.groups.enable is set to true, you do not need to create a consumer group, producer, or consumer because they are generated automatically when you use the instance.
  • When parameter auto.create.groups.enable is set to false, you need to create a consumer group, but do not need to create a producer or consumer.

To change the auto.create.groups.enable setting, see Modifying Kafka Instance Configuration Parameters.

For details about producing and consuming messages after connecting to a Kafka instance, see Connecting to Kafka Using the Client (Plaintext Access).