Skip to content

[Enhancement] Enhancement for http source/sink connector #5069

Description

@xwm1992

Search before asking

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

Enhancement Request

Since the http source/sink connector uses a queue to achieve asynchronous decoupling, that is, after the source connector receives the request, it puts it into the queue and returns the result. However, it does not know the execution status of the sink side. We need to provide a way to achieve this. The result callback on the sink side is returned to the source side.

Describe the solution you'd like

connectorRecord will have a callback and the sink side will call the onSuccess or onException which are mapped to the commit and onException methods of the source connector respectively.

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions