Skip to content

[Question] Why does the connector need two init methods? #4565

@hhuang1231

Description

@hhuang1231

Search before asking

  • I had searched in the issues and found no similar issues.

Question

image

In the org.apache.eventmesh.openconnect.SinkWorker#init(), just call org.apache.eventmesh.openconnect.api.connector.Connector#init(org.apache.eventmesh.openconnect.api.connector.ConnectorContext )(the second method framed below), then what is the role of the first method in the picture below.


org.apache.eventmesh.openconnect.SinkWorker#init()方法中,只会调用org.apache.eventmesh.openconnect.api.connector.Connector#init(org.apache.eventmesh.openconnect.api.connector.ConnectorContext)接口方法(如下图中框起来的第二个方法),那么下图中第一个方法是有什么作用。

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions