Technoboy- opened a new pull request #12117: URL: https://github.com/apache/pulsar/pull/12117
Cherry pick #10631 . ## Motivation Currently the context relationship for function, source and sink is not well defined. This prevents some common features to be added once for all and creates some confusion, code duplication in the current repo. As demonstrated in the following graph, this PR changes the hierarchy from left to right. By introducing a common base context, it help solving some issues we are seeing. The base context provides common access to pulsar cluster, state, metrics, and meta-data to make sure all components can reuse it. context hierarchy ## Modifications Remove ConnectorContext interface. Introduce a BaseContext interface. Update existing Context, SourceContext, SinkContext interface to extend the new common interface. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
