def get_kafka_topics(consumer):
    """Return a set with the name of topics found in kafka backend
    
    Args:
        consumer (obj): Kafka consumer object
    
    Returns:
        set(str): A set of strings (topic names)
    """

    return consumer.topics()