[STORM-3860] Decouple Topology Definition from Java Code

Open
#7,642 0 comments 0 reactions 0 assignees View on GitHub

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

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

imported-jira-issue rfe

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

  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.

More from apache/storm

All issues in apache/storm

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.