mucking about trying to get camel-kafka-connect websockets working
This commit is contained in:
parent
83c991842f
commit
abada0bf4b
14 changed files with 122 additions and 29 deletions
|
|
@ -56,7 +56,10 @@ fun main() {
|
|||
// KXS.asA<FactorioEvent<FactorioObjectData>>(value)
|
||||
}
|
||||
.to(
|
||||
{ key, value, recordContext -> value.data.objectName },
|
||||
{ key, value, recordContext ->
|
||||
// println("[$key] sending event:${value.eventType} to topic:${value.data.objectName()}")
|
||||
value.data.objectName
|
||||
},
|
||||
Produced.with(Serdes.String(), JsonSerdes)
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue