-
-
Notifications
You must be signed in to change notification settings - Fork 676
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
List topic messages is extreamly slow after upgrading from 0.25.0 to 0.25.1 #1939
Comments
Can you post your application.yml please ? I suspect that the |
Hello, I work with djeanprost, I reply while he is away. We use a basic application.yaml for akhq, with just a list of kafka connection and ldap server for authentication. We have no specific setting for topic-data.poll-timeout, so I guess it must use the default value, I see this in version 25.1:
do you suggess we should lower this value from default 10000 , Anyway, here below is ou application.yml:
|
I just noticed that pool-timeout was set to 1000 in 25.0 and is now 10000 in 25.1, as you suggest that must be the probleme. |
Please confirm it after testing with a lower poll-timeout and close the issue if it's ok for you |
@AlexisSouquiere seems ok now with this configuration :
Anyway, I would have expected to have a request duration around 1s instead of 13s. Could it be related to the number of partition we have to go through go fetch data (twelve in my case, so 12*1000=~13000) ?
|
Yes you are right. We had previously a single consumer for all the partitions and we switched in 0.25.0 to a consumer by partition. But I'm seeing that we are doing a classic sequential loop so AKHQ waits for an answer from the 1st partition before requesting the 2nd partition, etc. We should probably do a parallelStream instead. Labelling this issue as enhancement |
Hello
As a follow up of this conversation #1880, I'm raising this issue because I couldn't find any issue related to my problem.
Since upgrade to 0.25.1, this API became very slow. The topic I'm listing the content is empty.
2024-09-12 14:27:22,946 INFO io-executor-thread-6 org.akhq.log.access [Date: 2024-09-12T14:25:21.823535418Z] [Duration: 121123 ms] [Url: GET /api/dev/topic/facture.hospi.create/data] [Status: 200]
Same with 0.25.0 : Still the same empty topic.
2024-09-12 15:45:15,605 INFO io-executor-thread-13 org.akhq.log.access [Date: 2024-09-12T15:45:14.191436025Z] [Duration: 1415 ms] [Url: GET /api/dev/topic/facture.hospi.create/data] [Status: 200]
The text was updated successfully, but these errors were encountered: