stafftastic / jitsu-chart

MIT License
14 stars 7 forks source link

Customize the shards and replicaCount of clickhouse #48

Closed stouch closed 3 months ago

stouch commented 3 months ago

I want to change the shards number and replicaCount of the clickhouse databases. I try to do :


clickhouse:
  enabled: true
  shards: 1
  replicaCount: 2

  zookeeper: 
    enabled: true
    replicaCount: 1

but it does not seem to affect anything. How are we suppoed to do that?

stouch commented 3 months ago

My bad, it works well.

stouch commented 3 months ago

FYI, to get only 1 kafka controller, you can do :

kafka:
  extraConfig: |
    offsets.topic.replication.factor=1
    transaction.state.log.replication.factor=1
  controller:
    replicaCount: 1