'Strimzi Apache Kafka operator doesn't respect auto.create.topics.enable

I created a kafka cluster with strimzi operator (version 0.28.0) with the following settings:

spec:
  kafka:
    config:
      log.retention.hours: 5
      auto.create.topics.enable: false
      default.replication.factor: 3
      min.insync.replicas: 2

Assuming that no topic will be created automatically, I added two topic definitions:

  1. _schemas for schema registry
  2. __consumer_offsets for consumer groups

However after launching the cluster, I see two auto created topics as well:

  1. __strimzi_store_topic which is represented by strimzi-store-topic---effb8e3e057afce1ecf67c3f5d8e4e3ff177fc55 Kubernetes resource.
  2. strimzi-topic-operator-kstreams-topic-store-changelog which is represented by strimzi-topic-operator-kstreams-topic-store-changelog---b75e702040b99be8a9263134de3507fc0cc4017b Kubernetes resource.

The hash appended to resource names shows that they have been created outside (without using kind: KafkaTopic CRD)



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source