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

Invalid value for configuration starrocks.password: String must be non-empty #15

Open
alberttwong opened this issue Apr 18, 2024 · 1 comment

Comments

@alberttwong
Copy link

By default, StarRocks is "root" with no password. We should allow blank / nothing passwords

curl -i localhost:8083/concurl -i localhost:8083/connectors/ -H "Content-Type: application/json" -X POST -d '{ "name":"starrocks-kafka-connector", "config":{ "connector.class":"com.starrocks.connector.kafka.StarRocksSinkConnector", "topics":"tpcds.public.customer", "key.converter":"org.apache.kafka.connect.json.JsonConverter", "value.converter":"org.apache.kafka.connect.json.JsonConverter", "key.converter.schemas.enable":"true", "value.converter.schemas.enable":"false", "starrocks.http.url":"starrocks-fe:8030", "starrocks.topic2table.map":"tpcds.public.customer:customer", "starrocks.username":"root", "starrocks.password":" ", "starrocks.database.name":"tpcds", "sink.properties.strip_outer_array":"true" } }'
HTTP/1.1 400 Bad Request
Date: Thu, 18 Apr 2024 16:29:48 GMT
Content-Type: application/json
Content-Length: 296
Server: Jetty(9.4.52.v20230823)

{"error_code":400,"message":"Connector configuration is invalid and contains the following 1 error(s):\nInvalid value  for configuration starrocks.password: String must be non-empty\nYou can also find the above list of errors at the endpoint `/connector-plugins/{connectorType}/config/validate`"}[kafka@13160e022df3 ~]$ 
@alberttwong
Copy link
Author

#18

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