-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Unable to start ksqlDB, #5116
Comments
I just ran into that issue. I think it's because KSQL does ksql/ksqldb-engine/src/main/java/io/confluent/ksql/services/KafkaClusterUtil.java Line 49 in c49b86c
https://issues.apache.org/jira/browse/KAFKA-7922 |
You mention you're using Kafka 2.11, I think that's the version of Scala that your brokers are using. The most recent version of Kafka as of this comment is 2.5. |
Hello, |
Hi,
so is there any workaround this or the only option to run KSQLDB is having Kafka 2.3+ ? Best Regards, |
Also run into issue, running Kafka brokers 1.1... Can't use ksqlDB? |
@pimpelsang @tarekabouzeid @shekp can you all try running the ksqlDB server with the following config set to true/false |
Hi @stevenpyzhang , This configuration successfully started ksqlDB server for me, will continue testing ksqlDB functionalities as well, thanks so much for such important input, i really suggest that this to be added to confluent official documentation in order to make ksqlDB runs against kafka versions older than 2.3. Best Regards, |
The server isn't supposed to not start up in these cases, the behavior was fixed in #5617 and the fix should be in starting from ksqlDB 0.10.0 |
Just a feedback: The
So, change to |
Hi, @RafaelGSS I am trying to find this file in order to change it because I have the same issue for the confluent-6.1.1 platform. Could you please tell me whether you are talking about the "confluent-6.1.1/etc/ksqldb/ksql-server.properties" file where this "ksql.access.validator.enable=off" setting is? |
Hello,
Could you please help, I am trying to install and start ksqlDB using docker-compose with already installed Apache Kafka version 2.11
Apache Kafka uses SASL PLAIN mechanism.
This is my docker-compose.yml file content:
After starting with command - docker-compose up, I am faced with message
ksqldb-server | [2020-04-20 13:51:06,507] WARN The configuration 'sasl.jaas.config' was supplied but isn't a known config. (org.apache.kafka.clients.admin.AdminClientConfig:355) ksqldb-server | [2020-04-20 13:51:06,507] WARN The configuration 'sasl.jaas.config' was supplied but isn't a known config. (org.apache.kafka.clients.admin.AdminClientConfig:355) ksqldb-server | [2020-04-20 13:51:07,450] ERROR Failed to start KSQL (io.confluent.ksql.rest.server.KsqlServerMain:63) ksqldb-server | io.confluent.ksql.util.KsqlServerException: Could not get Kafka authorized operations! ksqldb-server | at io.confluent.ksql.services.KafkaClusterUtil.isAuthorizedOperationsSupported(KafkaClusterUtil.java:54) ksqldb-server | at io.confluent.ksql.security.KsqlAuthorizationValidatorFactory.create(KsqlAuthorizationValidatorFactory.java:52) ksqldb-server | at io.confluent.ksql.rest.server.KsqlRestApplication.buildApplication(KsqlRestApplication.java:711) ksqldb-server | at io.confluent.ksql.rest.server.KsqlRestApplication.buildApplication(KsqlRestApplication.java:629) ksqldb-server | at io.confluent.ksql.rest.server.KsqlServerMain.createExecutable(KsqlServerMain.java:101) ksqldb-server | at io.confluent.ksql.rest.server.KsqlServerMain.main(KsqlServerMain.java:59) ksqldb-server | Caused by: java.util.concurrent.ExecutionException: org.apache.kafka.common.errors.UnsupportedVersionException: Attempted to write a non-default includeClusterAuthorizedOperations at version 7 ksqldb-server | at org.apache.kafka.common.internals.KafkaFutureImpl.wrapAndThrow(KafkaFutureImpl.java:45) ksqldb-server | at org.apache.kafka.common.internals.KafkaFutureImpl.access$000(KafkaFutureImpl.java:32) ksqldb-server | at org.apache.kafka.common.internals.KafkaFutureImpl$SingleWaiter.await(KafkaFutureImpl.java:89) ksqldb-server | at org.apache.kafka.common.internals.KafkaFutureImpl.get(KafkaFutureImpl.java:260) ksqldb-server | at io.confluent.ksql.services.KafkaClusterUtil.isAuthorizedOperationsSupported(KafkaClusterUtil.java:52) ksqldb-server | ... 5 more ksqldb-server | Caused by: org.apache.kafka.common.errors.UnsupportedVersionException: Attempted to write a non-default includeClusterAuthorizedOperations at version 7
The text was updated successfully, but these errors were encountered: