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

Connection to ksqlDB with cp-ksqldb-cli:7.7.0 does not work but works with ksqldb-cli:029.0 #10438

Open
mrt181 opened this issue Sep 20, 2024 · 0 comments

Comments

@mrt181
Copy link

mrt181 commented Sep 20, 2024

Describe the bug
I am running this command to connect to my ksqldb.

> podman run --interactive --tty --rm docker.io/confluentinc/ksqldb-cli:0.29.0 \
        ksql \
        -u <username> \
        -p <password> \
        https://<my-cluster>.confluent.cloud:443

                  ===========================================
                  =       _              _ ____  ____       =
                  =      | | _____  __ _| |  _ \| __ )      =
                  =      | |/ / __|/ _` | | | | |  _ \      =
                  =      |   <\__ \ (_| | | |_| | |_) |     =
                  =      |_|\_\___/\__, |_|____/|____/      =
                  =                   |_|                   =
                  =        The Database purpose-built       =
                  =        for stream processing apps       =
                  ===========================================

Copyright 2017-2022 Confluent Inc.

CLI v0.29.0, Server v7.7.0-672 located at https://<my-cluster>.confluent.cloud

WARNING: CLI and server version don't match. This may lead to unexpected errors.
         It is recommended to use a CLI that matches the server version.

Server Status: RUNNING

Having trouble? Type 'help' (case-insensitive) for a rundown of how things work!

ksql>

All good. But when I run with a newer version I get this instead.

> podman run --interactive --tty --rm docker.io/confluentinc/cp-ksqldb-cli:7.7.0 \
        ksql \
        -u <username> \
        -p <password> \
        https://<my-cluster>.confluent.cloud:443
At most 1 arguments may be specified but 2 were found
See the -h or --help flags for usage information

Both versions have the same --help output.

To Reproduce
Steps to reproduce the behavior, include:

  1. The version of KSQL -> 7.7.0.
  2. connect using kdsldb-cli:0.29.0 to check that it works
  3. connect using cp-ksqldb-cli:7.7.0 to check that it doesn't work

Expected behavior
The connection should work with the new version.

Actual behaviour
see bug description

@mrt181 mrt181 changed the title Connection to ksqlDB with cp-ksqldb-cli does not work but work with ksqldb-cli:029.0 Connection to ksqlDB with cp-ksqldb-cli:7.7.0 does not work but works with ksqldb-cli:029.0 Sep 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant