def read_ccloud_config(config_file):
    """Read Confluent Cloud configuration for librdkafka clients"""

    conf = {}
    with open(config_file) as fh:
        for line in fh:
            line = line.strip()
            if line[0] != "#" and len(line) != 0:
                parameter, value = line.strip().split('=', 1)
                conf[parameter] = value.strip()

    return conf