Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I use this library to connect to Kafka in a scenario with a large amount of data. How can I know whether the current performance is sufficient? #2342

Closed
kslz opened this issue Dec 9, 2022 · 2 comments

Comments

@kslz
Copy link

kslz commented Dec 9, 2022

sorry my English is not good

I use this library. I want to count the number of topics in an hour. But I don't know whether I will block when running the program because of the large amount of data, so I can't count all the times of topic when I stop the task. Is there any way to know whether the current performance is sufficient?

Do I need to start multiple KafkaConsumers with multiple processes?

@kocic11
Copy link

kocic11 commented Mar 23, 2023

If you have a topic with multiple partitions, you can have one consumer per partition per consumer group, which will help with the performance.

Here, you can find more about this.

@kslz
Copy link
Author

kslz commented Mar 24, 2023

If you have a topic with multiple partitions, you can have one consumer per partition per consumer group, which will help with the performance.

Here, you can find more about this.

thanks it help me a lot

@kslz kslz closed this as completed Mar 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants