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

[INLONG-441] An error occurred when using the Tubemq class to create a sink table #1030

Closed
dockerzhang opened this issue Jul 28, 2021 · 0 comments
Milestone

Comments

@dockerzhang
Copy link
Contributor

model:

tubemq-connector-flink

code:

Tubemq tubemq = new Tubemq().master(masterAddress).topic(topic).property("some key", "some value");
ConnectTableDescriptor ctd = tabEnv.connect(tubemq).inAppendMode().withFormat(format).withSchema(schema);

TableSink tableSink = TableFactoryService.find(TableSinkFactory.class, ctd.toProperties()).createTableSink(ctd.toProperties());

error message:

Caused by: org.apache.flink.table.api.ValidationException: Could not find required property 'connector.group'. at org.apache.flink.table.descriptors.DescriptorProperties.validateOptional(DescriptorProperties.java:1353) at org.apache.flink.table.descriptors.DescriptorProperties.validateString(DescriptorProperties.java:780) at org.apache.flink.connectors.tubemq.TubemqValidator.validate(TubemqValidator.java:73) at org.apache.flink.connectors.tubemq.TubemqTableSourceSinkFactory.validateProperties(TubemqTableSourceSinkFactory.java:222) at org.apache.flink.connectors.tubemq.TubemqTableSourceSinkFactory.createStreamTableSink(TubemqTableSourceSinkFactory.java:185)

cause analysis:

due to parameter verification.

JIRA link - [INLONG-441] created by leno
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

No branches or pull requests

1 participant