bump versions (kafka, ktor, hoplite, simple-syslog, factorio, tstl, typed-factorio, kotka, gradle-node) and update code to compile
This commit is contained in:
parent
c1542dcb42
commit
c9ae17d418
10 changed files with 50 additions and 40 deletions
|
|
@ -1,6 +1,9 @@
|
|||
package dev.adamko.kafkatorio.server.socket
|
||||
|
||||
import com.github.palindromicity.syslog.AllowableDeviations
|
||||
import com.github.palindromicity.syslog.DefaultKeyProvider
|
||||
import com.github.palindromicity.syslog.Flat5424MessageHandler
|
||||
import com.github.palindromicity.syslog.NilPolicy
|
||||
import com.github.palindromicity.syslog.SyslogParser
|
||||
import com.github.palindromicity.syslog.SyslogParserBuilder
|
||||
import com.github.palindromicity.syslog.SyslogSpecification
|
||||
|
|
@ -38,10 +41,17 @@ class SyslogSocketServer(
|
|||
)
|
||||
|
||||
|
||||
private val syslogParser: SyslogParser = SyslogParserBuilder()
|
||||
.withDeviations(EnumSet.of(AllowableDeviations.PRIORITY, AllowableDeviations.VERSION))
|
||||
.forSpecification(SyslogSpecification.RFC_5424)
|
||||
.build()
|
||||
private val syslogParser: SyslogParser<Map<String, String>> =
|
||||
SyslogParserBuilder<Map<String, String>>()
|
||||
.forSpecification(SyslogSpecification.RFC_5424)
|
||||
.withSyslogBuilder(
|
||||
Flat5424MessageHandler(
|
||||
DefaultKeyProvider(),
|
||||
NilPolicy.OMIT,
|
||||
EnumSet.of(AllowableDeviations.PRIORITY, AllowableDeviations.VERSION),
|
||||
)
|
||||
)
|
||||
.build()
|
||||
|
||||
|
||||
private val _messages: MutableSharedFlow<SyslogMsg> = MutableSharedFlow()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue