kafka-ops / julie

A solution to help you build automation and gitops in your Apache Kafka deployments. The Kafka gitops!
MIT License
419 stars 114 forks source link

Should topologies with only topics be supported? #53

Closed purbon closed 3 years ago

purbon commented 4 years ago

Currently it is possible to use a topology with only topics. While this might be of interest for setting up environments, it is clearly not a good practise for production like environments.

example topology:

---
team: "team"
source: "source"
projects:
  - name: "foo"
    topics:
      - name: "foo"
        config:
          replication.factor: "1"
          num.partitions: "1"
      - dataType: "avro"
        name: "bar"
        config:
          replication.factor: "1"
          num.partitions: "1"
  - name: "bar"
    topics:
      - dataType: "avro"
        name: "bar"
        config:
          replication.factor: "1"
          num.partitions: "1"

questions:

thoughts?

purbon commented 4 years ago

@kikulikov @jeanlouisboudart and others, thoughts?

Fobhep commented 4 years ago

imho this is a valuable feature - so if I would love to have this including the warning

purbon commented 4 years ago

but clearly is good for non-prod environments. End of the day we aim to set ACLs in prod, isn't?

purbon commented 3 years ago

This is possible as you can see from https://github.com/kafka-ops/kafka-topology-builder/blob/master/src/test/resources/descriptor-only-topics.yaml