Spring boot kafka動態加載安全密匙路徑代碼

String dir = ""; try { dir = URLDecoder.decode(KafkaConsumerConfig.class.getClassLoader() .getResource("").getPath(), "utf-8"); System.out.println("dir:" + dir); } catch (Unsuppor
相關文章
相關標籤/搜索