Update
This commit is contained in:
parent
6359d39a72
commit
3f53510fd9
@ -2,15 +2,20 @@ package no.iktdev.streamit.content.reader
|
||||
|
||||
import no.iktdev.streamit.content.reader.analyzer.PreferenceReader
|
||||
import org.springframework.boot.autoconfigure.SpringBootApplication
|
||||
import org.springframework.boot.runApplication
|
||||
import org.springframework.context.ApplicationContext
|
||||
|
||||
@SpringBootApplication
|
||||
class ReaderApplication
|
||||
|
||||
val preference = PreferenceReader().getPreference()
|
||||
private var context: ApplicationContext? = null
|
||||
fun getContext(): ApplicationContext? {
|
||||
return context
|
||||
}
|
||||
fun main(args: Array<String>) {
|
||||
|
||||
fun main(array: Array<String>) {
|
||||
|
||||
|
||||
context = runApplication<ReaderApplication>(*args)
|
||||
|
||||
}
|
||||
|
||||
|
||||
2
Reader/src/main/resources/application.properties
Normal file
2
Reader/src/main/resources/application.properties
Normal file
@ -0,0 +1,2 @@
|
||||
spring.output.ansi.enabled=always
|
||||
logging.level.org.apache.kafka=WARN
|
||||
Loading…
Reference in New Issue
Block a user