Hello Kafka devs, We’re in the process of upgrading our Kafka clients from version 3.5.1 to 4.0.0, and have observed a significant increase in startup time related to plugin loading.
In version 3.5.1, plugin discovery completed in 30-40 seconds. After upgrading to 4.0.0, the same step takes over 5 minutes. We also tested version 3.9.0, where the delay was still 40 seconds. We were able to work around this issue by explicitly setting: plugin.discovery = service_load This brought the startup time back to expected levels. Still, we’d like to better understand: 1. What might be causing the longer discovery times in newer versions? 2. Is this expected behavior, or might it be a regression? 3. Are there any risks to relying on service_load for plugin discovery? Any insights or suggestions would be greatly appreciated. Thanks in advance, Love Almgren CONFIDENTIALITY NOTICE: This email message (and any attachment) is intended only for the individual or entity to which it is addressed. The information in this email is confidential and may contain information that is legally privileged or exempt from disclosure under applicable law. If you are not the intended recipient, you are strictly prohibited from reading, using, publishing or disseminating such information and upon receipt, must permanently delete the original and destroy any copies. We take steps to protect against viruses and other defects but advise you to carry out your own checks and precautions as Kambi does not accept any liability for any which remain. Thank you for your co-operation.