Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Improve][DataProxy] Add event handling support for FlumeEvent type #8311

Closed
2 tasks done
gosonzhang opened this issue Jun 25, 2023 · 0 comments · Fixed by #8312
Closed
2 tasks done

[Improve][DataProxy] Add event handling support for FlumeEvent type #8311

gosonzhang opened this issue Jun 25, 2023 · 0 comments · Fixed by #8312

Comments

@gosonzhang
Copy link
Contributor

Description

After the Source module writes data to the Channel, if the main Channel is full, the event object will be written to the file channel, and the event read from the file channel by MessageQueueZoneSink.process()[1] will become a FlumeEvent. At this time, we need to convert it to SimpleEvent or ProxyEvent to process data correctly

  1. https://github.com/apache/inlong/blob/master/inlong-dataproxy/dataproxy-source/src/main/java/org/apache/inlong/dataproxy/sink/mq/MessageQueueZoneSink.java#L212
    image

InLong Component

InLong DataProxy

Are you willing to submit PR?

  • Yes, I am willing to submit a PR!

Code of Conduct

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

Successfully merging a pull request may close this issue.

1 participant