apache / apache/hop

[Bug]: Importing Kafka Consumer gives wrong pipelinePath

Open
#4,107 0 comments 0 reactions 0 assignees View on GitHub
awaiting triage Import P3
Dominant language
Java
Stars
1.5k
Forks
476
Avg merge
18h 32m
Merged PRs (30d)
216

Description

### Apache Hop version?

2.9.0

### Java version?

11.0.15

### Operating system

Windows

### What happened?

When importing a Pentaho/kettle Kafka Consumer step, the Hop transform has the pipelinePath without the file extension (.hpl). This gives an error when clicking on the Kafka Consumer transform and trying to open the "Open: Kafka Pipeline":
```
HopException:
Unable to load pipeline [{0}] : can't find directory

The pipeline path file:///C:/Users/xxxx/IdeaProjects/mhc-data-extractor/Hop/Projects/mhcde/wfpl/yyy/yyPhase1KafkaSub is invalid, and will not run successfully.
```
When I add the file extension (.hpl), the error doesn't show up and clicking on it opens the Kafka Pipeline

### Issue Priority

Priority: 3

### Issue Component

Component: Import

Contributor guide

Open the contributing guide

Research direction

Reproduce the import of a Pentaho/Kettle Kafka Consumer step on Windows and inspect the resulting pipelinePath. Compare the imported path with the referenced .hpl file, then verify that the Kafka Pipeline opens successfully without manually adding the extension.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, kafka
Domain
data-engineering
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.