[STORM-3860] Decouple Topology Definition from Java Code
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 20/100
- Issue type
- Feature
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- java
- Domain
- distributed-systems
Research direction
Start by tracing how the ComponentObject represents topology components and how the thrift topology definition relates to the serialized Java class. Define the boundaries between topology definition and deployment artifacts, including component type, class name, and jars. Done means topology definitions can be displayed and created without Java object serialization.
Written by the indexing model from the issue text.
Description
Current Topology definition is tightly integrated with Java code. Even though the topology definition is defined in thrift, the Java class itself is serialized at the ComponentObject level as a binary serialized java object.
If the ComponentObject contains, two fields:
- type of Component (shell or java..) - string
- name of class - string
then the topology definition can be decoupled from Java code (and serialization requirement). The topology can be displayed directly from the definition. And the definition can be created via other visualization tools.
Jars used by the topology can be part of deployment rather than topology definition.
In future, the same topology definition can be deployed in a different way, in a different environment (i.e. Kubernetes) in a much lightweight manner to achieve higher throughput per megabyte CPU.
Originally reported by bipinprasad, imported from: Decouple Topology Definition from Java Code
- status: Open
- priority: Major
- resolution: Unresolved
- imported: 2025-01-24
- Dominant language
- Java
- Stars
- 6.7k
- Forks
- 4k
- Avg merge
- 1d 5h
- Merged PRs (30d)
- 86
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- No contributing 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.
More from apache/storm
-
docker-to-squash.py: check_dependencies should find mksquashfs on PATHPossibly taken @linzch3 claimed this today. Open
Difficulty 1/5 1-3 hours Newbie friendliness 85/100
Maintainers usually reply within 1 day
-
docker-to-squash.py: get_working_dir creates a new directory on every call, so push-update cannot find pulled imagesPossibly taken @linzch3 claimed this 5 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
docker-to-squash.py does not run on Python 3Possibly taken A pull request linked to this issue is open or already merged. Open
Difficulty 4/5 3-5 days Newbie friendliness 54/100
Maintainers usually reply within 1 day
-
Difficulty 5/5 Over a week Newbie friendliness 30/100
apache/storm#9155 · 4 comments ·
Maintainers usually reply within 1 day
-
Kafka spout cannot commit past a message that always fails to deserializePossibly taken @linzch3 claimed this 10 days ago. Openbug
Difficulty 5/5 Over a week Newbie friendliness 35/100
apache/storm#9078 · 4 comments ·
Maintainers usually reply within 1 day
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 68/100
PCL-Community/PCL-CE#3907 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 73/100
Maintainers usually reply within 2 days
-
area/dependencies area/dependencies/quarkus backport/26.6 backport/26.8 kind/cve severity/critical source/scan-dependencies status/triage
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 2 days
-
chore
Difficulty 1/5 1-3 hours Newbie friendliness 88/100
lugassawan/swe-workbench#841 ·
-
needs-triage
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
EndlessPixel-Studio/FakePlayer-CE#155 ·
Maintainers usually reply within 1 day