object PropertiesUtil {
val is: InputStream = ClassLoader.getSystemResourceAsStream("hbase_consumer.properties")
var properties =new Properties
properties.load(is)
//根據(jù)key 取出來對應的值
? def getProperty(key:String):String = {
val str:String =properties.getProperty(key)
str
}
}