message: Add ksqlDB as a service to docker-compose file kafka-ui-connectors.yaml
diff: @@ -22,6 +22,7 @@ services:
  KAFKA_CLUSTERS_0_SCHEMAREGISTRY: http://schemaregistry0:8085
  KAFKA_CLUSTERS_0_KAFKACONNECT_0_NAME: first
  KAFKA_CLUSTERS_0_KAFKACONNECT_0_ADDRESS: http://kafka-connect0:8083
  + KAFKA_CLUSTERS_0_KSQLDBSERVER: http://ksqldb:8088
  KAFKA_CLUSTERS_1_NAME: secondLocal
  KAFKA_CLUSTERS_1_BOOTSTRAPSERVERS: kafka1:29092
  KAFKA_CLUSTERS_1_ZOOKEEPER: zookeeper1:2181
  @@ -172,3 +173,23 @@ services:
  volumes:
  - ./connectors:/connectors
  command: bash -c '/connectors/start.sh'
  +
  + ksqldb:
  + image: confluentinc/ksqldb-server:0.18.0
  + depends_on:
  + - kafka0
  + - kafka-connect0
  + - schemaregistry0
  + ports:
  + - 8088:8088
  + environment:
  + KSQL_CUB_KAFKA_TIMEOUT: 120
  + KSQL_LISTENERS: http://0.0.0.0:8088
  + KSQL_BOOTSTRAP_SERVERS: PLAINTEXT://kafka0:29092
  + KSQL_KSQL_LOGGING_PROCESSING_STREAM_AUTO_CREATE: "true"
  + KSQL_KSQL_LOGGING_PROCESSING_TOPIC_AUTO_CREATE: "true"
  + KSQL_KSQL_CONNECT_URL: http://kafka-connect0:8083
  + KSQL_KSQL_SCHEMA_REGISTRY_URL: http://schemaregistry0:8085
  + KSQL_KSQL_SERVICE_ID: my_ksql_1
  + KSQL_KSQL_HIDDEN_TOPICS: '^_.*'
  + KSQL_CACHE_MAX_BYTES_BUFFERING: 0
  \ No newline at end of file
  