def METHOD_NAME(
    settings: Settings, kafka: str, kafka_topics: Tuple[str, str]
) -> Settings:
    input_topic, output_topic = kafka_topics
    settings.kafka_enabled = True
    settings.kafka_servers = kafka
    settings.kafka_topic_input = input_topic
    settings.kafka_topic_output = output_topic
    return settings