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

[Feature][Sort] Support dynamic topic for KafkaLoadNode #6116

Closed
2 tasks done
yunqingmoswu opened this issue Oct 10, 2022 · 0 comments · Fixed by #6123
Closed
2 tasks done

[Feature][Sort] Support dynamic topic for KafkaLoadNode #6116

yunqingmoswu opened this issue Oct 10, 2022 · 0 comments · Fixed by #6123

Comments

@yunqingmoswu
Copy link
Contributor

Description

Support dynamic topic for KafkaLoadNode when the format of kafka is raw and the 'key.fields' is not specifyed.
This is mainly for some whole database migration scenarios, we assume that the upstream input data is a mixed schema of whole database migration, we ignore the real schema for now, receive the entire record in a binary raw data format, and fetch and parse its schema and data on the kafka sink side, and according to Some data values ​​are dynamically written to related topics.
Dynamic topic writing has some limitations:
1.The upstream data is raw format with a fixed inner format, only support [canal-json|debezium-json] at now
2.The 'key.fields' is not specifyed
3.It needs to specify 'topic-pattern' and 'inner.format' for dynamically extracting topic from data

Use case

No response

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