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

How to set nameServerAddress #110

Open
cj495840252 opened this issue Mar 11, 2024 · 1 comment
Open

How to set nameServerAddress #110

cj495840252 opened this issue Mar 11, 2024 · 1 comment

Comments

@cj495840252
Copy link

While I create table from rocketmq
I can't find which parameter can set the name server address
it tips only support these parameters

        EnvironmentSettings settings = EnvironmentSettings.inStreamingMode();
        TableEnvironment env = TableEnvironment.create(settings);
        System.out.println("test");
        env.executeSql(
                "CREATE TABLE rocketmq_source (\n" +
                        "  `user_id` STRING\n" +
                        ") WITH (\n" +
                        "  'connector' = 'rocketmq',\n" +
                        "  'nameServerAddress' = 'localhost:9876',\n" +
                        "  'rocketmq.source.topic' = 'test',\n" +
                        "  'rocketmq.source.group' = 'test'\n" +
                        ");"
        );
        env.executeSql("show tables").print();

        env.executeSql("select * from rocketmq_source").print();

test

@humkum
Copy link
Contributor

humkum commented Mar 12, 2024

It should be rocketmq.client.endpoints
image

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

2 participants