Reputation: 469
I'm trying to connect kafka rest proxy to confluent cloud.
kafka-rest-start ccloud-kafka-rest.properties
Here is my file with properties ccloud-kafka-rest.properties
client.ssl.endpoint.identification.algorithm=https
client.sasl.mechanism=PLAIN
consumer.request.timeout.ms=20000
bootstrap.servers=***-****.us-east-1.aws.confluent.cloud:9092
consumer.retry.backoff.ms=500
client.security.protocol=SASL_SSL
id=kafka-rest-with-ccloud
producer.acks=1
admin.request.timeout.ms=50000
client.sasl.jaas.config=org.apache.kafka.common.security.plain.PlainLoginModule required username="***" password="***";
After I run kafka-rest-start it tries connect to zookeeper (zookeeper.connect = localhost:2181).
ERROR Server died unexpectedly: (io.confluent.kafkarest.KafkaRestMain:63) org.I0Itec.zkclient.exception.ZkTimeoutException: Unable to connect to zookeeper server 'localhost:2181' with timeout of 30000 ms
Also I tried to set zookeeper host empty, It didn't help. How to turn off connecting to zookeeper?
Upvotes: 0
Views: 485