# As shown in the above example, each subsection *must* contain at least two special options, namely:
# - module, whose value represents the fully qualified module name containing the class that implements a given measures store, and
# - class, whose value represents the name of the class that implements a given measures store.
measures_stores = file, kafka
measures_stores = file, kafka, redis
# Settings related to file measures stores
...
...
@@ -74,4 +74,20 @@ basepath = /tmp/easycloud
module = core.measures_store.kafka
class = KafkaStore
# A comma-separated list of broker servers
# Default: localhost:9092
brokers = localhost:9092
# The Kafka topic where to publish measures collected from cloud platforms
# Defaut: easycloud
topic = easycloud
[measures_store.redis]
module = core.measures_store.redis
class = RedisStore
# The URL to the Redis server (see `redis.from_url()` at https://redis-py.readthedocs.io/en/latest/)
# Default: redis://localhost:6379/
url = redis://localhost:6379/
# The db parameter is the database number. You can manage multiple databases in Redis at once, and each is identified by an integer. The max number of databases is 16 by default