druid/extensions-contrib/kafka-emitter
Bartosz Mikulski 0bc9f9f303
#12912 Fix KafkaEmitter not emitting queryType for a native query (#12915)
Fixes KafkaEmitter not emitting queryType for a native query. The Event to JSON serialization was extracted to the external class: EventToJsonSerializer. This was done to simplify the testing logic for the serialization as well as extract the responsibility of serialization to the separate class.

The logic builds ObjectNode incrementally based on the event .toMap method. Parsing each entry individually ensures that the Jackson polymorphic annotations are respected. Not respecting these annotation caused the missing of the queryType from output event.
2022-08-24 14:07:00 +05:30
..
src #12912 Fix KafkaEmitter not emitting queryType for a native query (#12915) 2022-08-24 14:07:00 +05:30
pom.xml Bump up the versions (#12480) 2022-04-27 14:28:20 +05:30