opensearch-project / opensearch-project/data-prepper

[BUG] Kafka Connect extension loaded even if not needed

Open
#3,555 1 comment 0 reactions 1 assignee View on GitHub

@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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.