apache / apache/dolphinscheduler

[Feature][python] Implementing java interfaces from python callback

Open
#8,260 1 comment 1 reaction 0 assignees View on GitHub
feature good idea help wanted plug-in Pyscheduler
Dominant language
Java
Stars
14.5k
Forks
5.1k
Avg merge
1d 21h
Merged PRs (30d)
29

Description

### Search before asking

- [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar feature requirement.

### Description

According to https://www.py4j.org/advanced_topics.html#implementing-java-interfaces-from-python-callback, we can add some interface we already define in Java code, so maybe we could add some {datasource, task, alert} plugin in python side

### Use case

_No response_

### Related issues

_No response_

### Are you willing to submit a PR?

- [ ] Yes I am willing to submit a PR!

### Code of Conduct

- [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)

Contributor guide

Open the contributing guide

Research direction

Start with the linked Py4J guide on implementing Java interfaces from Python callbacks, then inspect the existing Java interfaces for datasource, task, and alert plugins. Define which interfaces should be exposed on the Python side and what plugin behavior is required; done means the selected plugins can be implemented and used through Python callbacks.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, python
Domain
backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.