mkuthan commented on a change in pull request #6493: Support for request
logging in kafka emitter.
URL: https://github.com/apache/incubator-druid/pull/6493#discussion_r239109628
##########
File path:
extensions-contrib/kafka-emitter/src/main/java/org/apache/druid/emitter/kafka/KafkaEmitterModule.java
##########
@@ -56,3 +62,12 @@ public Emitter getEmitter(KafkaEmitterConfig
kafkaEmitterConfig, ObjectMapper ma
return new KafkaEmitter(kafkaEmitterConfig, mapper);
}
}
+
+@JsonAppend(
+ attrs = {
+ @JsonAppend.Attr(value = "clusterName")
+ }
+)
+abstract class ClusterNameMixin
Review comment:
DefaultRequestLogEvent.toMap returns empty map for good reason.
https://github.com/apache/incubator-druid/blob/2cdce2e2a6111acdd8fffd4ef61edc1c89f187bf/server/src/main/java/org/apache/druid/server/log/DefaultRequestLogEvent.java#L59
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]