confluentinc / ksql

The database purpose-built for stream processing applications.
https://ksqldb.io
Other
89 stars 1.04k forks source link

ksqlDB exited with code 255 after restart the docker compose #5623

Open samyujialiu opened 4 years ago

samyujialiu commented 4 years ago

HI there: We are running our kafka on docker compose. It works fine if Kafka starts the first time, while KSQLDB crashed if we restart it. Now, the only solution is delete the persistent files (zookeeper and broker) and restart them. Can you pls help us find the problem? Thanks a lot The docker compose are below:

image

version: '3.3' services: zookeeper: image: confluentinc/cp-zookeeper:${CONFLUENT_VERSION} hostname: zookeeper ports:

big-andy-coates commented 4 years ago

Hi @samyujialiu,

Can I ask what you've done to investigate the issue so far?

The error message is saying that the command topic (with a name I can't copy here as its in an image), doesn't exist.

Have you confirmed it does or doesn't exist in the Kafka cluster?

If it does exist, it could be an ACLs problem if you have them enabled. Does the ksqlDB user have permissions to describe the cluster and/or topic?