Skip to content

Configuration

Dependencies

  • Apache Zookeeper is used for reading the tenant configuration.
  • Apache Kafka is used for management of Kafka topics and automatic detection of new streams.
  • ASAB Remote Control is needed for creation of LMIO Parsecs.
  • ASAB Library is needed for uploading event lanes to Library.

Required configuration

[kafka]
bootstrap_servers=kafka-1:9092,kafka-2:9092,kafka-3:9092

[zookeeper]
servers=zookeeper-1:2181,zookeeper-2:2181,zookeeper-3:2181

[library]
providers=
    zk:///library
    # (more layers if needed...)

Optional configuration

Optionally, number of partitions and retention policy can be configured in [kafkaservice] section.

[kafkaservice]
enabled=true  # Can be disabled
partitions=6  # (default: 6) he default number of partitions of Kafka received, events and others topics
retention.ms_max=604800000  # (default: 7 days) The maximal retention of Kafka topics, decreased to optimal if higher
retention.ms_min=172800000  # (default: 2 days) The minimal retention of Kafka topics, increased to optimal if lower
retention.ms_optimal=259200000  # (default: 3 days) The optimal retention of Kafka topics