opensearch-project / opensearch-project/data-prepper
[BUG] Kafka Connect extension loaded even if not needed
Open
@dlvenable is already working on this.
Since Oct 27, 2023.
bug
- Dominant language
- Java
- Stars
- 374
- Forks
- 354
- Avg merge
- 3d 18h
- Merged PRs (30d)
- 8
Description
Describe the bug
When running a Data Prepper pipeline without any Kafka Connect plugins, I see logs for the Kafka extension.
2023-10-27T14:44:40.828 [main] INFO org.opensearch.dataprepper.plugins.kafka.extension.KafkaClusterConfigExtension - Applying Kafka Cluster Config Extension.
2023-10-27T14:44:40.829 [main] INFO org.opensearch.dataprepper.plugins.kafkaconnect.extension.KafkaConnectConfigExtension - Applying Kafka Connect Config Extension.
To Reproduce
Run a pipeline.
Expected behavior
If the Kafka extension is not needed, then don't load it. This should happen for all extensions.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.