finish fixing the schema

This commit is contained in:
Adam 2022-01-09 15:07:36 +01:00
parent 524aa218fc
commit 4d94e2f395
6 changed files with 32 additions and 28 deletions

View file

@ -37,7 +37,7 @@ class KafkatorioTopology(
{ _, value, _ ->
// println("[$key] sending event:${value.eventType} to topic:${value.data.objectName()}")
when (value) {
is FactorioEvent<*> ->
is FactorioEvent ->
"kafkatorio.${value.packetType.name}.${value.data.objectName.name}"
is FactorioConfigurationUpdate ->
"kafkatorio.${value.packetType.name}"