You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@storm.apache.org by "Bipin Prasad (Jira)" <ji...@apache.org> on 2022/04/27 16:44:00 UTC

[jira] [Created] (STORM-3860) Decouple Topology Definition from Java Code

Bipin Prasad created STORM-3860:
-----------------------------------

             Summary: Decouple Topology Definition from Java Code
                 Key: STORM-3860
                 URL: https://issues.apache.org/jira/browse/STORM-3860
             Project: Apache Storm
          Issue Type: Task
            Reporter: Bipin Prasad


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.




--
This message was sent by Atlassian Jira
(v8.20.7#820007)