property use list
application.yml
redis:
app:
enable: true
disableList: >
kafkaController.test,
RedisTestController.testUseRedis
test.kt
@Value("\${redis.app.disableList:null}")
private var redisDisableList: List<String>? = null