背景描述: 今天在做个事情,遇到下面字符,就想将每个词,如cluster,zookeeper都单独的一行 [cluster, activemq, controller, brokers, zookeeper, admin, isr_change_notification, kafka_eagle, otter, controller_epoch, kafka-manager, consumers, SPARK_TASK_OFFSET_CONFIG, config, hbase] 所以,想了下,在…