1. Kafka Consumer!
-Avoid creating your own threads for Kafka consumers within the code. It is recommended to use the built-in job mechanism and Kafka interface. You can start a job instance for
each partition. Examples can be found in the COE KB.
-Perform “commit” every ‘X’ number of transactions. ‘X’ parameter should be tuned.
1. Kafka Consumer!
-Avoid creating your own threads for Kafka consumers within the code. It is recommended to use the built-in job mechanism and Kafka interface. You can start a job instance for
each partition. Examples can be found in the COE KB.
-Perform “commit” every ‘X’ number of transactions. ‘X’ parameter should be tuned.