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][Connector-V2] Pulsar support user-defined schema #2436

Merged
merged 2 commits into from
Aug 30, 2022

Conversation

ashulin
Copy link
Member

@ashulin ashulin commented Aug 17, 2022

Purpose of this pull request

Check list

@@ -222,7 +225,9 @@ private void setPartitionDiscoverer(Config config) {

private void setDeserialization(Config config) {
String format = config.getString("format");
// TODO: json format
// TODO: format SPI
SeaTunnelRowType rowType = SeatunnelSchema.buildWithConfig(config.getConfig(SeatunnelSchema.SCHEMA)).getSeaTunnelRowType();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use fields as config key? reference #2469

example:

SeaTunnelRowType rowType = SeatunnelSchema.buildWithConfig(config).getSeaTunnelRowType();

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SeatunnelSchema does not support your notation yet;

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can merge from dev again. Then you can use this feature.

Copy link
Member

@Hisoka-X Hisoka-X left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Hisoka-X Hisoka-X merged commit 16cabe6 into apache:dev Aug 30, 2022
TyrantLucifer pushed a commit to TyrantLucifer/incubator-seatunnel that referenced this pull request Aug 30, 2022
* [Improve][Connector-V2] Pulsar support user-defined schema

* import the constant
@ashulin ashulin deleted the hotfix/pulsar-row-type branch September 2, 2022 06:31
MRYOG pushed a commit to MRYOG/incubator-seatunnel that referenced this pull request Sep 8, 2022
* [Improve][Connector-V2] Pulsar support user-defined schema

* import the constant
MRYOG pushed a commit to MRYOG/incubator-seatunnel that referenced this pull request Sep 15, 2022
* [Improve][Connector-V2] Pulsar support user-defined schema

* import the constant
MRYOG pushed a commit to MRYOG/incubator-seatunnel that referenced this pull request Sep 16, 2022
* [Improve][Connector-V2] Pulsar support user-defined schema

* import the constant
TyrantLucifer pushed a commit to TyrantLucifer/incubator-seatunnel that referenced this pull request Sep 18, 2022
* [Improve][Connector-V2] Pulsar support user-defined schema

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

Successfully merging this pull request may close these issues.

None yet

3 participants